Sign inSign upSign in
Menu

Time Series Analysis and Moving Averages

ICAN Foundation, Management Accounting. Syllabus area D: Forecasting, budgeting and budgetary control.

14 min read · Updated 8 November 2026

Download this topic

In this part

Look at a firm’s monthly sales for three years and you will usually see three things at once: a general direction (up or down), a repeating pattern within each year (high at Christmas, low in the rains), and some untidy noise. A time series analysis pulls these apart.

Once the direction and the pattern are known separately, they can be projected forward and put back together to forecast the future.

This topic covers the nature of a time series, its four components, the additive and multiplicative models, and the technique of moving averages used to estimate the trend, including centred moving averages for an even-length cycle. The next topic turns the trend into a line of best fit and calculates the seasonal variations. The calculations here are mechanical but easy to slip on, so each step is shown in full.

In 30 seconds

A time series is a record of a variable at regular intervals. It has four components: trend (long-term direction), seasonal variation (regular pattern within a year or week), cyclical variation (longer, irregular swings, tied to the economy) and random variation (unpredictable). Additive model: TS = T + S + C + R. Multiplicative (proportional) model: TS = T × S × C × R. Random and cyclical effects are usually ignored.

A moving average averages one full cycle at a time (5 days, 12 months, 4 quarters) to smooth out seasonal effects and reveal the trend. With an even cycle, average the moving averages in pairs to get a centred moving average that lines up with an actual period.

The nature of a time series

A time series is a sequential record of data points collected at regular intervals, such as monthly sales revenue or quarterly profit. It is a structured record of the past and a tool for predicting the future: by studying how a variable behaved over time, accountants can extend the series forward. But first the series must be split into its component parts.

The components of a time series

ComponentSymbolMeaningExample
TrendTThe general, long-term direction of the data: a persistent rise or fall over time. It may reflect economic growth, inflation, technology or expansionQuarterly profits that rise steadily over five years
Seasonal variationSRegular fluctuations repeating at fixed intervals within a year (or a week). Caused by weather, holidays or customer habits. In this chapter it means the difference between the actual value in a period and the value predicted by the trendRetail sales rising every December; cold drinks selling more in the dry season
Cyclical variationCSwings lasting longer than a year, without a fixed period, linked to the economic or business cycle (boom, recession, recovery)Sales growing quickly in a boom and falling in a recession, whatever the underlying trend
Random (irregular) variationRUnpredictable, non-recurring effects of unusual events. Treated as noiseA flood or strike that halts production for a week

The term “seasonal variation” has a specific meaning in this analysis. It refers to the variation in each period of the cycle, so it could be daily, weekly, monthly or quarterly depending on the data.

What exam questions usually assume

  • Questions ask you to identify a trend and seasonal variations.
  • Random fluctuations cannot be predicted, so they are normally assumed to be negligible and ignored.
  • There is usually too little data to identify cyclical variations, which also need many years of history, so they are ignored.

A time series is drawn as a graph with time along the horizontal axis. The syllabus calls this plot a histogram, but it is more properly a line graph or time series plot. On it, the trend is a smooth line, and the actual values bounce above and below it because of seasonal variation.

The two models

Additive modelMultiplicative (proportional) model
FormulaTS = T + S + C + RTS = T × S × C × R
AssumptionThe components are independent, and seasonal effects are about the same size in every periodThe components interact, and seasonal effects are proportional to the trend, growing as the trend grows
Seasonal variation expressed asA fixed amount above or below the trend (for example +₦4m or −₦3m)A percentage or proportion of the trend (for example 1.10 or 0.94)
SuitsBusinesses where the seasonal swing stays about the same in naira termsBusinesses where bigger sales mean bigger seasonal swings
Seasonal variations in a cycleAdd to zeroAverage 1 (add to the number of periods, e.g. 4 for quarters)

With the additive model, the forecast for a period is: trend value + seasonal variation. With the multiplicative model, it is: trend value × seasonal proportion.

Analysing a time series

