Last active
October 4, 2024 04:06
-
-
Save yogabonito/b532e20b64587c19198f1aacb5ddfca2 to your computer and use it in GitHub Desktop.
VECM example
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome and thanks for you sharing! I have a question, the function select_order is to find the best lags of VAR model based on information criteria. But the k_ar_diff in function select_coint_rank is the lagged difference (VECM function as well). Should they be subtracted one from the result of select_order? (means k_ar_diff =2 in select_coint_rank and VECM, but not 3 which is the best order in the result of select_order)