Hello, I'm new in the Markov Switching autoregressive model. I need some help with implementing the MSIH-AR model in Python. This model requires introducing regime state variables into the intercept and error terms of the equation, as well as the heteroscedasticity in the error term. However, the statsmodels.api.tsa.MarkovAutoregression object in Python uses the mean form(i.e., the deviation form) of the equation to implement the MS-AR model (i.e., the MSM-AR model) by default. This makes me very confused. How can I use statsmodels.api.tsa.MarkovAutoregression to implement the MSIH-AR model? Thank you for your kind assistance. If possible, please also tell me how to implement MSIH-AR model using either Matlab, r, or EViews.

More Yongshan Cao's questions See All
Similar questions and discussions