There are two jobs: estimate the trend line, and calculate the seasonal variations. A forecast then takes the trend value for the future period and adjusts it for the season. Two methods give a trend line: moving averages and linear regression. They can also be used together: moving averages to reveal the trend, and regression to fit a line to the moving averages.

Moving averages

A moving average smooths out fluctuations by averaging small groups of consecutive values. The group size equals the length of the cycle. A seasonal pattern repeating every cycle is cancelled out when exactly one full cycle is averaged, leaving the trend.

DataCycleMoving average of
Daily, with a weekly pattern (5-day working week)5 days5 values
Daily, 7-day week7 days7 values
Monthly, with a yearly pattern12 months12 values
Quarterly, with a yearly pattern4 quarters4 values

Steps

  1. Decide the length of the cycle. Number each period 1, 2, 3 and so on, instead of using names or dates.
  2. Calculate the moving averages. Average the first cycle of values, then slide the group forward one period and average again, until the data is used up. Each average belongs to the middle of the group it covers.
  3. Centre if needed. If the cycle has an even number of periods, the average falls between two periods (for example, between Q2 and Q3). Average each adjacent pair of moving averages to get a centred moving average that lines up with an actual period.
  4. Use the results as the trend to find a line of best fit (next topic).

Odd cycle: a five-day example

A shop works five days a week. Daily sales (units) over three weeks, numbering the days 1 to 15, are:

MonTueWedThuFri
Week 1 (days 1-5)6576858485
Week 2 (days 6-10)809110099100
Week 3 (days 11-15)95106115114115
DaySales5-day totalMoving average (÷ 5)
165
276
38565+76+85+84+85 = 39579
48476+85+84+85+80 = 41082
58542585
68044088
79145591
810047094
99948597
10100500100
1195515103
12106530106
13115545109
14114
15115

The first moving average (79) is the average of days 1 to 5 and belongs to day 3, the middle day. The next (82) belongs to day 4, and so on. The moving averages rise by exactly 3 each day, so the trend is a straight line rising by 3 units a day.

The process always loses values at the start and end of the series: with a 5-point average, the first two and last two days have no moving average.

An equation for the trend can use day 3 as the anchor: trend = 79 + 3 × (day − 3) = 70 + 3 × day. Forecast for day 20 (a Friday): 70 + 3 × 20 = 130, assuming sales keep growing at 3 a day. A further adjustment for the day of the week is added in the next topic.

Centred moving averages

When the cycle has an even number of periods, a moving average falls between two periods. For quarterly data, the average of Q1 to Q4 sits at “quarter 2.5”, and the average of Q2 to Q5 at “quarter 3.5”. Seasonal variation needs a trend value opposite an actual quarter, so a second average is taken of each adjacent pair. These are the centred moving averages.

Example. Quarterly sales (₦m) over three years, with the quarters numbered 1 to 12:

Q1Q2Q3Q4
Year 119253026
Year 227333834
Year 335414642
QuarterSales4-quarter totalMoving average (÷ 4)Sum of 2 moving averagesCentred moving average (÷ 2)
119
225100 (Q1-Q4)25.0 (at 2.5)
330108 (Q2-Q5)27.0 (at 3.5)52.026.0
42611629.056.028.0
52712431.060.030.0
63313233.064.032.0
73814035.068.034.0
83414837.072.036.0
93515639.076.038.0
104116441.080.040.0
1146
1242

The total in each row is the sum of four consecutive quarters. For example, 19 + 25 + 30 + 26 = 100, and 100 ÷ 4 = 25.0, sitting between Q2 and Q3. The centred value for Q3 is (25.0 + 27.0) ÷ 2 = 26.0. A short cut: centred moving average = (sum of the two 4-quarter totals) ÷ 8. For Q3: (100 + 108) ÷ 8 = 26.0. The first centred value is at Q3 and the last at Q10, so four values are lost, two at each end.

The ideas in more depth

Why averaging a full cycle removes seasonality

Over one complete cycle, the seasonal variations add up to zero (additive model): the highs cancel the lows. So the average of one full cycle contains only the trend (and a little noise). If you averaged fewer or more periods than a full cycle, some seasons would be counted more than others, and the seasonal effect would not cancel.

