You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VAR has too many choice in fit that should be in __init__
one of them is lag selection ic=None
it's partially modularized because it uses a separate select_order method which uses the _estimate_var method.
AFAICS, the lag selection uses different number of observations, i.e. trims initial observation by actual lag instead of by maxlag..
AFAICS, lag_selection doesn't reuse any of the datamatrices, i.e. we repeatedly start from scratch z = util.get_var_endog(endog, lags, trend=trend, has_constant='raise')
possible alternative
Create VAR with order lags = maxlags and then select the relevant parts of the data matrices, trimmed at common maxlag. Then recreate a VAR with the selected number of lags.
Activity
josef-pkt commentedon Apr 23, 2018
to outsource variable/lag selection in VAR we need
*))VARResults.info_criteria(for lag selection we don't need a full VAR model/results pair)
(
*) VARResults.info_criteria usesld = logdet_symm(self.sigma_u_mle)and not llf directly