Skip to content

Comment on Why does a least squares fit appear to have a bias when applied to simple data?

Comments

If you plot the regression line of y against x, and also x against y, you would get two different lines.

I found it in the middle of teaching a stats class, and feel embarrassed.

I guess normalising is one way to remove the bias.

You are absolutely correct that the difference between y against x and x against y fitting perfectly demonstrates why the bias exists, but the correct way to remove the bias is not normalization, but to use a coordinate-independent regression technique.

See the other comments by many other commenters for details.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.