How many values are lost?

Cycle lengthValues lost at each endTotal lost
Odd (such as 5 or 7)(length − 1) ÷ 2, so 2 for a 5-day cycle4 (5-day) or 6 (7-day)
Even, centred (such as 4 or 12)Length ÷ 2, so 2 for quarters and 6 for months4 (quarterly) or 12 (monthly)

This matters because the first and last periods of the data have no trend value. Later forecasts extend the trend line beyond the available moving averages.

Using the moving averages for short-term forecasts

A moving average can itself be used for a quick forecast. If the last three months’ sales are 120, 132 and 126, the three-month moving average is 126, a simple forecast for next month. This works for a stable series but lags behind a clear trend, because it averages old values with new. That is why, for trending data, a trend line fitted to the moving averages, followed by seasonal adjustment, is preferred.

Choosing between additive and multiplicative

Plot the data. If the highs and lows around the trend stay about the same size as the trend grows, use the additive model. If they widen as the trend grows, use the multiplicative model. Examiners will normally tell you which model to use.

Common assumptions

  • The pattern within the cycle repeats in the same way every cycle.
  • The trend continues in a straight line.
  • Random variation is negligible and cyclical variation can be ignored.
  • The cycle length is correctly identified.

Worked example: building the trend from quarterly data

Scenario. A firm’s quarterly sales (₦000) over three years are: Year 1: 40, 55, 70, 50. Year 2: 48, 63, 78, 58. Year 3: 56, 71, 86, 66. Calculate the four-quarter moving averages and the centred moving averages, describe the trend and find the trend value for quarter 3 of year 1.

  1. Four-quarter totals.
    Q1-Q4: 40 + 55 + 70 + 50 = 215.
    Q2-Q5: 55 + 70 + 50 + 48 = 223.
    Q3-Q6: 231.
    Q4-Q7: 239.
    Q5-Q8: 247.
    Q6-Q9: 255.
    Q7-Q10: 263.
    Q8-Q11: 271.
    Q9-Q12: 279.
  2. Moving averages (÷ 4). 53.75, 55.75, 57.75, 59.75, 61.75, 63.75, 65.75, 67.75, 69.75.
  3. Centred moving averages.
    Q3: (53.75 + 55.75) ÷ 2 = 54.75.
    Q4: 56.75.
    Q5: 58.75.
    Q6: 60.75.
    Q7: 62.75.
    Q8: 64.75.
    Q9: 66.75.
    Q10: 68.75.
  4. Describe the trend. It rises by exactly ₦2,000 per quarter, from 54.75 at Q3 to 68.75 at Q10 (an increase of 14 over 7 quarters).
  5. Trend value for Q3 of year 1. This is the first centred moving average: ₦54,750.

Seeing the components together

The additive model says that each value is the trend plus the seasonal variation plus random variation. A worked illustration makes the idea concrete. Take four consecutive quarters with these components:

QuarterTrend (T)Seasonal (S)Random (R)Actual = T + S + R
1100+8+1109
2104−3−1100
3108−12096
4112+7+2121

The seasonal variations sum to zero (8 − 3 − 12 + 7 = 0), as the additive model requires. Looking only at the actual column (109, 100, 96, 121), you could not tell which part of the movement is growth and which is season. The analysis in this chapter works backwards: it starts from the actuals, estimates the trend with moving averages, and obtains the seasonal variations by difference. The random part is what is left over, and it is assumed small.

Using moving averages directly for a quick forecast

Besides estimating a trend, a moving average can be used as a simple forecast, particularly for stable series with no marked seasonality. Take the last three periods of sales: 132, 126 and 138. The simple three-period moving average is (132 + 126 + 138) ÷ 3 = 132. A weighted moving average gives more weight to recent periods. With weights of 1, 2 and 3 (the latest period weighted 3): (132 × 1 + 126 × 2 + 138 × 3) ÷ 6 = 798 ÷ 6 = 133. The weighted figure is higher because the latest sales were the highest.

