Time Series Problems 🧮
Here we will solve numerical problems covering Trend Analysis and Seasonal Variations.
Problem 1: Least Squares Method (Trend)
Data: Values: 80, 90, 92, 83, 94, 99, 92 Years: 2010 to 2016 (7 Years)
Find:
- The linear trend equation.
- Estimate value for 2018.
Solution: Least Squares Trend Analysis 💡
Step 1: Mid Year
N = 7 (Odd). Mid year is 2013.
X = Year - 2013.
Step 2: Calculation Table
| Year | Y | X | X² | XY |
|---|---|---|---|---|
| 2010 | 80 | -3 | 9 | -240 |
| 2011 | 90 | -2 | 4 | -180 |
| 2012 | 92 | -1 | 1 | -92 |
| 2013 | 83 | 0 | 0 | 0 |
| 2014 | 94 | 1 | 1 | 94 |
| 2015 | 99 | 2 | 4 | 198 |
| 2016 | 92 | 3 | 9 | 276 |
| Sum | 630 | 0 | 28 | 56 |
Step 3: Constants
a = ∑ Y / N = 630 / 7 = 90b = ∑ XY / ∑ X² = 56 / 28 = 2
Step 4: Equation
Yc = 90 + 2X
Step 5: Estimate for 2018
X for 2018 = 2018 - 2013 = 5.
Yc = 90 + 2(5) = 90 + 10 = 100.
Problem 2: 3-Year Moving Average
Data: 2, 4, 5, 7, 8, 10, 13
Find: Trend values.
Solution: 3-Year Moving Average Calculation 💡
| Y | 3-Year Total | 3-Year Avg |
|---|---|---|
| 2 | - | - |
| 4 | 2+4+5=11 | 3.67 |
| 5 | 4+5+7=16 | 5.33 |
| 7 | 5+7+8=20 | 6.67 |
| 8 | 7+8+10=25 | 8.33 |
| 10 | 8+10+13=31 | 10.33 |
| 13 | - | - |
Problem 3: Sales Forecasting
If the seasonal index for Q4 is 150 and the desaeasonalised trend value for Q4 2024 is projected to be 2000 units, what will be the actual sales?
Solution: Sales Forecast Calculation 💡
We know:
Deseasonalised = (Actual / SI) * 100
Therefore:
Actual = (Deseasonalised * SI) / 100
Calculation:
Actual Sales = (2000 * 150) / 100
Actual Sales = 3000 Units
Summary of Use Cases
- Least Squares: Best for long term trend projection.
- Moving Averages: Best for understanding cycles.
- Seasonal Indices: Refining forecasts for specific months/quarters.
Remember to always indicate the origin (base year) and unit of X and Y when writing the final trend equation.
Example: Y = 90 + 2X (Origin: 2013, X unit: 1 year, Y unit: Sales in '000s).