https://nerdsonwallstreet.typepad.com/my_weblog/files/datami...
Abusing linear regression to make a point
11–20 of 50 posts
Re: Abusing linear regression to make a point
#12> I said that if you had reason to believe in a linear relationship, then you could try to find it. That’s the huge catch to linear regression: no matter what data you put in, you’ll always get a “best match” line out. This challenge generalizes to all model fitting. Incorrectly assuming a distribution is Gaussian is a big one.
Amateur statistics is full of magical numbers and thresholds where everything "just works" :)
Re: Abusing linear regression to make a point
#13This article does not capture what is actually wrong with the regression. First, it's not necessarily wrong to fit a linear regression to data that might not be from a linear model, or that you know to be nonlinear. The data could be linear enough in the region of interest for the line to nonetheless be useful, for example. Sure, you need an underlying linear process if you want certain theorems and guarantees to app…
Yes, very good point! Likewise regression is not robust to log transformations, but we still use log transformations (depending on the data) because we may be able to tolerate some loss of information. If the nonlinear correlation is bounded below some tolerable amount it's okay to use the linear relationship on its own.
Re: Abusing linear regression to make a point
#14This article does not capture what is actually wrong with the regression. First, it's not necessarily wrong to fit a linear regression to data that might not be from a linear model, or that you know to be nonlinear. The data could be linear enough in the region of interest for the line to nonetheless be useful, for example. Sure, you need an underlying linear process if you want certain theorems and guarantees to app…
The data are here: https://pastebin.com/HhWTKZRb
Re: Abusing linear regression to make a point
#15You can't mention spurious linear regression without predicting the S&P500 with Leinweiber's price of butter in Bangladesh indicator. https://nerdsonwallstreet.typepad.com/my_weblog/files/datami...
https://www.tylervigen.com/spurious-correlations
I'm not convinced all of these are spurious.
Re: Abusing linear regression to make a point
#16You can't mention spurious linear regression without predicting the S&P500 with Leinweiber's price of butter in Bangladesh indicator. https://nerdsonwallstreet.typepad.com/my_weblog/files/datami...
Re: Abusing linear regression to make a point
#17Could just be really bad. However could be that:
- The conclusion of the paper was that no relationship exists.
- Later specifications include covariates. For example, including travel flows here could help to disentangle cultural mores regarding drinking and probability that ANY virus was transmitted to place.
- some sort of weighting was done. Although in that case I would expect to see a steeper slope to account for New York. Usual practice here would be to display the univariate relationship with circles that are sized to match weights.
- Graphs like this can play tricks on your eyes. There might be a lot of dots clustered along the fit line that are overlapping etc.
Re: Abusing linear regression to make a point
#18Could someone link to original article? Didn’t see in post. Notice that they don’t cite what the authors’ computed R^2 was but conjectured it was low (and I agree that it is likely low). Thus, doesn’t appear to be a case of blind p-hacking off the bat. Could just be really bad. However could be that: - The conclusion of the paper was that no relationship exists. - Later specifications include covariates. For example,…
Re: Abusing linear regression to make a point
#19> I said that if you had reason to believe in a linear relationship, then you could try to find it. That’s the huge catch to linear regression: no matter what data you put in, you’ll always get a “best match” line out. This challenge generalizes to all model fitting. Incorrectly assuming a distribution is Gaussian is a big one.
The variable of interest may not have a Gaussian distribution, but its expected value and variance generally are. Sure, there's some pathological cases, but the Cauchy distribution doesn't show up that often.
Re: Abusing linear regression to make a point
#20Eyeball tests are not rigorous, and can be misleading. Further, the purpose of regression is not just to obtain the slope via least squares in the case of obvious relationships, but to provide a test of the null hypothesis (slope = 0) of weaker, but theoretically interesting relationships.
This type of amateur (and wrong) statistics article shouldn't be making it to the top of HN.