The longer the average, the smoother the result, but the slower it responds to genuine changes. A 12-month average hardly moves from month to month; a 3-month average is more reactive but also more affected by random noise. Where there is a clear trend, simple moving average forecasts lag behind: they always look backwards.

A twelve-month cycle

With monthly data and a yearly pattern, the cycle is 12 months, an even number, so the same centring step is used. Each moving total covers 12 months and each moving average is placed between months 6 and 7. To centre it, average two adjacent moving averages. A shortcut: add two adjacent 12-month totals and divide by 24.

For example, if the 12-month totals ending in consecutive months are ₦1,440 and ₦1,476 (thousands), the centred moving average is (1,440 + 1,476) ÷ 24 = 121.5. Six values are lost at the start and six at the end, so a record of three years of months (36 values) yields 24 trend values.

Drawing a time series and its trend

  1. Put time on the horizontal axis and the variable on the vertical axis. Plot each value and join the points.
  2. Plot each centred moving average against its period. These points should lie on a smooth, nearly straight line.
  3. Draw the trend line through them, using the equation if one has been calculated.
  4. The vertical gap between the actual line and the trend line is the seasonal (and random) variation for each period.
  5. Extend the trend line to the future periods to be forecast.

A graph helps to show whether the additive or the proportional model fits. If the gaps between the actual and trend lines stay the same size as the trend rises, the additive model is suitable. If they widen as the trend rises, the proportional model is better.

Seasonal or cyclical?

Examination questions may ask you to distinguish these, and to say why cyclical variations are usually ignored.

Seasonal variationCyclical variation
LengthWithin a year (or week) and repeats at fixed intervalsLonger than a year and varies in length
CauseWeather, holidays, customer habitsThe business or economic cycle: boom, recession, recovery
PredictabilityRegular, so can be measured and forecastIrregular timing, hard to predict
ExampleSchool uniform sales peaking before each termConstruction demand growing in a boom and falling in a downturn
In examsEstimated and usedUsually ignored because there are too few years of data

Common mistakes in the exam

  • Using a moving average of the wrong length. It must equal the cycle length.
  • Placing the moving average against the first period of the group instead of the middle.
  • Forgetting to centre when the cycle is even.
  • Dividing the sum of two moving averages by 4 instead of 2, or the sum of two totals by 4 instead of 8.
  • Naming the components without explaining them.
  • Mixing up the additive model (add, absolute amounts) and the multiplicative model (multiply, proportions).
  • Trying to forecast the random component.

Quick revision

  • Time series components: trend, seasonal, cyclical, random. Ignore random and cyclical in exams.
  • Additive: TS = T + S + C + R. Multiplicative: TS = T × S × C × R.
  • Moving average: average one full cycle (5 days, 12 months, 4 quarters). Sits at the middle of the group.
  • Even cycle: centre by averaging adjacent pairs (or divide the sum of two totals by 8 for quarters).
  • Moving averages lose values at both ends.

Practice questions

These are original questions written in the style of the Institute of Chartered Accountants of Nigeria (ICAN) exam. Try each one before you open the answer.

Section A style: multiple choice

Question 1. The long-term direction of a time series is its:

  1. Seasonal variation
  2. Trend
  3. Random variation
  4. Cyclical variation
Show the answer

B. It shows persistent increase or decrease.

Question 2. The additive model is:

  1. TS = T × S × C × R
  2. TS = T + S + C + R
  3. TS = T − S
  4. TS = T ÷ S
Show the answer

B. The components are added.

Question 3. Daily sales of 80, 84, 88, 92 and 96 give a five-day moving average of:

  1. 84
  2. 88
  3. 92
  4. 440
Show the answer

B. 440 ÷ 5 = 88, which belongs to the middle day.

Question 4. Four-quarter moving averages of 25.0 and 27.0 give a centred moving average of:

  1. 25.0
  2. 26.0
  3. 27.0
  4. 52.0
Show the answer

B. (25.0 + 27.0) ÷ 2 = 26.0.

Question 5. Centring is needed when the cycle has:

  1. An even number of periods
  2. An odd number of periods
  3. One period
  4. No pattern
Show the answer

