Lesson 3: Linear Regression and Curve Fitting
Review:
- Histograms
- Scatterplots
- DataCamp assignment
Presentation:
- Linear Regression
- Scatter plots
- Line plots
- Trend lines
- Curve Fitting
- Polynomial fit
- Forecasting
- Sample Data
Activity:
- Download recent Oil Prices (same as Oil Prices link above) from the St. Louis Fed
- Fit a 2nd and 3rd order Polynomial curve.
- Record the polynomial Equations (e.g., y = 0.04*x^2 + 0.22*x + .45)
- Record the R-Squared value (e.g., R^2 = 0.84)
- Use your preferred polynomial equation to generate forecasts for the next 5 time periods (n=5 forecasts)
Assignment:
- Complete DataCamp assignment

