B. Maths Business Mathematics

Business MathematicsUnit 811 min read

Time Series: Trends, Cycles, Seasonality & Forecasting

Unit 8 of Business Mathematics teaches how to analyze past business data patterns (trends, cycles, seasonality) to predict future values using moving averages, decomposition, and forecasting methods—essential for inventory, sales, and economic planning.

TAKEAWAYS:

  • Time series data shows how a variable (like sales) changes over time, revealing trends (long-term growth/decline), cycles (multi-year fluctuations), and seasonality (repeating short-term patterns).
  • Moving averages smooth out random fluctuations to highlight trends—simple moving average (SMA) and weighted moving average (WMA) are key tools.
  • Decomposition breaks a time series into four components: Trend (T), Seasonal (S), Cyclical (C), and Irregular (I) using additive or multiplicative models.
  • Forecasting uses past data to predict future values; methods include naïve forecasting, exponential smoothing, and linear regression for trend analysis.
  • Businesses use time series to plan inventory, budgets, and marketing strategies by anticipating demand swings.
  • NEB exams test calculations (e.g., moving averages, seasonal indices) and interpretation (e.g., identifying trends from graphs).


What is a Time Series?

A time series is a collection of data points recorded at regular intervals over time. Examples:

  • Monthly sales of a company for 5 years.
  • Quarterly GDP growth of Nepal.
  • Daily temperature readings in Kathmandu.
2017201820192020202120222023120125130135140145150155160Monthly Sales (in units)
Example of a time series showing sales data over 5 years.

Why Study Time Series?

Businesses and economists use time series to:

  1. Understand past patterns (e.g., why sales spike in December).
  2. Predict future values (e.g., next year’s sales).
  3. Make data-driven decisions (e.g., stock inventory, marketing campaigns).

Caption: Monthly sales data showing an upward trend with seasonal spikes at year-end.


Components of a Time Series

Every time series has four components:

  1. Trend (T): Long-term increase or decrease (e.g., sales growing over 5 years).
  2. Seasonal (S): Repeating short-term patterns (e.g., higher sales in December).
  3. Cyclical (C): Medium-term fluctuations (e.g., economic booms and recessions).
  4. Irregular/Random (I): Unexpected shocks (e.g., a natural disaster reducing sales).
24681012100105110115120125130yTime Series = Trend + Seasonality + Cycle
Decomposition of a time series into trend, seasonality, and cycle components.

Additive vs. Multiplicative Models

Model Equation When to Use Example
Additive Seasonal effect is constant over time. Temperature variations (seasonal change is fixed).
Multiplicative Seasonal effect grows with trend. Sales data (seasonal spikes increase as trend rises).

1. Moving Averages (Smoothing Data)

Moving averages help remove short-term fluctuations to reveal the underlying trend.

Types of Moving Averages

Type Formula Use Case
Simple Moving Average (SMA) Smooths data by averaging fixed past periods.
Weighted Moving Average (WMA) Gives more weight to recent data.
Centered Moving Average (CMA) Used for even-numbered periods to align trend with midpoint. Better for trend estimation.

Worked Example: Simple Moving Average (SMA)

Data: Quarterly sales (in thousands) for 2021–2022:

Quarter 2021 Q1 2021 Q2 2021 Q3 2021 Q4 2022 Q1 2022 Q2
Sales 50 55 60 65 70 75
24681010152025yOriginal Data3-Period SMA
SMA smoothing a time series with a 3-period window.

Task: Calculate the 3-quarter SMA for Q2 2021 to Q2 2022.

Solution:

  1. For Q2 2021 (t=2):
  2. For Q3 2021 (t=3):
  3. For Q4 2021 (t=4):
  4. For Q1 2022 (t=5):

Graphical Representation: Caption: SMA smooths out fluctuations, revealing the upward trend.


2. Decomposition of Time Series

Decomposition separates the trend (T), seasonal (S), cyclical (C), and irregular (I) components.

Steps for Additive Decomposition

  1. Detrend the data (remove trend using moving averages).
  2. Remove seasonality (average seasonal effects).
  3. Calculate seasonal indices.
  4. Reconstruct the series.

Worked Example: Seasonal Decomposition

Data: Quarterly sales (in thousands) for 3 years:

Year Q1 Q2 Q3 Q4
2021 50 55 60 70
2022 60 65 70 80
2023 70 75 80 90
04080120160Jan120Feb110Mar130Apr140May150Jun160Sales (units)
Monthly sales data showing seasonal patterns (example for decomposition).

