Skip to main content
All Questions

X1 and X2 are zero-mean and uncorrelated. Do the coefficients from regressing y on both together match those from regressing y on one and then the residual on the other?

Unlock detailed company stats for this questionUpgrade
X1 and X2 are zero-mean and uncorrelated. You can estimate their coefficients for y in two ways. Method one: regress y on X1 and X2 together. Method two: regress y on X1, take the residual and regress it on X2 to get the X2 coefficient; then regress y on X2, take the residual and regress it on X1 to get the X1 coefficient. How do the coefficients from the two methods compare?

Community answers

No answers contributed by the community yet.

Related courses

Course

SQL Interview Prep Course

Prepare for SQL interviews with lessons on joins, aggregations, and window functions, then practice real SQL interview questions in an interactive editor with expert solutions.

Course

Data Science Interview Prep

Land your dream data science role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.