A. Otherwise the average falls between two periods.

Question 6. For monthly data with a yearly pattern, the moving average should cover:

  1. 4 months
  2. 7 months
  3. 12 months
  4. 3 months
Show the answer

C. One full cycle.

Question 7. Which component cannot be predicted?

  1. Trend
  2. Seasonal variation
  3. Random variation
  4. None of these
Show the answer

C. It results from unusual events.

Question 8. Cyclical variations differ from seasonal variations because they:

  1. Repeat within each year
  2. Last longer than a year and have no fixed period
  3. Are random
  4. Are always zero
Show the answer

B. They follow the economic cycle.

Question 9. The multiplicative model is appropriate when seasonal effects:

  1. Are constant in naira terms
  2. Grow in proportion to the trend
  3. Are zero
  4. Are random
Show the answer

B. Seasonal swings are proportional to the trend level.

Question 10. The trend is y = 70 + 3x (x = day number). The trend value for day 20 is:

  1. 130
  2. 90
  3. 133
  4. 60
Show the answer

A. 70 + 3 × 20 = 130.

Section B style: written questions

Question 11 (10 marks). Describe the four components of a time series and distinguish the additive model from the multiplicative model.

Question 12 (20 marks). Quarterly sales (₦000) over three years are: Year 1: 40, 55, 70, 50. Year 2: 48, 63, 78, 58. Year 3: 56, 71, 86, 66.

(a) Calculate the four-quarter moving averages and the centred moving averages. (10 marks)

(b) Using the first and last centred moving averages, find the equation of the trend line, with the first centred value as the starting point. (6 marks)

(c) Forecast the trend value for quarter 16 (Year 4, Q4). (4 marks)

A further written question

Question 13 (10 marks). Sales for six periods are 12, 15, 18, 15, 18, 21, and the seasonal cycle is three periods. (a) Calculate the three-period moving averages. (4 marks) (b) State the trend. (2 marks) (c) Explain why a four-quarter moving average needs a second averaging step. (4 marks)

Model answers

Show the model answer to Question 11

Components. Trend: the general long-term direction, a persistent rise or fall. Seasonal variation: regular fluctuations repeating within a year or week, caused by weather, holidays or customer habits. Cyclical variation: swings longer than a year with no fixed period, tied to the economic or business cycle. Random variation: unpredictable, non-recurring variations from unusual events, treated as noise.

Models. The additive model, TS = T + S + C + R, assumes the components are independent and that seasonal effects are roughly constant in size. The multiplicative (proportional) model, TS = T × S × C × R, assumes the components interact, so seasonal effects are proportional to the trend and grow as it grows. Seasonal variations are absolute amounts adding to zero in the additive model, and proportions averaging one in the multiplicative model.

Show the model answer to Question 12

(a) Four-quarter totals: 215, 223, 231, 239, 247, 255, 263, 271, 279 (Q1-Q4 to Q9-Q12). Moving averages (÷ 4): 53.75, 55.75, 57.75, 59.75, 61.75, 63.75, 65.75, 67.75, 69.75. Centred moving averages: Q3 54.75; Q4 56.75; Q5 58.75; Q6 60.75; Q7 62.75; Q8 64.75; Q9 66.75; Q10 68.75.

(b)

  1. The first centred value is 54.75 (Q3) and the last is 68.75 (Q10), seven quarters later.
  2. Slope = (68.75 − 54.75) ÷ 7 = 14 ÷ 7 = 2.
  3. With Q3 as x = 0, the trend line is y = 54.75 + 2x (₦000).

(c)

  1. Q16 is 13 quarters after Q3, so x = 13.
  2. Trend = 54.75 + 2 × 13 = 54.75 + 26 = ₦80,750.
Show the model answer to Question 13

(a)

  1. Averages.
    (12 + 15 + 18) ÷ 3 = 15 (period 2)
  2. (15 + 18 + 15) ÷ 3 = 16 (period 3)
  3. (18 + 15 + 18) ÷ 3 = 17 (period 4)
  4. (15 + 18 + 21) ÷ 3 = 18 (period 5).

