Skip to Main Content
COM1MN109 • Essential Statistics for Business Analytics
Module 4
Calicut University • B.Com • Semester 1

Essential Statistics for Business Analytics — Module 4

Course Code: COM1MN109 • Lecture Notes

  1. Conceptual: Architecture & Business Utility of Time Series Analysis In modern enterprise analytics, historical data recorded across chronological intervals provides the empirical foundation for executive strategy. A Time Series is defined as a sequence of numerical observations on a variable recorded at regular, successive intervals of time (hourly, daily, weekly, monthly, quarterly, or annually). Time series analysis enables organizations to decompose complex historical trajectories, uncover underlying growth patterns, and generate quantitative forecasts. 1.1 Definitional Meaning & Cross-Sectional Comparison Analytical Dimension Time Series Data Cross-Sectional Data Pooled / Panel Data
  2. Temporal: Dimension Observations collected for a single entity over multiple successive time periods.

Observations collected for multiple entities at a single identical point in time.

  • Combines both: multiple entities tracked across multiple successive time periods.
  1. Core: Analytical Goal Detecting temporal trends, seasonality, cyclical fluctuations, and forecasting future values.

Comparing performance differentials, market share variations, and demographic disparities.

Modeling dynamic econometric relationships while controlling for individual heterogeneity.

  1. Business: Example Quarterly sales revenue of Tata Motors from 2015 to 2024.

Sales revenue of 100 different automobile dealerships in Delhi in March 2024.

Monthly sales of 50 retail outlets tracked across 36 consecutive months. 1.2 Core Objectives & Strategic Business Utility of Time Series Analysis

  1. Understanding: Historical Performance Isolates the complex interaction of underlying market forces, enabling analysts to determine whether past growth was driven by genuine longterm expansion (trend) or temporary seasonal surges.
  2. Scientific: Business Forecasting Provides mathematical extrapolation models to project future demand, raw material requirements, cash flow needs, and production capacities, minimizing inventory stockouts.
  3. Budgetary: Planning & Operational Control Establishes realistic monthly and quarterly sales quotas adjusted for seasonal peaks and troughs, preventing arbitrary target-setting by management.
  4. Business: Cycle Benchmarking Enables corporate strategists to evaluate whether enterprise downturns are company-specific operational failures or widespread macroeconomic recessions.
  5. The: Four Classical Components & Mathematical Decomposition Models The observed value of any business time series ($Y_t$) at any point in time is the cumulative product or sum of four distinct economic forces operating simultaneously. 2.1 The Four Classical Components of a Time Series Time Series Component Duration & Nature of Movement Primary Underlying Drivers Concrete Business Example
  6. Secular: Trend (T) Smooth, regular, long-term movement continuing in an upward, downward, or stationary direction over decades.

Population expansion, technological progress, capital accumulation, changing cultural habits.

Steady decade-long increase in India's digital UPI transaction volume; longterm decline in typewriter sales.

  1. Seasonal: Variations (S) Repetitive, rhythmic periodic fluctuations recurring within a strictly fixed period of 12 months or less.

Natural weather seasons, climate changes, social/religious festivals, annual holiday calendars.

Surge in air conditioner sales during summer; spike in jewellery purchases during Diwali/Dhanteras.

  1. Cyclical: Fluctuations (C) Recurrent, wave-like oscillatory movements extending over periods longer than one year (typically 3 to 10 years).
  • Macroeconomic business cycles: Prosperity → Recession → Depression → Recovery.

Multi-year boom-and-bust cycles in commercial real estate construction, shipping rates, and capital goods.

  1. Irregular /: Random Variations (I) Completely unpredictable, erratic, non-recurring residual shocks lacking any systematic pattern.

Natural catastrophes (earthquakes, floods), geopolitical wars, strikes, supply-chain embargos, pandemics.

Abrupt global collapse of airline travel and hospitality revenues during COVID-19 lockdowns in 2020. 2.2 Mathematical Decomposition Models: Additive vs. Multiplicative

  1. The: Additive Model Y_t = T_t + S_t + C_t + I_t
  • Fundamental Assumption: The four components are mathematically independent and operate as absolute physical additions or subtractions.
  • Operational Implication: Seasonal variations are constant in absolute terms regardless of whether the trend is rising or falling. Expressed in original physical units (e.g., ₹ or metric tons).
  1. The: Multiplicative Model (Most Widely Used) Y_t = T_t × S_t × C_t × I_t
  • Fundamental Assumption: The four components are mutually interdependent; seasonal and cyclical forces operate as proportional percentages of the secular trend.
  • Operational Implication: As the trend level increases, seasonal amplitudes expand proportionately. $T_t$ is in physical units; $S_t, C_t,

