Business StatisticsUnit 1010 min read
Time Series Analysis & Index Numbers: Trends, Cycles, Seasonality & Price Indices
Unit 10 of Business Statistics covers decomposition of time series data into trend, cyclical, seasonal, and irregular components, and construction of index numbers (Laspeyres, Paasche, Fisher) with applications in inflation measurement, economic forecasting, and business decision-making using real-world examples from N
TAKEAWAYS:
- Time series decomposition breaks data into T+C+S+I components (trend, cycle, seasonality, irregular) using moving averages and centred moving averages to isolate patterns.
- Index numbers measure relative changes (e.g., inflation) using Laspeyres (fixed base), Paasche (current base), or Fisher’s ideal index—each has trade-offs in bias and accuracy.
- Seasonal adjustment uses ratio-to-moving-average or deseasonalization to remove periodic fluctuations (e.g., Daraz’s monthly sales spikes during Dashain).
- Trend analysis employs linear regression or exponential smoothing to forecast future values (e.g., NTC’s monthly electricity demand).
- Index number limitations: Base year selection, price vs. quantity bias, and Fisher’s index resolves these via geometric mean.
- Real-world tie-ins: NEPSE’s price index tracks stock market trends; NTC’s consumer price index (CPI) adjusts tariffs; Daraz’s sales index optimizes inventory.
1. Time Series Analysis: The Big Picture
Time series data is ordered observations over time (e.g., monthly sales, quarterly GDP, daily temperatures). Businesses use it to:
- Predict future values (e.g., NTC forecasting peak-hour electricity demand).
- Identify patterns (e.g., Kathmandu traffic congestion during Dashain).
- Remove noise for clearer decision-making.
Components of a Time Series
Every time series is a mix of four components:
- Trend (T): Long-term movement (e.g., rising smartphone sales in Nepal).
- Cyclical (C): Repeating ups/downs over years (e.g., economic booms/busts).
- Seasonal (S): Short-term, periodic fluctuations (e.g., eSewa transactions spiking on paydays).
- Irregular (I): Random shocks (e.g., a sudden Ncell network outage).
Formula: (Where = observed value)
Caption: Daraz’s sales show a rising trend, seasonal spikes in Nov/Dec, and a cyclical uptick in Q4 2023.
2. Decomposing Time Series: Step-by-Step
Step 1: Smooth the Data with Moving Averages
To isolate trend-cycle (T+C), we use moving averages (MA). For seasonal data, use:
- Odd-period MA (e.g., 3-month MA) for quarterly data.
- Even-period MA (e.g., 12-month MA) for monthly data, then centre the MA to align with midpoints.
Example: NTC’s monthly electricity consumption (2022–2023):
| Month | Consumption (kWh) | 12-Month MA | Centred MA |
|---|---|---|---|
| Jan 2022 | 850 | — | — |
| Feb 2022 | 880 | — | — |
| ... | ... | ... | ... |
| Jan 2023 | 1050 | 950 | 960 |
| Feb 2023 | 1080 | 960 | 970 |
Calculation for Jan 2023 (12-month MA):
Centred MA for Feb 2023:
Caption: The 12-month MA smooths out seasonal fluctuations, revealing the underlying trend.
Step 2: Extract Seasonal Component (S)
For monthly data, divide the original value (Y) by the centred MA (T+C): Average these ratios for each month across years to get seasonal indices.
Example: Daraz’s monthly sales seasonal indices (2021–2022):
| Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Index | 0.9 | 0.85 | 1.0 | 1.1 | 1.2 | 1.0 | 1.1 | 1.05 | 1.3 | 1.4 | 1.5 | 1.6 |
Interpretation:
- Nov/Dec: 50–60% seasonal boost (Dashain/Tihar sales).
- Feb: 15% dip (post-holiday lull).
Step 3: Deseasonalize the Data
Subtract the seasonal effect to isolate trend-cycle-irregular (T+C+I):
Example: Adjust Daraz’s Jan 2023 sales (1200 units) for seasonality: (True trend-cycle-irregular value is 1333, not 1200.)
Caption: Daraz’s sales peak in Dec (1.6x baseline) and dip in Feb (0.85x).
Step 4: Isolate Irregular Component (I)
Subtract the trend-cycle-seasonal (T+C+S) from the deseasonalized data:
3. Forecasting with Time Series
Method 1: Naïve Forecasting
Assume next period = last period’s value.
- Pros: Simple, no data needed.
- Cons: Ignores trends/seasonality.
- Example: If NTC’s Jan 2023 demand = 1050 kWh, forecast Feb 2023 = 1050 kWh.
Method 2: Linear Trend Extrapolation
Fit a straight line to the trend-cycle (T+C) component. Example: NTC’s trend (2022–2023): (where = month number)
- Forecast for Jan 2024 (): kWh.
Caption: The linear trend predicts a 50 kWh/month increase in demand.
Method 3: Exponential Smoothing
Weights recent data more heavily: (where = smoothing factor, )
Example: Daraz’s sales ():
| Month | Actual Sales () | Forecast () | Next Forecast () |
|---|---|---|---|
| Jan | 1200 | 1100 | |
| Feb | 1150 | 1130 |
4. Index Numbers: Measuring Relative Change
Index numbers compare values over time (e.g., inflation, stock prices). Key types:
| Index Type | Formula | Base Year | Bias | Example |
|---|---|---|---|---|
| Laspeyres | Fixed (0) | Overstates inflation | NTC’s CPI (fixed basket of goods) | |
| Paasche | Current (1) | Understates inflation | Daraz’s sales index (current basket) | |
| Fisher’s Ideal | — | Minimizes bias | NEPSE’s price index |
Where:
- = prices in base/current year.
- = quantities in base/current year.
Worked Example: NTC’s Consumer Price Index (CPI)
Data:
| Item | Base Year (2020) Price () | Current Year (2023) Price () | Quantity () |
|---|---|---|---|
| Rice (kg) | 120 | 150 | 10 |
| Sugar (kg) | 80 | 90 | 5 |
| Electricity (kWh) | 5 | 7 | 200 |
Step 1: Laspeyres Index (Fixed Base)
Step 2: Paasche Index (Current Base) (Assume current quantities are the same as for simplicity.) (Same as Laspeyres here, but in practice differs.)
Step 3: Fisher’s Ideal Index (If Paasche differed, Fisher would average them.)
Interpretation:
- NTC’s CPI = 128.8 means prices rose 28.8% from 2020–2023.
- Used to adjust electricity tariffs or pension payments.
Caption: Electricity contributes most to NTC’s CPI basket.
5. Real-World Applications
Example 1: NEPSE’s Price Index
- What it uses: Laspeyres index with a fixed basket of stocks (e.g., NABIL, NMB, NTC).
- How it works:
- Base year = 2015 (index = 100).
- Current index = .
- Why it matters: Investors use it to compare returns across years.
Example 2: Daraz’s Sales Index
- What it uses: Seasonally adjusted time series + Paasche index for dynamic inventory planning.
- How it works:
- Tracks monthly sales vs. a moving average.
- Adjusts for Dashain/Janai Purnima spikes.
- Why it matters: Optimizes warehouse stock for peak seasons.
Example 3: NTC’s Tariff Adjustments
- What it uses: Consumer Price Index (CPI) based on Laspeyres.
- How it works:
- If CPI rises from 100 to 120, tariffs increase by 20%.
- Why it matters: Ensures revenue covers inflation.
6. Common Pitfalls & Exam Tips
Mistakes to Avoid
- Ignoring seasonality: Always adjust for seasonal patterns (e.g., Daraz’s Nov/Dec spikes).
- Wrong MA period: Use 12-month MA for monthly data, not 3-month.
- Base year bias: Laspeyres overstates inflation; Paasche understates it.
- Forgetting to centre MAs: Even-period MAs must be centred for alignment.
Exam Tip: Step-by-Step Approach
For time series decomposition questions:
- Plot the data (identify trends/seasonality).
- Apply moving averages (odd/even periods correctly).
- Calculate seasonal indices (average ratios per month).
- Deseasonalize and isolate irregular component.
- Forecast using trend extrapolation or smoothing.
For index number questions:
- Identify Laspeyres/Paasche/Fisher required.
- Write the formula clearly.
- Show all calculations (partial credit for steps).
- Interpret the result (e.g., "Inflation rose by X%").
flowchart TD
A["Time Series Data"] --> B["Step 1: Apply Moving Averages\n(Isolate Trend-Cycle)"]
B --> C["Step 2: Calculate Seasonal Indices\n(Y / (T+C))"]
C --> D["Step 3: Deseasonalize\n(Y_adj = Y / S)"]
D --> E["Step 4: Isolate Irregular Component\n(I = Y_adj - (T+C))"]
E --> F["Step 5: Forecast\n(Naïve/Trend/Exponential Smoothing)"]
F --> G["Business Decision\n(e.g., NTC tariff adjustment)"]Caption: Time Series Analysis Workflow.classDiagram
class IndexType {
+Laspeyres: Fixed Base
+Paasche: Current Base
+Fisher: Geometric Mean
}
class Application {
+NTC: CPI for Tariffs
+NEPSE: Stock Price Index
+Daraz: Sales Forecasting
}
IndexType --> Application : "Used in"Caption: Index Number Applications.Based on the TU BBM syllabus for Business Statistics (STT201), unit 10.
Discussion
Loading…