View source: R/Utils.Estimates.R
| AR | R Documentation |
Custom AR with extra information
AR(y, x, max.lag, criterion = "aic")
y |
A dependent variable. |
x |
Explanatory variables. |
max.lag |
The maximum number of lags. |
criterion |
A criterion for lag number estimation. |
A list of:
beta: estimates of coefficients,
residuals: estimated residuals,
predict: forecasted values,
t.beta: t-statistics for beta,
lag: estimated number of lags.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.