r/statistics • • Aug 26 '16

xkcd: Linear Regression

http://xkcd.com/1725/
190 Upvotes

12 comments sorted by

20

u/jmcq Aug 26 '16

Stolen from the r/math posting, here's a guess the correlation game: http://guessthecorrelation.com/

2

u/[deleted] Aug 26 '16

That game is awesome when you want to impress your friends by doing something anybody could do after 5 minutes of practice.

6

u/jmcq Aug 26 '16

Haha yeah I was surprised at how much better I got after just a few tries.

2

u/[deleted] Aug 26 '16

Still fun though :)

2

u/punaisetpimpulat Aug 27 '16

The first time I tried it, I failed miserably. I lost all three hearts in no time. However, next time around I was much better and I go a score of 70.

3

u/MindlessTime Aug 30 '16

Let's extrapolate from that: http://xkcd.com/605/

2

u/xkcd_transcriber Aug 30 '16

Original Source

Mobile

Title: Extrapolating

Title-text: By the third trimester, there will be hundreds of babies inside you.

Comic Explanation

Stats: This comic has been referenced 981 times, representing 0.7908% of referenced xkcds.


xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete

5

u/xkcd_transcriber Aug 26 '16

Image

Mobile

Title: Linear Regression

Title-text: The 95% confidence interval suggests Rexthor's dog could also be a cat, or possibly a teapot.

Comic Explanation

Stats: This comic has been referenced 4 times, representing 0.0032% of referenced xkcds.


xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete

-13

u/lord_dumbello Aug 26 '16

I think the xkcd guy(s?) are slipping. R-squared values are generally useless but even so R2 = 0.06 pretty much means you should immediately throw out the regression. I wonder if they got R2 confused with a p-value.

Also, it looks to me like their regressions is just plain WRONG. I took their image and with Photoshop backed out the coordinates of each data point (assuming bottom left was 0,0) and then ran a linear regression using the data. The R-squared is 0.02 (even worse) and the coefficient on the slope isn't even close to significant.

Here are my results

15

u/MJGSimple Aug 26 '16

The point is that the correlation is impossible to tell.

Also, I'm pretty sure he just freehands these. I'd say drawing a correlation free hand within 0.04 is pretty decent.

Lastly, what sorts of work do you do that you have high R2 ? Lots of social science work has really low R2.

3

u/lord_dumbello Aug 26 '16

Oh that's his point? I thought it was more about not trusting linear regressions (which goes beyond just R2 and correlation). The hover-text talks about confidence intervals. It seems to me that the plot he chose makes it pretty easy to see correlation (it's not there).

If he did freehand it and guessed the R2 that is pretty impressive.

I'm an Economist so I don't really run into high R2 's much unless I'm missing some autocorrelation. But even so 0.06 (or 0.02) is pretty low. Not that the R2 really captures much anyway and is so often over-emphasized.

-2

u/punaisetpimpulat Aug 27 '16

And the funny thing about linear gegression is, that some times the p-value tells you that everything is highly significant, but R² tells you the model is just rubbish.