Lag & Rolling-Mean Features: Turning a Series into a Table
This lesson is part of the course
In this lesson
You turn a daily demand series into a supervised-learning table with Lag 1, Lag 7 and a leakage-free rolling mean, then measure which lag carries more signal.
Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.
Lessons in this course
- Lag & Rolling-Mean Features: Turning a Series into a Table Locked
- Calendar Features: Weekday Dummies & a Holiday Flag Locked
- Train/Test Split by Date: No Peeking into the Future Locked
- Baselines First: Naive, Seasonal Naive & MAE, RMSE, MAPE Locked
- Linear Regression on Lags with LINEST Locked
- Predict the Test Set & Compare Errors (with a Chart) Locked
- Walk-Forward Validation: An Expanding Window, Step by Step Locked
- Feature Importance by Drop-One: Which Feature Earns Its Place? (with a Chart) Locked