I_t$ are dimensionless ratios or percentages. 2.3 Measurement of Seasonal Variations: Master Methodologies Seasonal Measurement Method Operational Computational Steps Key Analytical Merits & Weaknesses

  1. Method of: Simple Averages (1) Arrange data quarterly/monthly across years; (2) Compute mean for each quarter ($ar{x}_i$); (3) Compute Grand Average ($ar{X}$); (4) Seasonal
  • Index: SI_i = (&bar{x}_i ÷ &bar{X}) × 100.
  • Simplest to calculate.
  • Flaw: Assumes trend is zero; distorts seasonal indices if a strong trend exists.
  1. Ratio-to-Trend: Method (1) Fit linear OLS trend line ($T$); (2) Compute trend value for each period; (3) Express raw data as percentage of trend: $(Y ÷ T) × 100$; (4) Average percentages across identical seasons and normalize to 400 (or 1200).
  • Explicitly removes trend effect.
  • Assumes linear relationship; complex calculations.
  1. Ratio-toMoving: Average Method (1) Compute 12-month or 4-quarter centered moving averages (representing $T imes C$); (2) Divide raw data by moving average: $Y / (TC) = S imes I$; (3) Average medians across seasons to eliminate random noise ($I$).
  • The most robust and universally accepted classical seasonal decomposition method in enterprise planning.
  1. Trend: Measurement: Graphic, Semi-Averages & Moving Averages Methods Secular Trend isolates the fundamental smooth direction of a time series by removing short-term seasonal and irregular noise. Four classical methodologies exist for measuring trend. 3.1 Free-Hand Graphic Method & Method of Semi-Averages
  2. Free-Hand: Graphic Method Raw data is plotted on a graph, and an analyst draws a smooth curve through the points by visual approximation.
  • Advantages: Highly intuitive, instantaneous, requires no mathematical calculations.
  • Fatal Limitation: Entirely subjective; different analysts produce completely different trend lines and forecasts from the identical dataset.
  1. Method of: Semi-Averages The dataset is divided into two equal halves chronologically. Arithmetic means are calculated for each half and plotted at the midpoint of each time interval:
  • Even Series: 10 years divided into two 5-year groups.
  • Odd Series: 9 years → omit the central 5th year; average first 4 years and last 4 years.
  • Annual Trend Rate: $b = (ar{Y}_2 - ar{Y}_1) / ext{Year Gap}$. 3.2 Measurement of Trend by Moving Averages Method Moving Average Type Computational Procedure Centering & Analytical Placement
  1. Odd-Period: Moving Average (e.g., 3-Year or 5Year) Calculate the sum of 3 (or 5) consecutive years and divide by 3 (or 5). Shift down one year and repeat for the entire series.
  • Direct Centering: The average is placed directly against the middle year (e.g., 3year average placed against Year 2; 5year average placed against Year 3).
  1. Even-Period: Centered Moving Average (e.g., 4Year or 12-Month) A 4-period sum falls between Year 2 and Year 3. To align with an exact time point, calculate a secondary 2-period moving average of the 4-period averages (Centering).
  • Two-Stage Centering: Essential for quarterly ($m = 4$) and monthly ($m = 12$) seasonal decomposition to center values exactly on chronological quarters. 3.3 Strategic Advantages & Critical Limitations of Moving Averages
  • Key Strengths: Completely objective; fully eliminates periodic seasonal and cyclical movements whose period matches the moving average span; simple to compute.

Critical Flaws:

  • Loss of Data at Extremes: An $m$-period moving average loses $(m - 1)/2$ data points at the beginning and end of the series.
  • Zero Extrapolation Power: Moving averages cannot forecast future periods because they cannot calculate values beyond the observed sample boundary. 3.4 Exponential Smoothing Models in Modern Enterprise Analytics
  • MATHEMATICAL FORMULATION: SIMPLE EXPONENTIAL SMOOTHING (SES) Adaptive Short-Term Forecasting F_ (t+1) = α Y _ t + (1 − α ) F_ t = F_ t + α (Y _ t − F_ t) Where:

