Residual sum of squares

# Residual sum of squares - y = response variable(dependent x...

• Notes
• 2
• 100% (2) 2 out of 2 people found this document helpful

This preview shows pages 1–2. Sign up to view the full content.

y = response variable (dependent) x = explanatory variable (independent) RSS = Residual sum of squares ~ sum of squared errors Multiple R squared measures how close your predicted value is with respect to the true value AIC = n log(SSE/n) + 2(K+2) Time series can be decomposed into: Trend Seasonal Variation Noise ---------- Exam October 15th One cheat sheet Multiplicative decomposition x(t) = s(t)T(t)E(t) Just the same as the classical decomposition when you do the log transformation s.window groups the indexes s.window = 5 , looking at 5 data points at a time standard is infinity, means that there is just one seasonal pattern for all the data For time.series, the columns equal: 1 seasonal 2 trend 3 error look up help file of stl s.window → if you don’t assign it, you are assuming it has the same pattern along the whole

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: time horizon t.window → what window size you want, 15 day moving average would be t.window = 15 Doing the moving average of the moving average lets you do an even number of moving avgs To figure out which moving average is best, compute the sum of the square of errors summation(Ei^2) Ei = Yi - estimated Yi Ways of forecasting We have y1, y2, y3, and the forecast Naive → forecast = y3 (the previous one is the only one that matters) average → forecast = (y1+y2+y3)/3 (all weighted the same) exponential → forecast = w1y1 + w2y2 + w3y3 (all weighted differently) Gets the weight by figuring out the least sum of square errors When forecasting, figuring out the trend and the seasonal component, not the noise...
View Full Document

• Fall '13
• Lin
• Regression Analysis, residual sum, squared errors, seasonal variation, multiplicative decomposition, average → forecast

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern