View source: R/lag_selection.R
| ic_table | R Documentation |
Returns a table of information criteria values for different lag orders.
ic_table(object, max_lags = 8)
object |
An |
max_lags |
Maximum lag order to evaluate. |
A data frame with AIC, BIC, and HQ values.
# Generate example data
set.seed(123)
n <- 100
mydata <- data.frame(x = cumsum(rnorm(n)), y = cumsum(rnorm(n)))
fit <- rbfmvar(mydata, lags = 2)
ic_table(fit, max_lags = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.