ardec.lm {ArDec} | R Documentation |
Function ardec.lm fits an autoregressive model of order p, AR(p) to a time series through a linear least squares regression.
ardec.lm(x)
x |
time series |
For ardec.lm, an object of class "lm".
S. M. Barbosa
West, M. (1995), Bayesian inference in cyclical component dynamic linear models.Journal of the American Statistical Association, 90, 1301-1312.
data(tempEng)
model=ardec.lm(tempEng)