View source: R/lags_upbound_BIC.R
lags_upbound_BIC | R Documentation |
Selects the lag length p of the VAR using an empirical upper bound: residuals of the diagonalized VAR are used to build the empirical covariance matrix and an approximation of its determinant that uses the matrix trace is employed to be able to select p using Bayesian Information Criterion
lags_upbound_BIC(data, p_max = 10)
data |
a dataframe or matrix of the original set of time series forming the VAR |
p_max |
maximum lag length to consider, default is 10 |
returns the estimated lag length upper bound
Hecq, A., Margaritella, L., Smeekes, S., "Inference in Non Stationary High Dimensional VARs" (2020, check the latest version at https://sites.google.com/view/luca-margaritella )
Hecq, A., Margaritella, L., Smeekes, S., "Granger Causality Testing in High-Dimensional VARs: a Post-Double-Selection Procedure." arXiv preprint arXiv:1902.10991 (2019).
lags_upbound_BIC(sample_dataset_I1, p_max=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.