Time Series Analysis for Data Analysts — India Edition
Time series components (trend, seasonality, noise), decomposition, moving averages, Indian festive season patterns (Diwali, Navratri, FY end), year-on-year analysis, and forecasting basics — with Python pandas and statsmodels code throughout.
The Three Components of a Time Series
Every business time series can be broken into three components. Understanding which component is driving a change is the first job of a time series analyst.
Indian Business Seasonality Calendar
India's seasonality patterns are more complex than Western markets — driven by the Hindu lunar calendar (festivals shift dates annually), the April–March financial year, monsoon patterns, and salary credit cycles. Every analyst working with Indian business data must internalise these patterns.
Moving Averages — Smoothing Out Noise
A moving average smooths short-term fluctuations to reveal the underlying trend. It replaces each data point with the average of a surrounding window of points.
Time Series Decomposition
Decomposition algorithmically separates a time series into trend, seasonality, and residual components — letting you analyse each independently.
Basic Forecasting — Prophet for Indian Data
Prophet (Meta's forecasting library) is particularly popular in India because it handles irregular holidays (like Diwali) explicitly. You can add custom holiday effects for any date pattern.
Time Series Techniques — When to Use What
Frequently Asked Questions
What makes time series analysis different from regular data analysis?
In regular cross-sectional analysis, you might compare average order values across cities — each data point is independent. In time series analysis, the ORDER of observations matters and consecutive observations are related. Today's sales depend partly on yesterday's sales, last week's, last year's. This temporal dependency means standard statistical methods (which assume independence) are not directly applicable. Time series requires special techniques: decomposition to separate trend from seasonality, autocorrelation analysis to understand lag relationships, and forecasting methods that respect the time ordering. For Indian businesses, this matters enormously — sales in October are not comparable to April without accounting for the Diwali seasonality effect. An analyst who compares October 2025 vs April 2025 and concludes October is 40% better has found the festive season, not business improvement.
How do you handle Indian seasonality like Diwali in time series?
Diwali falls on different dates each year (the Hindu lunar calendar), which makes automatic seasonal decomposition unreliable for Indian e-commerce data — standard models assume fixed seasonal patterns (same week each year). Several approaches help: (1) Create Diwali indicator features: a binary column marking the 14 days around Diwali for each year, and lag/lead features for run-up and post-festival periods. (2) Use year-on-year (YoY) comparisons instead of month-on-month — comparing this Diwali to last Diwali controls for seasonality. (3) Normalise by weeks from Diwali rather than calendar week. (4) Decompose the series after removing Diwali effects (residual analysis). Other key Indian seasonality events: financial year end (March/April) creates demand spikes in B2B; salary credit dates (1st–5th of each month) cause weekly micro-seasonality in consumer spending; IPL season (April–May) affects advertising costs; monsoon (June–September) affects certain category sales (umbrellas up, outdoor furniture down).
What is the difference between additive and multiplicative decomposition?
Both decompose a time series into three components: Trend (T), Seasonality (S), and Residual/Noise (R). The difference is how these combine: Additive: Y = T + S + R. Use when the seasonal fluctuation stays roughly constant in magnitude regardless of the level of the series. Example: a business that always sells ₹50 lakh more in October regardless of whether annual revenue is ₹5 crore or ₹10 crore. Multiplicative: Y = T × S × R. Use when seasonal fluctuation scales with the level — a business that spikes 40% every Diwali. If annual revenue doubles, the Diwali spike also roughly doubles in absolute terms. For most Indian e-commerce and FMCG businesses, multiplicative decomposition is more appropriate — the Diwali effect is percentage-based (40% uplift), not a fixed absolute amount. If your data shows seasonal swings that grow over time, use multiplicative. If the amplitude is stable, use additive.
What forecasting methods should a data analyst in India know?
For data analyst roles (not data scientist), these are the most relevant forecasting methods to know: (1) Moving Averages — simple but powerful for smoothing noise and spotting trends. Know 7-day (weekly) and 28-day (monthly) MAs. (2) Exponential Smoothing — gives more weight to recent observations. Simple Exponential Smoothing for stationary series; Holt-Winters for trend and seasonality. (3) Year-on-Year growth projection — for business forecasting: take last year's monthly actuals and apply a growth rate. Widely used in Indian companies. (4) ARIMA — the standard statistical forecasting model. Know what AR (autoregressive), I (integrated), and MA (moving average) mean conceptually, even if you use auto-ARIMA to choose parameters. Prophet (Meta's forecasting library) is very popular in India for business time series because it handles holidays (including Diwali) well. Deep learning models (LSTM) are for data science roles, not analyst-level expectation.
EVIKA ACADEMY · NOIDA SECTOR 51
Master Time Series Analysis for Indian Businesses
Our curriculum covers time series decomposition, forecasting with Prophet, and Indian seasonality analysis applied to real datasets from e-commerce, FMCG, and fintech companies.
Book Free Demo Class →