F_(t+1): Forecast for the next period; Y_t: Actual demand observed in period $t$; F_t:

Forecast for period $t$. α (Alpha): Smoothing constant bounded between $0 le alpha le 1$. High $alpha$ (e.g., 0.8) responds rapidly to recent demand shifts; low $alpha$ (e.g., 0.2) produces heavily smoothed, stable forecasts. ∑ Worked Illustration: Simple Exponential Smoothing (Retail Demand Forecasting)

  • Inventory Parameters: Smoothing constant $alpha = 0.30$. Previous forecast for Week 1 was F_1 = 200 units. Actual demand observed in Week 1 was Y_1 = 250 units.
  1. Forecast: Error for Week 1 = Actual Y_1 − Forecast F_1 = 250 − 200 = +50 units.

2. Week 2 Forecast Setup: F_2 = 200 + 0.30(+50) = 200 + 15 = 215 Units.

  • Actual demand observed in Week 2 is Y_2 = 230 units.

3. Week 3 Forecast Setup: F_3 = 0.30(230) + 0.70(215) = 69 + 150.5 = 219.5 ≈ 220 Units.

  • ADAPTIVE SMOOTHING DIAGNOSIS: Exponential smoothing automatically adjusts for the +50 demand spike, raising next week's inventory order to 220 units without requiring years of historical records.
  1. The: Principle of Least Squares: Linear Trend Fitting & Forecasting The Method of Least Squares is the most objective, mathematically rigorous, and widely deployed scientific technique for trend fitting in business analytics. It provides a definitive functional mathematical equation that completely eliminates human subjectivity and enables extrapolation into future planning horizons. 4.1 Mathematical Foundations & The Short-Cut Method
  • MATHEMATICAL FORMULATIONS: ORDINARY LEAST SQUARES (OLS) LINEAR TREND Predictive Trend Extrapolation Linear Trend E quatio n: Ŷ _ t = a + bX W hen O rigin is Shif ted suc h that ∑ X = 0:
  • Lev el P arameter: a = ∑ Y ÷ n | Slo pe P arameter (Annual Grow th Rate): b = ∑ X Y ÷ ∑ X ^2 Origin Alignment Rules:
  • When n is Odd: Origin at middle year $t_{mid}$ → $X = t - t_{mid}$ (Step size = 1 year; values: −3, −2, −1, 0, +1, +2, +3).
  • When n is Even: Origin at midpoint between two middle years → $X = 2(t - t_{mid})$ (Step size = 0.5 year; values: −5, −3, −1, +1, +3, +5). ∑ Worked Illustration 1: Fitting Linear Trend by Least Squares (Odd n = 5 Years) & Forecasting Manufacturing Plant Annual Production Data (n = 5 Years):
  • Years: 2019, 2020, 2021, 2022, 2023. Middle Year = 2021 (Origin X = 0).
  • Production Y (Thousand Metric Tons): 45, 52, 58, 65, 75 → $sum Y = mathbf{295.0}$.
  • Deviations $X = t - 2021$: −2, −1, 0, +1, +2 → $sum X = 0$. $sum X^2 = (-2)^2 + (-1)^2 + 0 + 1^2 + 2^2 = 4 + 1 + 0 + 1 + 4 = mathbf{10}$.
  • Cross-Products $XY$: 45(−2) + 52(−1) + 58(0) + 65(1) + 75(2) = −90 − 52 + 0 + 65 + 150 = $mathbf{+73.0}$.
  1. Level: Parameter: a = ∑ Y ÷ n = 295.0 ÷ 5 = 59.00.
  2. Slope (Annual: Increment): b = ∑ XY ÷ ∑ X^2 = 73.0 ÷ 10 = +7.30 Thousand MT per year.
  3. Fitted: Linear Trend Equation: Ŷ = 59.00 + 7.30 X (Origin: 2021; X unit = 1 Year).

