HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Notes
  2. /Time Series and Moving Averages: Quick Revision
Statistics & Data Science

Time Series and Moving Averages: Quick Revision

A brief note on time series graphs, moving averages and centring, trend lines, seasonal variations and components, and forecasts with their limits. With a worked example, practice, a program and questions to check yourself.

StemPy LabWritten by StemPy Lab
Log in to save

A brief note on Time Series and Moving Averages. Read it before a test. Try each question at the end before you open its answer.

The steps

  1. Plot the values against time and join the points.
  2. Moving averages over one full cycle: 3 points for terms, 4 for quarters, 7 for days, 12 for months.
  3. Centre them when the number of points is even.
  4. Trend line by eye through the moving averages.
  5. Seasonal variation === actual −-− trend.
  6. Seasonal component === the mean of the variations of one season.
  7. Forecast === trend value +++ seasonal component.

The ideas

  • Trend, seasonal variation and random variation are the three movements.
  • An odd-point average sits on the middle time. An even-point average sits between two times.
  • The components should add up to about zero.
  • A forecast assumes the trend and the pattern carry on. It is less reliable further ahead.

A worked example

A kiosk sells ice creams, in hundreds, each quarter: year 1 12, 30, 44, 14; year 2 16, 34, 48, 18.

  1. 4-point averages. 25, 26, 27, 28 and 29.
  2. Centred averages. 25.5, 26.5, 27.5 and 28.5, at quarters 3 to 6.
  3. A seasonal variation. At quarter 3: 44−25.5=18.544 - 25.5 = 18.544−25.5=18.5 hundred.

Practice with new numbers

A program to try

The program works out the averages of the worked example.

Run it. Which line prints the variation of step 3?

1. Add the variation of quarter 4: sales[3] - centred[1]. Is it positive or negative?

Mistakes to avoid

  • Centring an odd-point average. Only even-point averages need it.
  • Variation the wrong way round. Actual minus trend.
  • Dropping the sign of a component in a forecast.

Check yourself

  1. Find the 3-point moving average of 21, 27 and 36.
  1. Centre the 4-point averages 40 and 43.
  1. The trend value is 96 and the component is −7.5-7.5−7.5. Give the forecast.
  1. Why is a forecast for far ahead less reliable?
← All Notes
← Index Numbers: Quick RevisionNext →
More onTime Series

Discussion (0)

Log in to join the discussion.

Loading…

On this page

  1. The steps
  2. The ideas
  3. A worked example
  4. Practice with new numbers
  5. A program to try
  6. Mistakes to avoid
  7. Check yourself

Goes with the lesson

  1. Seasonal components and forecastsTime Series and Moving Averages