Final answer:
a) The high temperature for today using a 3-day moving average is 92.67. b) The high temperature for today using a 2-day moving average is 91.5. c) The mean absolute deviation based on a 2-day moving average is 1.5. d) The mean squared error for the 2-day moving average is 2.25. e) The mean absolute percent error (MAPE) for the 2-day moving average is 1.64%.
Step-by-step explanation:
a) To find the high temperature for today using a 3-day moving average, we take the average of the temperatures from the last three days. So, the average of 95, 90, and 93 is:
(95 + 90 + 93) / 3 = 92.67
b) To find the high temperature for today using a 2-day moving average, we take the average of the temperatures from the last two days. So, the average of 90 and 93 is:
(90 + 93) / 2 = 91.5
c) The mean absolute deviation based on a 2-day moving average is the average absolute difference between each temperature and the 2-day moving average. To calculate this, we subtract the 2-day moving average from each temperature, take the absolute value, and calculate the average. So, the mean absolute deviation is:
(|90 - 91.5| + |93 - 91.5|) / 2 = 1.5
d) The mean squared error for the 2-day moving average is the average of the squared differences between each temperature and the 2-day moving average. To calculate this, we subtract the 2-day moving average from each temperature, square the result, and calculate the average. So, the mean squared error is:
((90 - 91.5)^2 + (93 - 91.5)^2) / 2 = 2.25
e) The mean absolute percent error (MAPE) for the 2-day moving average is the average percentage difference between each temperature and the 2-day moving average. To calculate this, we find the absolute difference between each temperature and the 2-day moving average, divide by the 2-day moving average, and calculate the average. So, the mean absolute percent error is:
((|90 - 91.5| / 91.5) + (|93 - 91.5| / 91.5)) / 2 * 100 = 1.64%