4. Forecasting for 2026: For Year 2026, $X = 2026 - 2021 = mathbf{+5}$. → Forecasted Production Ŷ_2026 = 59.00 + 7.30(5) = 59.00 + 36.50 = 95.50 Thousand Metric Tons.

  • STRATEGIC PLANNING VERDICT: Production is expanding at a robust annual trend rate of 7,300 MT, projecting plant capacity requirements to reach 95,500 MT by 2026. ∑ Worked Illustration 2: Fitting Linear Trend by Least Squares (Even n = 6 Years) E-Commerce Retail Annual Revenue Data (n = 6 Years):
  • Years: 2018, 2019, 2020, 2021, 2022, 2023. Midpoint = July 1, 2020 (Midpoint between 2020 and 2021).
  • Revenue Y (₹ Crore): 20, 28, 38, 46, 58, 70 → $sum Y = mathbf{260.0}$.
  • Code Deviations $X = 2(t - 2020.5)$ (Units of 0.5 Year): −5, −3, −1, +1, +3, +5 → $sum X = 0$.
  • $sum X^2 = 25 + 9 + 1 + 1 + 9 + 25 = mathbf{70}$.
  • Cross-Products $XY$: 20(−5) + 28(−3) + 38(−1) + 46(1) + 58(3) + 70(5) = −100 − 84 − 38 + 46 + 174 + 350 = $mathbf{+348.0}$.
  1. Level: Parameter: a = ∑ Y ÷ n = 260.0 ÷ 6 = 43.33.
  2. Slope: Parameter: b = ∑ XY ÷ ∑ X^2 = 348.0 ÷ 70 = +4.971 (Growth per 0.5 Year → ₹9.942 Cr per full Year).
  3. Fitted: Equation: Ŷ = 43.33 + 4.971 X (Origin: July 1, 2020; X unit = 0.5 Year).

4. Forecasting for 2025: For Year 2025, $t = 2025$; $X = 2(2025 - 2020.5) = 2(4.5) = mathbf{+9}$. → Forecasted Revenue Ŷ_2025 = 43.33 + 4.971(9) = 43.33 + 44.74 = ₹88.07 Crore.

  • FORECAST CONCLUSION: E-commerce platform revenue will achieve approximately ₹88.07 Crore in 2025 under sustained least squares trend momentum.
  1. Non-Linear: Trends, Seasonal Indices & Equation Time Transformations In modern high-growth digital sectors, growth rarely proceeds strictly linearly. Analysts must master nonlinear parabolic and exponential models, alongside operational techniques to transform annual trend equations into monthly or quarterly operational plans. 5.1 Master Typology of Non-Linear Trend Models Trend Model Type Mathematical Equation Normal Equations / Estimation Technique Business Application
  2. Second-Degree: Parabolic Trend Ŷ = a + bX + cX^2 Normal equations with $sum X = 0$:
  • ∑ Y = n a + c ∑ X^2
  • ∑ XY = b ∑ X^2
  • ∑ X^2Y = a ∑ X^2 + c ∑ X^4 Captures accelerating or decelerating growth (e.g., product life cycle maturity curves).
  1. Exponential: Growth Trend Ŷ = a × b^X Logarithmic linear transformation: log Ŷ = log a + X log b Solved via standard linear OLS normal equations on logarithmic values.