(b) The moving averages rise by 1 each period, so the trend is upward at 1 unit per period, with trend = 15 at period 2.

(c) With four quarters in the cycle, the moving average of four values falls at the midpoint between the second and third quarters, which is not an actual quarter. Seasonal variation compares the actual value in a quarter with the trend value for that quarter, so a trend value is needed opposite each actual quarter.

Averaging each adjacent pair of moving averages gives a centred moving average that lines up with a real quarter.

Pathfinder on Time series analysis and moving averages

These are the ICAN Pathfinder questions that test this topic. ICAN owns the questions and the suggested solutions, so we point you to them and do not copy them. Open your Pathfinder, attempt each question under exam conditions, then check your answer against the notes above.

May Diet, 2024: Question 1 (previous syllabus)

Part (a), 10 marks, asks how a time series can be analysed. It covers the trend line, moving averages and seasonal variation. Part (b) asks about the two models used to estimate seasonal variation.

Revise first: Analysing a time series

May Diet, 2024: Question 1, part (b) (previous syllabus)

Asks you to explain the two models used to estimate seasonal variation, the additive and the proportional model.

Revise first: The two models

Section A of each diet (multiple choice)

Multiple-choice items can test the components of a time series, the length of a moving average and centring. Check Section A of every diet you practise.

Revise first: Moving averages

Source: ICAN Pathfinder, Management Accounting. Diets covered: May Diet, 2024 (previous syllabus). May Diet, 2025 and November Diet, 2024 are not covered here.

Spotted a mistake? Tell us and we will check it.

Where this fits

See every past question on Management Accounting and the topic each one tests in the Pathfinder question finder.

After it, move on to Performance Management.

All Management Accounting topics

You are reading topic 28 of 41.

  1. Data, information and the qualities of good information01
  2. Nature and purpose of management accounting02
  3. Management information systems03
  4. Spreadsheets in cost and management accounting04
  5. Big data and data analytics05
  6. Cost classification by element, function and behaviour06
  7. Direct and indirect costs, product and period costs, and cost codification07
  8. Cost segregation and the high-low method08
  9. Linear regression and the correlation coefficient09
  10. Inventory procedures, documents and records10
  11. Inventory valuation: FIFO, LIFO and average cost11
  12. Economic order quantity and inventory control levels12
  13. Just-in-time and other inventory management systems13
  14. Labour costs, recording and remuneration methods14
  15. Labour turnover and payroll accounting15
  16. Manufacturing overheads and the stages of absorption costing16
  17. Overhead apportionment and service department costs17
  18. Overhead absorption, under- and over-absorption, fixed and variable overheads18
  19. Job costing and batch costing19
  20. Process costing: normal loss, abnormal loss and abnormal gain20
  21. Process costing: equivalent units and work-in-progress21
  22. Joint products and by-products22
  23. Service costing23
  24. Marginal and absorption costing: preparing profit statements24
  25. Reconciling profits and comparing marginal and absorption costing25
  26. Cost control and cost reduction26
  27. Forecasting: types, process and methods27
  28. Time series analysis and moving averages28 here
  29. Lines of best fit and seasonal variations29
  30. The budgeting system, principal budget factor and budget process30
  31. Preparing functional budgets31
  32. Cash budgets and the master budget32
  33. Standard costing: purposes, operation and standard cost cards33
  34. Direct material and direct labour variances34
  35. Variable and fixed production overhead variances35
  36. Sales variances and reconciling budgeted and actual profit36
  37. Cost-volume-profit analysis and break-even point37
  38. Margin of safety and break-even charts38
  39. Relevant cost analysis39
  40. Limiting factors and make-or-buy decisions40
  41. Other short-term decisions and shutdown decisions41
See the whole course

Get the complete Management Accounting notes

Download as PDF or Word

  • Every topic as PDF and Word, ready to print
  • Edit it in Word or print the PDF. No retyping.
Get this course

Reading stays free. Access lasts 12 months. Pay by card, bank transfer, USSD or QR through Paystack. Your name and email appear on every page of your files. Read our Refund Policy.

PracticeNext topic