Sep-02-2017, 06:33 PM
Hey dude,
I am just a beginner for Python coding, so please see if you can help me on following homework on exponential smoothing and linear regression in Python based on the following mathematical functions:
Ft+1 = a *Yt + (1-a)*Ft
where
Ft+1 = forecast value at T+1
Yt = actual value at T
Ft = forecast value at T
a = smoothing factor (between 0 to 1)
F1=Y1
The following Yt is given: [26.5, 26.76, 25.29, 23.79, 21.31, 21.84, 25.71,26.11]
Exponential smoothing series and linear regression have to create and predict the 9th element when T=9...
I am just a beginner for Python coding, so please see if you can help me on following homework on exponential smoothing and linear regression in Python based on the following mathematical functions:
Ft+1 = a *Yt + (1-a)*Ft
where
Ft+1 = forecast value at T+1
Yt = actual value at T
Ft = forecast value at T
a = smoothing factor (between 0 to 1)
F1=Y1
The following Yt is given: [26.5, 26.76, 25.29, 23.79, 21.31, 21.84, 25.71,26.11]
Exponential smoothing series and linear regression have to create and predict the 9th element when T=9...