powered by
Linear smoothing rule $$x_{t+1}:=a\,x_t + (1-a)\,x_{t-1}$$ for some \(a\in[0,1]\).
smooth_lin(x, xt, a)
numeric value of the last value of the parameter.
numeric
numeric vector of past values of the parameter (time series).
smoothing parameter \(a\).
A numeric vector of updated parameters.
Other smoothing rules: smooth_dec()
smooth_dec()