VAR.select | R Documentation |
AIC, HQ, or SC can be used
VAR.select(x, type = "const", ic = "aic", pmax)
x |
data matrix in column |
type |
"const" for the AR model with intercept only, "const+trend" for the AR model with intercept and trend |
ic |
choose one of "aic", "sc", "hq" |
pmax |
the maximum VAR order |
Order Section Criterion
IC |
Values of information criterion for VAR models |
p |
AR order selected |
See Chapter 4 of Lutkepohl
JAe H. Kim
Lutkepohl, H. 2005, New Introduction to Multiple Time Series Analysis, Springer
data(dat)
#replicating Section 4.3.1 of Lutkepohl (2005)
VAR.select(dat,pmax=4,ic="aic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.