smooth_dec {noisyCE2}R Documentation

Decreasing first-order smoothing rule

Description

Decreasing smoothing rule

xt+1:=atxt+(1at)xt1x_{t+1}:=a_t\,x_t + (1-a_t)\,x_{t-1}

where

at:=b(1(11t)q)a_t:= b\,\left(1-\left(1-\frac{1}{t}\right)^q\right)

for some 0.7b10.7\leq b\leq1 and some 5q105\leq q\leq10.

Usage

smooth_dec(x, xt, b, qu)

Arguments

x

numeric value of the last value of the parameter.

xt

numeric vector of past values of the parameter (time series).

b

smoothing parameter bb.

qu

smoothing parameter qq.

Value

A numeric vector of updated parameters.

See Also

Other smoothing rules: smooth_lin()


[Package noisyCE2 version 1.1.0 Index]