Hello,
I am using Eviews 11 university edition on mac and estimating a Markov switching regression model using Switchreg-Switching regression method. I keep getting different estimates (and significance levels) every time I re-estimate the regression equation using same data, knowing that I am selecting "EViews supplied" in the starting values options. I read in the manual that choosing "User supplied" would mean using values stored in C coefficient vector at the time of estimation as starting values which would explain getting different estimates depending on which regressions where run first. But, if I am choosing "EViews supplied" how are the starting values determined? and why do I end up with different estimates each time? and what can i do to solve it?
Would really appreciate your help,
Thank you.
Markov switching regression - different estimates each run
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13401
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Markov switching regression - different estimates each run
Could you provide the workfile?
Follow us on Twitter @IHSEViews
Re: Markov switching regression - different estimates each run
Hello,
Thank you for your prompt reply. kindly find the attached workfile. Every-time I estimate the equation using Markov switching method, I end up with different coefficient estimates as well as different significance.
First, I estimated eq1 using OLS (eq1ols) then estimated it using Markov switching model (eq1markov).
Then, I estimated eq2 using OLS (eq2ols) then estimated it using Markov (eq2markov).
Then, I re-estimated eq1 using Markov (eq1markov_reestimation) and as you can see the coefficient estimates have changed and all the standard errors and p-values displayed "NA".
I did the same for eq2, and re-estimated eq2 using Markov (eq2markov_reestimation) and the estimates have changed and all the standard errors and p-values displayed "NA" as well.
Afterwards, I re-estimated eq1 using OLS then re-estimated it again using Markov (eq1markov_reestimation2) hoping to end up with the same initial results, however, he coefficients significance as well as the estimates were different. The same conclusion was drawn when I did the same for eq 2, re-estimated eq2 using OLS then re-estimated it again using Markov (eq2markov_reestimation2).
All Markov models are estimated after selecting "EViews supplied" in the starting values options.
Would really appreciate your help,
Thank you.
Thank you for your prompt reply. kindly find the attached workfile. Every-time I estimate the equation using Markov switching method, I end up with different coefficient estimates as well as different significance.
First, I estimated eq1 using OLS (eq1ols) then estimated it using Markov switching model (eq1markov).
Then, I estimated eq2 using OLS (eq2ols) then estimated it using Markov (eq2markov).
Then, I re-estimated eq1 using Markov (eq1markov_reestimation) and as you can see the coefficient estimates have changed and all the standard errors and p-values displayed "NA".
I did the same for eq2, and re-estimated eq2 using Markov (eq2markov_reestimation) and the estimates have changed and all the standard errors and p-values displayed "NA" as well.
Afterwards, I re-estimated eq1 using OLS then re-estimated it again using Markov (eq1markov_reestimation2) hoping to end up with the same initial results, however, he coefficients significance as well as the estimates were different. The same conclusion was drawn when I did the same for eq 2, re-estimated eq2 using OLS then re-estimated it again using Markov (eq2markov_reestimation2).
All Markov models are estimated after selecting "EViews supplied" in the starting values options.
Would really appreciate your help,
Thank you.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13401
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Markov switching regression - different estimates each run
EViews supplied starting values uses random numbers. That's why there's the random number settings there. If you use the same random seed across estimations, you'll obtain the same results.
Follow us on Twitter @IHSEViews
Re: Markov switching regression - different estimates each run
Thank you again for your prompt reply. I read the manual again and found the point you are referring to "if you attempt to replicate the estimation using the default settings, you may obtain different results due to the different set of random starting values. You may use the random number generator seed settings to obtain the same starting values". However, I still cant fully grasp how changing the seed drastically changes the results, not only changing the values of the estimates, but the sign and significance as well. And if this is the case, Is there any criteria to help choose among the different outputs generated using different seeds before sticking to a specific seed? or do we choose arbitrary?
Thank you again, really appreciate your help.
Thank you again, really appreciate your help.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13401
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Markov switching regression - different estimates each run
That’s more of a theoretical question.
Follow us on Twitter @IHSEViews
-
- Non-normality and collinearity are NOT problems!
- Posts: 3779
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Markov switching regression - different estimates each run
Since Markov switching is maximum likelihood, you want to pick the estimate with the highest log-likelihood.
Re: Markov switching regression - different estimates each run
Thank you both so much for your help.
Who is online
Users browsing this forum: Google [Bot] and 2 guests