The Student Room Group

[Stats] OLS with a given intercept

Hi, hope someone can help me with this question as I don't think I really understand.

We want to find the OLS estimate of b given that yi=2+bxi+uiy_i = 2 + bx_i + u_i. That is, given that the intercept is 2.

So I know that when we're estimating b using OLS we use:

b^=i=1n(xixˉ)(yiyˉ)i=1n(xix^)2\hat{b} = \frac{\sum_{i=1}^n (x_i-\bar{x})(y_i-\bar{y})}{\sum_{i=1}^n (x_i-\hat{x})^2}

We've also looked at the case where we state that the line must go through the origin, and there:

b^=i=1nxiyii=1nxi2\hat{b} = \frac{\sum_{i=1}^n x_iy_i}{\sum_{i=1}^n x_i^2}

So is the question just asking me to consider that instead of going through the origin, we pass through (0,2)? Do I just use yi2y_i - 2 instead of yiy_i to estimate b? Really confusing myself.
Hi there,

While you're waiting for an answer, did you know we have 300,000 study resources that could answer your question in TSR's Learn together section?

We have everything from Teacher Marked Essays to Mindmaps and Quizzes to help you with your work. Take a look around.

If you're stuck on how to get started, try creating some resources. It's free to do and can help breakdown tough topics into manageable chunks. Get creating now.

Thanks!

Not sure what all of this is about? Head here to find out more.

Quick Reply

Latest