Question: Write a function double_es with the following parameters. x: the current data of x. xtxt prev_s: the previous baseline value. St1St1 alpha: the tuning paramerter

Write a function double_es with the following parameters. x: the current data of x. xtxt prev_s: the previous baseline value. St1St1 alpha: the tuning paramerter for the baseline response. prev_t: the previous trend value. Tt1Tt1 beta: the tuning paramerter for the trend. The function should return a tuple of (s, t) that corresponds to StSt and TtTt both rounded to 5 decimal places.

def double_es(x, prev_s, alpha, prev_t, beta): assert_numbers([x, prev_s, alpha, prev_t, beta]) # # YOUR CODE HERE #

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!