Skip to content
OrionStats
← Project Lab
PROJECT 06Intermediate

Linear Prediction of Monthly Revenue

Business scenario

Finance needs a quick, explainable projection of monthly revenue for the next six months to sanity-check the budget.

Problem statement

Fit a linear trend (with and without seasonality) to 2023–2025 monthly revenue, evaluate it on held-out months and project 2026 H1.

Learning objectives

  • Fit and interpret a linear trend
  • Add seasonal dummies and compare fit
  • Evaluate with a time-based holdout and explain uncertainty

Instructions

Use pnl_monthly Revenue actuals. Train on 2023-01…2025-06, test on 2025-07…2025-12. Report MAE and MAPE on the test months. Then refit on all data and project Jan–Jun 2026.

Tasks

  1. Trend-only model: slope interpretation in currency per month.
  2. Trend + month dummies model.
  3. Holdout evaluation of both; compare with a seasonal naive baseline (same month last year × growth).
  4. 2026 H1 projection with a simple error band (± test MAE).
  5. Explain when this linear approach would fail.

Deliverables

  • Notebook or workbook
  • Chart of fit and projection
  • Half-page explanation

Evaluation rubric

CriterionWeightExcellentProficientDevelopingInsufficient
Model fitting25%Both models correct, coefficients interpreted.Correct and complete with minor gaps in rigour or presentation.Partly correct; important steps missing, unvalidated or unclear.Missing, incorrect, or not supported by the data.
Evaluation25%Proper time-based holdout and baseline comparison.Correct and complete with minor gaps in rigour or presentation.Partly correct; important steps missing, unvalidated or unclear.Missing, incorrect, or not supported by the data.
Projection & uncertainty15%Projection with honest error band.Correct and complete with minor gaps in rigour or presentation.Partly correct; important steps missing, unvalidated or unclear.Missing, incorrect, or not supported by the data.
Interpretation & recommendations25%Clear, quantified conclusions tied to the business question, with limitations stated.Correct and complete with minor gaps in rigour or presentation.Partly correct; important steps missing, unvalidated or unclear.Missing, incorrect, or not supported by the data.
Presentation10%Clear charts.Correct and complete with minor gaps in rigour or presentation.Partly correct; important steps missing, unvalidated or unclear.Missing, incorrect, or not supported by the data.