Selection of lags.
Lagged coefficient estimates are kept if they meet the inequality condition of AIC or BIC.
Object of lm()
Take the value of "aic" or "bic".
The maximum number of lag orders.
This is an internal function used for HEGY.test(). Beginning with pamx, the lag order will be drop if its inclusion worsens the minimum condition. Hence, they may not be a regular sequence. For example, for pmax=10, the selected lags may look like (1,4,5,8,9), rather than 1,2,3,...10.
This function returns the lag orders.
Ho Tsungwu <email@example.com>, modifed from Javier Lopez-de-Lacalle
Javier Lopez-de-Lacalle in https://github.com/cran/uroot/blob/master/R/hegy.R
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.