## Change in Egyptian skull sizes: -4000 to 150

I often read statistics textbooks. In textbooks, they often use example datasets, some of which are interesting in themselves (e.g. the Boston dataset). In this case, I am reading An…

## R functions for analyzing missing data

I'm reading Missing Data: A Gentle Introduction and it mentions various methods to understand how data are missing in a given dataset. The book, however, is light on actual tools.…

## Estimation of piecewise linear functions

Suppose you have some dataset where you know or suspect that the real generating function is actually a piecewise function with k pieces each of which is a standard linear…

## A more intuitive explanation of the correlation

Someone asks on Reddit: Can someone intuitively explain the correlation formula? I know what the Cov(X,Y) means. It tells you if the relationship between the variables X and Y is…

## Scraping: temperature and precipitation data for all NOAA weather stations

Some people claim that the climate has direct causal influences on income, cognitive ability and so on. Usually, these academics just regress IQ on climate variables at the country or…