Question: Forecasting for time period t+1t+1 . Ft+1=(St+Tt)Ct+1LFt+1=(St+Tt)Ct+1L Write a function triple_forecast with the following parameters. s: the current baseline value. StSt t: the current trend
Forecasting for time period t+1t+1 . Ft+1=(St+Tt)Ct+1LFt+1=(St+Tt)Ct+1L
Write a function triple_forecast with the following parameters. s: the current baseline value. StSt t: the current trend value. TtTt c: the LthLth previous seasonality factor for time period t+1t+1. Ct+1LCt+1L The function should return the forecasted value for time period t+1t+1, Ft+1Ft+1 rounded to 5 decimal places.
def triple_forecast(s, t, c): assert_numbers([s, t, c]) # # YOUR CODE HERE #
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