High-growth tech startups, viral social media user acquisition, compound interest growth. 5.2 Time Unit Transformation: Converting Annual to Monthly/Quarterly Equations

  1. Annual: Equation to Monthly Trend Equation
  • Given Annual Equation: Y_annual = a + bX (X in 1year units):
  • Monthly Level Parameter: $a_{monthly} = a / 12$. Monthly Slope Parameter: $b_{monthly} = b / 12^2 = b / 144$.
  • Fitted Monthly Equation: $Y_{monthly} = (a / 12) + (b / 144) X_{monthly}$.
  1. Annual: Equation to Quarterly Trend Equation
  • Given Annual Equation: Y_annual = a + bX: Quarterly Level Parameter: $a_{quarterly} = a / 4$.
  • Quarterly Slope Parameter: $b_{quarterly} = b / 4^2 = b / 16$.
  • Fitted Quarterly Equation: $Y_{quarterly} = (a / 4) + (b / 16) X_{quarterly}$. ∑ Worked Illustration 3: Quarterly Trend Conversion & Seasonal Adjustment Forecast Given Annual Trend Equation: $Y_{annual} = 480 + 32 X$ (Origin: Mid-2022;

Y in ₹ Lakhs; X in 1 Year).

  • Quarterly Seasonal Indices: Q1 = 80% | Q2 = 110% | Q3 = 90% | Q4 = 120% (Diwali Festive Peak).
  1. Quarterly: Trend Equation Setup:
  • Quarterly Level: $a_q = 480 ÷ 4 = mathbf{120.00}$.
  • Quarterly Slope: $b_q = 32 ÷ 16 = mathbf{+2.00}$ (Quarterly growth increment). → Ŷ_quarterly = 120.00 + 2.00 X_quarterly (Origin: Middle of 2022, i.e., midpoint between Q2 and Q3 of 2022).
  1. Unadjusted: Trend for Q4 of 2023:
  • From Mid-2022 to Q4 2023 is 1.5 Years → $X_q = +5$ quarters (Mid-2022 is 0 → Q3 22 = +0.5, Q4 22 = +1.5, Q1 23 = +2.5, Q2 23 = +3.5, Q3 23 = +4.5,

Q4 23 = +5.5 quarters). → Unadjusted Trend Value = 120.00 + 2.00(5.5) = 120.00 + 11.00 = ₹131.00 Lakhs.

  1. Seasonally: Adjusted Final Forecast for Q4 2023: → Adjusted Forecast = Unadjusted Trend × (Seasonal Index ÷ 100) = ₹131.00 × (120 ÷ 100) = ₹157.20 Lakhs.
  • FINAL FORECASTING INSIGHT: While the baseline underlying trend predicts ₹131.00 Lakhs, the 120% festive seasonal multiplier elevates anticipated Q4 revenue to ₹157.20 Lakhs, guiding inventory procurement. 5.3 Forecast Accuracy & Error Metrics in Business Analytics In real-world data science and commercial forecasting, no model predicts actual future demand with 100% precision. Generating a forecast is merely the first phase; an enterprise analyst must continually monitor, quantify, and benchmark the magnitude of forecasting errors to validate model reliability, choose between alternative predictive algorithms, and set safety stock levels.
  • MATHEMATICAL FORMULATIONS: STANDARD FORECASTING ERROR METRICS Model Validation & Quality Audit Residual Fo rec ast E rro r: et = Y t − Ŷ t
  • Mean Abso lute D ev iatio n (MAD ): MAD = ∑ | et | ÷ n
  • Mean Squared E rro r (MSE ): MSE = ∑ (et )2 ÷ n | RMSE = √ (MSE ) Mean Abso lute P erc entage E rro r (MAP E ): MAP E = (1 ÷ n) ∑ [ | et | ÷ Y t ] × 100% Operational Interpretations:
  • Forecast Error (et): The deviation between actual observed reality (Yt) and predicted value (Ŷt). A positive error indicates under-forecasting; a negative error indicates over-forecasting.
  • Mean Absolute Deviation (MAD): Measures average error magnitude in identical physical units of the original data. Treating errors linearly avoids cancelling out positive and negative deviations.

Mean Squared Error (MSE) & Root Mean Squared Error (RMSE): Squares each individual error term, penalizing severe forecast blunders disproportionately. RMSE returns the metric to original units.

  • Mean Absolute Percentage Error (MAPE): A scale-independent relative accuracy percentage, allowing cross-category benchmarking between high-volume flagship products and low-volume niche items.
  • Tracking Signal (TS): Calculated as Cumulative Sum of Forecast Errors (CFE) ÷ MAD. A tracking signal exceeding ±4 signals systematic directional bias requiring immediate model recalibration. 5.4 Comparative Evaluation of Forecasting Accuracy Metrics Metric Mathematical Basis Primary Diagnostic Strength Operational Limitation / Risk Enterprise Use Case MAD Linear absolute errors Intuitive, directly communicates average expected unit variance.

Treats a single massive error the same as multiple minor errors.

Calculating safety buffer stock in warehouse logistics.

MSE / RMSE Quadratic squared errors Severely penalizes large outlier blunders; statistically rigorous.

Highly sensitive to rare anomalous data shocks. Optimizing econometric models and machine learning loss functions.

MAPE Relative percentage errors Completely unit-free; enables enterprise-wide cross-SKU audits.

Undefined or explodes if actual demand Yt = 0 or near zero.

