Linear Regression: calculate the residual for an observation

bluewater

New member
Joined
Nov 5, 2009
Messages
9
Equation: Y = 25 + -1x. If the predicted value of, Y, for an observation is 3, calculate the residual for an observation where the observed value, Y, is equal to 8.

I think I am getting confused because of the predicted value and observed value? I thought it would just be substituting Y=8 and solve for x, but where does the 3 go into or is that extra information? Thank you in advance
 
Equation: Y = 25 + -1x. If the predicted value of, Y, for an observation is 3, calculate the residual for an observation where the observed value, Y, is equal to 8.

I think I am getting confused because of the predicted value and observed value? I thought it would just be substituting Y=8 and solve for x, but where does the 3 go into or is that extra information? Thank you in advance
I assume that the
Y = 25 - x
is the 'fit to the data' where you have a set of observed values {yi} at points (xi}, i.e. ordered pairs of data (xi,yi). After obtaining the fit, you would have a set of predicted values {Yi | Yi = 25 - xi}. So, for some given xi you have an observed value yi and a predicted value Yi. The difference between the observed and predicted value is called the residual (error).
 
I assume that the
Y = 25 - x
is the 'fit to the data' where you have a set of observed values {yi} at points (xi}, i.e. ordered pairs of data (xi,yi). After obtaining the fit, you would have a set of predicted values {Yi | Yi = 25 - xi}. So, for some given xi you have an observed value yi and a predicted value Yi. The difference between the observed and predicted value is called the residual (error).

So do the difference of 8-3= 5 and do subsitute for Y and solve for X is the residual?
 
I assume that the
Y = 25 - x
is the 'fit to the data' where you have a set of observed values {yi} at points (xi}, i.e. ordered pairs of data (xi,yi). After obtaining the fit, you would have a set of predicted values {Yi | Yi = 25 - xi}. So, for some given xi you have an observed value yi and a predicted value Yi. The difference between the observed and predicted value is called the residual (error).

okay I found the formula as
e=Y-(Y^hat)
e=8-3= 5. Is 5 just the answer or do I just plug it back into the regression line and solve for Y?
 
Top