Step 1: Calculate Trend (3-year SMA)

  • Use centered moving average (CMA) for Q2 2022 and Q2 2023.
  • For Q2 2022:

Step 2: Detrend the Data Subtract trend from actual sales:

Year Q1 (Actual) Q1 (Trend) Q1 (Detrended)
2021 50 55 -5
2022 60 62.5 -2.5
2023 70 70 0

Step 3: Calculate Seasonal Indices Average detrended values for each quarter:

  • Q1 Seasonal Index =
  • Similarly, calculate for Q2, Q3, Q4.

Step 4: Adjust for Seasonality Add seasonal index back to trend to forecast:

  • Forecast for Q1 2024 = Trend (2023 Q4) + Q1 Seasonal Index = 90 + (-2.5) = 87.5

3. Forecasting Methods

A. Naïve Forecasting

Assumes the next value = last observed value.

  • Pros: Simple, no calculations.
  • Cons: Ignores trends/seasonality.

Example: If last quarter’s sales = 90, then next quarter forecast = 90.

B. Exponential Smoothing

Gives more weight to recent data using a smoothing factor (). Formula:

  • = smoothing factor (0 < < 1)
  • = forecast at time

Worked Example: Given , and sales data:

Quarter Actual Sales () Forecast ()
Q1 50 50 (initial)
Q2 55
Q3 60
Q4 65

Forecast for Q5:

C. Linear Regression for Trend Forecasting

If the trend is linear, use:

  • = dependent variable (sales)
  • = independent variable (time)
  • = intercept, = slope

Worked Example:

Year (X) Sales (Y)
1 50
2 60
3 70

Step 1: Calculate Slope ()

Step 2: Calculate Intercept ()

Forecast Equation: Forecast for Year 4:


4. Applications of Time Series in Business

Application Example Method Used
Sales Forecasting Predicting next month’s sales. Moving averages, exponential smoothing.
Inventory Management Deciding stock levels for seasonal demand. Seasonal decomposition.
Economic Planning Government budgeting based on GDP trends. Trend analysis.
Marketing Strategies Launching promotions before peak seasons. Seasonal indices.
Financial Analysis Stock price predictions. Linear regression, ARIMA models.

5. Advantages and Limitations

Advantages Limitations
Helps predict future trends accurately. Assumes past patterns repeat (may not).
Reduces uncertainty in decision-making. Requires historical data (not always available).
Useful for both short-term and long-term planning. Complex methods (e.g., ARIMA) need expertise.
Works for various industries (retail, finance, etc.). External shocks (e.g., pandemics) can disrupt forecasts.

Exam Tip: How to Score Full Marks in NEB

  1. Understand the Question Type

    • Calculation-based: Moving averages, seasonal indices, forecasts.
    • Theoretical: Define components (trend, seasonality, cycles).
    • Interpretation: Explain trends from graphs.
  2. Show All Steps

    • NEB marks working, not just the final answer.
    • Example: For SMA, write each term clearly.
  3. Use Graphs

    • Always plot data if asked to "analyze trends."
    • Label axes, trends, and seasonal patterns.
  4. Common Mistakes to Avoid

    • Ignoring units (e.g., sales in NRs, not just numbers).
    • Misapplying formulas (e.g., using SMA for odd periods without centering).
    • Forgetting to interpret (e.g., "The trend is increasing" after forecasting).
  5. Practice NEB-Style Questions Example Question (NEB Board Style):

    "The quarterly sales data of a company is given below. Calculate the 4-quarter centered moving average and comment on the trend."

    Year Q1 Q2 Q3 Q4
    2021 100 120 110 150
    2022 130 140 160 180

    Solution Steps:

    1. Calculate 4-quarter CMA (average of Q1–Q4, Q2–Q5, etc.).
    2. Plot the data and CMA.
    3. Comment: "The trend is upward, indicating growing sales."

Summary Checklist

Before the exam, ensure you can: ✅ Calculate SMA, WMA, and CMA. ✅ Decompose a time series into trend, seasonal, cyclical, and irregular components. ✅ Forecast using naïve method, exponential smoothing, and linear regression. ✅ Interpret graphs (identify trends, seasonality). ✅ Apply time series to real-world business problems.


Final Note: Time series is 80% calculations + 20% interpretation. Practice past NEB papers to master both! 🚀

Based on the NEB +2 Management syllabus for Business Mathematics (B. Maths), unit 8.

Discussion

Loading…