Some time back the animations below went sort of viral in the statistical programming community. In them, economics professor Nick Huntington-Klein demonstrates step-by-step how statistical tests estimate effect sizes.

You will find several other animations in Nick’s original blog, and the associatedtwitter thread.

Moreover, if you are interested in the R code to generate these animations, have a look at this github repository for the causalgraphs.

## Controlling for a variable

## Matching on a Variable

## Differences in differences

## Link to the Twitter thread:

### Like this:

Like Loading...

*Gerelateerd*

Super cool. Not sure I understand the methods but it appears to be some kind of regression, at least in part. I’ve been working on graphics in r but this is way more advanced than what I’m doing. Thanks for sharing!

LikeLike