Here are moving average examples to calculate moving average across various scenarios, including weekly closing prices, finance, weather analysis, business, and personal habits.
Example 1:
Data Input: 10, 12, 14, 16, 18, 20, 22
Number of Consecutive Points to Average: 2
Moving Average: 11, 13, 15, 17, 19, 21
Example 2:
Data Input: 50, 55, 60, 65, 70, 75, 80
Number of Consecutive Points to Average: 4
Moving Average: 57.5, 62.5, 67.5, 72.5
Example 3:
Data Input: 5, 8, 11, 14, 17, 20, 23
Number of Consecutive Points to Average: 3
Moving Average: 8, 11, 14, 17, 20
Example 4:
Data Input: 100, 120, 140, 160, 180, 200, 220
Number of Consecutive Points to Average: 5
Moving Average: 140, 160, 180
Example 5:
Data Input: 1, 3, 5, 7, 9, 11, 13
Number of Consecutive Points to Average: 3
Moving Average: 3, 5, 7, 9, 11