Recall & Review
beginner
What is a moving average in data analysis?
A moving average is a way to smooth out data by taking the average of a fixed number of recent points. It helps show trends by reducing noise.
Click to reveal answer
intermediate
Explain the difference between a simple moving average (SMA) and an exponential moving average (EMA).
SMA calculates the average of data points equally over a fixed window. EMA gives more weight to recent data points, making it respond faster to changes.
Click to reveal answer
beginner
Why are moving averages useful in machine learning?
They help smooth noisy data, making patterns clearer. This can improve model training by focusing on trends rather than random fluctuations.
Click to reveal answer
intermediate
How does the window size affect a moving average?
A larger window smooths data more but reacts slower to changes. A smaller window reacts faster but may keep more noise.
Click to reveal answer
beginner
Write the formula for a simple moving average (SMA) of window size N.
SMA at time t = (x_t + x_{t-1} + ... + x_{t-N+1}) / N, where x_i are data points.
Click to reveal answer
What does a moving average help to reduce in data?
✗ Incorrect
Moving averages smooth data by reducing noise, making trends easier to see.
Which moving average type gives more weight to recent data?
✗ Incorrect
EMA assigns more weight to recent points, reacting faster to changes.
If you want a moving average to react quickly to recent changes, you should use:
✗ Incorrect
A smaller window size makes the moving average more sensitive to recent changes.
Which of these is NOT a benefit of using moving averages?
✗ Incorrect
Moving averages reduce noise, not increase it.
The formula SMA at time t = (x_t + x_{t-1} + ... + x_{t-N+1}) / N means:
✗ Incorrect
SMA is the average of the last N data points.
Describe what a moving average is and why it is useful in analyzing data.
Think about how averaging recent values helps see the bigger picture.
You got /4 concepts.
Explain the difference between simple moving average and exponential moving average and when you might use each.
Consider how quickly you want the average to respond to new data.
You got /5 concepts.