Executive C-suite performance reporting and KPI benchmarking.

Tracking Signal Cumulative sum / MAD Instantly flags persistent over-forecasting or under-forecasting bias.

Requires consistent sequential tracking across multiple periods.

Automated inventory ERP alert triggers for model re-estimation. ∑ Worked Illustration 4: Comprehensive Forecast Accuracy Audit (MAD, MSE, RMSE, MAPE) Five Consecutive Quarters Demand & Model Forecast Data:

  • Actual Sales Y: Q1 = 120, Q2 = 135, Q3 = 150, Q4 = 140, Q5 = 165 units.
  • Forecast Sales Ŷ: Q1 = 115, Q2 = 140, Q3 = 142, Q4 = 150, Q5 = 160 units.
  1. Error: Computation Table:
  • Q1: e1 = 120 − 115 = +5 | |e| = 5 | e2 = 25 | (|e|/Y) = 5/120 = 4.17%
  • Q2: e2 = 135 − 140 = −5 | |e| = 5 | e2 = 25 | (|e|/Y) = 5/135 = 3.70%
  • Q3: e3 = 150 − 142 = +8 | |e| = 8 | e2 = 64 | (|e|/Y) = 8/150 = 5.33%
  • Q4: e4 = 140 − 150 = −10 | |e| = 10 | e2 = 100 | (|e|/Y) = 10/140 = 7.14%
  • Q5: e5 = 165 − 160 = +5 | |e| = 5 | e2 = 25 | (|e|/Y) = 5/165 = 3.03% → Totals (n = 5): ∑|e| = 33.0 | ∑e2 = 239.0 | ∑(|e|/Y) × 100 = 23.37%
  1. Mean: Absolute Deviation (MAD): → MAD = ∑|e| ÷ n = 33.0 ÷ 5 = 6.60 Units.
  2. Mean: Squared Error (MSE) & Root MSE (RMSE): → MSE = ∑e2 ÷ n = 239.0 ÷ 5 = 47.80 Units2. → RMSE = √(47.80) = 6.91 Units.
  3. Mean: Absolute Percentage Error (MAPE): → MAPE = 23.37% ÷ 5 = 4.67%.
  4. Tracking: Signal (TS) for Systematic Bias: → Cumulative Forecast Error (CFE) = (+5) + (−5) + (+8) + (−10) + (+5) = +3.0 Units. → Tracking Signal = CFE ÷ MAD = +3.0 ÷ 6.60 = +0.45 (Well within the safe ±4.0 boundary).
  • MANAGEMENT AUDIT VERDICT: With an exceptional MAPE of 4.67% (< 10% indicates highly accurate predictive modeling) and a negligible Tracking Signal (+0.45), the forecasting algorithm displays superior accuracy and zero directional bias. 5.5 Master Analytical Synthesis & Time Series Decision Matrix Analytical Scenario / Problem Optimal Time Series Methodology Key Computational Criterion Primary Business Deliverable Short-Term Adaptive Demand (e.g.,

Weekly SKU Reordering) Simple Exponential Smoothing (SES) Select smoothing constant α based on demand stability (α = 0.1 to 0.3 for stable demand).

Dynamic reorder point that updates with latest weekly inventory departures.

Macro Long-Term Multi-Year Expansion (e.g., Factory Sizing) Ordinary Least Squares (OLS) Linear or Parabolic Trend Shift origin to center (∑ X = 0) to solve normal equations directly. 5-year capital expenditure forecast and multi-year capacity roadmap.

Quarterly Budgeting with Pronounced Festive Swings Ratio-to-Moving Average Seasonal Decomposition Center 4-quarter moving averages to isolate T × C, derive seasonal indices normalized to 400.

Seasonally adjusted quarterly sales targets and working capital requirements.

Evaluating Competitive Forecasting Models MAPE and RMSE Benchmarking + Tracking Signal Select model minimizing MAPE; ensure Tracking Signal remains within [−4.0, +4.0].

Statistically validated algorithm ready for deployment into corporate ERP systems.

COM1MN109Essential Statistics for Business Analytics

Download Module 4 Notes (PDF)

Calicut University • FYUGP 2024 Syllabus

Download PDF

Finished this module?

Continue reading the next module or return to the subject overview.