Here are simple moving average examples to calculate simple moving average (SMA) across various scenarios, including weekly closing prices, daily temperatures, monthly sales, study hours, and calorie consumption.
Example 1: Calculating SMA for Weekly Closing Prices
Data: Week 1: $20, Week 2: $22, Week 3: $24, Week 4: $23, Week 5: $25
Number of Consecutive Points to Average: 2
SMA Values: $21, $23, $23.5, $24
Example 2: Calculating SMA for Daily Temperatures
Data: Day 1: 70°F, Day 2: 72°F, Day 3: 68°F, Day 4: 75°F, Day 5: 74°F
Number of Consecutive Points to Average: 5
SMA Values: 71.8°F
Example 3: Calculating SMA for Monthly Sales
Data: Month 1: $500, Month 2: $600, Month 3: $550, Month 4: $700, Month 5: $650
Number of Consecutive Points to Average: 4
SMA Values: $587.5, $625
Example 4: Calculating SMA for Weekly Study Hours
Data: Week 1: 10 hours, Week 2: 12 hours, Week 3: 11 hours, Week 4: 15 hours, Week 5: 13 hours
Number of Consecutive Points to Average: 2
SMA Values: 11 hours, 11.5 hours, 13 hours, 14 hours
Example 5: Calculating SMA for Weekly Calories Consumed
Data: Week 1: 2000 calories, Week 2: 2100 calories, Week 3: 2200 calories, Week 4: 2300 calories, Week 5: 2400 calories
Number of Consecutive Points to Average: 3
SMA Values: 2100 calories, 2200 calories, 2300 calories