Final answer:
To calculate the 5-year weighted moving average (wma) for predicting the number of guests at the festival in 2022, multiply the number of guests for each year by the corresponding weight and then add up the weighted sum.
Step-by-step explanation:
To calculate the 5-year weighted moving average (wma) for predicting the number of guests at the festival in 2022, we need to use the given weights of 0.4, 0.3, 0.1, 0.1, and 0.1. First, multiply the number of guests for each year by the corresponding weight:
2021 guests * 0.4 + 2020 guests * 0.3 + 2019 guests * 0.1 + 2018 guests * 0.1 + 2017 guests * 0.1
Then, add up the weighted sum to obtain the 5-year weighted moving average. This will give you the predicted number of guests at the festival in 2022.