SOLUTION: Definition : In statistics, the residuals are differences between the actual values and the predicted values: ๐‘’=๐‘ฆโˆ’ลท a) Run the linear regression function for X and Y

Algebra ->  Probability-and-statistics -> SOLUTION: Definition : In statistics, the residuals are differences between the actual values and the predicted values: ๐‘’=๐‘ฆโˆ’ลท a) Run the linear regression function for X and Y      Log On


   



Question 1135296: Definition : In statistics, the residuals are differences between the actual values and the predicted values:
๐‘’=๐‘ฆโˆ’ลท
a) Run the linear regression function for X and Y.
b) Find and plot the residual against the predicted value (yhat).
p1 = get_pricing('SPY', start_date = '2005-01-01',
end_date = '2010-01-01',
fields = 'price').pct_change()[1:]
p2 = get_pricing('XLF', start_date = '2005-01-01',
end_date = '2010-01-01',
fields = 'price').pct_change()[1:]
## Your code goes here

Found 2 solutions by ikleyn, its.evapatel:
Answer by ikleyn(52814) About Me  (Show Source):
You can put this solution on YOUR website!
.

Nonsense.

Not an appropriate post/problem/request for this forum.

Do not spend your time for nothing posting such requests - they make no sense.


Have a nice day / afternoon / evening / night / morning etc.



Answer by its.evapatel(3) About Me  (Show Source):
You can put this solution on YOUR website!
Nonsense.
Not an appropriate post/problem/request for this forum.
Do not spend your time for nothing posting such requests - they make no sense.

Have a nice day / afternoon / evening / night / morning etc.