top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S3-SA3-0153

What is Moving Average?

Grade Level:

Class 9

AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering

Definition
What is it?

A Moving Average is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set. It helps to smooth out short-term fluctuations and highlight longer-term trends or cycles in data. Think of it as finding the 'average trend' over a specific period.

Simple Example
Quick Example

Imagine you check the price of a cup of chai at your local tapri every day for a week. If you calculate the average price for the first three days, then drop the first day and add the fourth day to get a new three-day average, and so on, you are calculating a 3-day moving average. This helps you see if chai prices are generally going up or down, ignoring daily small changes.

Worked Example
Step-by-Step

Let's calculate the 3-day Moving Average for daily cricket scores: 20, 30, 25, 35, 40.

Step 1: Identify the data set and the 'window' for the moving average. Data: 20, 30, 25, 35, 40. Window: 3 days.
---Step 2: Calculate the average for the first 3 days: (20 + 30 + 25) / 3 = 75 / 3 = 25.
---Step 3: Move the window one day forward. Calculate the average for the next 3 days (days 2, 3, 4): (30 + 25 + 35) / 3 = 90 / 3 = 30.
---Step 4: Move the window again. Calculate the average for the next 3 days (days 3, 4, 5): (25 + 35 + 40) / 3 = 100 / 3 = 33.33 (approximately).
---Answer: The 3-day Moving Averages are 25, 30, and 33.33.

Why It Matters

Moving Averages are super important in fields like finance, weather forecasting, and even predicting exam scores. Data scientists use them to spot trends in huge datasets, helping companies make smart decisions. Engineers use them to smooth sensor readings, making machines more reliable, and economists use them to understand market behaviour.

Common Mistakes

MISTAKE: Including the 'oldest' data point in every new average calculation. | CORRECTION: For each new moving average, you drop the oldest data point from the previous window and add the newest data point.

MISTAKE: Not understanding what the 'window' (or period) means. | CORRECTION: The window defines how many data points are included in each average calculation. A 5-day moving average uses 5 data points for each average.

MISTAKE: Confusing Moving Average with a simple overall average. | CORRECTION: A simple average calculates one average for the entire dataset. A Moving Average calculates multiple averages, each for a specific, shifting subset of the data.

Practice Questions
Try It Yourself

QUESTION: Calculate the 2-day Moving Average for daily mobile data usage (in GB): 2, 3, 1, 4. | ANSWER: (2+3)/2 = 2.5; (3+1)/2 = 2; (1+4)/2 = 2.5. The 2-day Moving Averages are 2.5, 2, 2.5.

QUESTION: A student's marks in 5 tests were 60, 70, 65, 80, 75. What is the 3-test Moving Average? | ANSWER: (60+70+65)/3 = 65; (70+65+80)/3 = 71.67; (65+80+75)/3 = 73.33. The 3-test Moving Averages are 65, 71.67, 73.33.

QUESTION: The daily temperature in Delhi for 6 days was 28, 30, 31, 29, 32, 30 degrees Celsius. Calculate the 4-day Moving Average. How many moving averages will you get? | ANSWER: (28+30+31+29)/4 = 29.5; (30+31+29+32)/4 = 30.5; (31+29+32+30)/4 = 30.5. You will get 3 moving averages: 29.5, 30.5, 30.5.

MCQ
Quick Quiz

Which of the following best describes the purpose of a Moving Average?

To find the single average of all data points.

To identify the highest and lowest values in a dataset.

To smooth out short-term fluctuations and highlight trends.

To predict future data points with 100% accuracy.

The Correct Answer Is:

C

A Moving Average helps in smoothing data by averaging subsets, which reveals underlying trends more clearly. It's not about finding a single average, identifying extremes, or guaranteeing future predictions.

Real World Connection
In the Real World

Stock market analysts in India constantly use Moving Averages to predict if share prices of companies like Reliance or TCS will go up or down. If the current price crosses above a long-term Moving Average, it might signal a good time to buy. Similarly, weather apps use Moving Averages to show temperature trends, helping you decide if you need a jacket next week.

Key Vocabulary
Key Terms

TREND: A general direction in which something is developing or changing | FLUCTUATION: Irregular rising and falling in number or amount | DATA SET: A collection of related data | WINDOW: The number of data points included in each moving average calculation

What's Next
What to Learn Next

Now that you understand Moving Averages, you can explore different types like Exponential Moving Averages (EMA), which give more weight to recent data. This will further deepen your understanding of how data trends are analyzed in advanced applications like AI and Machine Learning!

bottom of page