Regime Switching - Sample

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

papel
Posts: 10
Joined: Fri Sep 26, 2008 7:50 am

Regime Switching - Sample

Postby papel » Sat Aug 24, 2013 1:50 am

Hi,
I estimate a regime switching model for the period from 1990M11 to 2012M11. Then re-estimate by using a different sample period (by changing the sample period from the equation object) but I get the results for the full period (1990 M11 2012M11).
I attach the file I work.

Regards,
Timotheos.

PS: For the beta version of Eviews 8 you have created a forum that is not available now. I had made a question how can we make constraint optimization (maximize the Sharpe ratio by setting the sum of the weights to be equal to 1) and you upload a program that can do it. Is it possible to send the program or post it on the forum?
Attachments
bug.wf1
(16.48 KiB) Downloaded 375 times

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Regime Switching - Sample

Postby EViews Glenn » Mon Aug 26, 2013 11:43 am

You've found a bug. Our apologies.

I've checked the fix into the codebase and it will appear in the next update. For now, if you change the workfile sample, then enter the name of the equation following by the switchreg method *without* a spec in the command line, it will reestimate using the existing specification and the new sample.

Code: Select all

smpl 1960 1984 msar4.switchreg
reestimates the specification in MSAR4 using the sample "1960 1984".

erikgill
Posts: 1
Joined: Tue Sep 24, 2013 9:49 am

Re: Regime Switching - Sample

Postby erikgill » Tue Sep 24, 2013 9:51 am

has a solution to this been addressed?

I have a workfile I am running multiple regressions on but need different sample sizes. Sometimes it works and other times it reverts to the whole sample of 1992-2012. I'd like to run all equations in one program but right now it is not consistently letting me set the sample within the program.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: Regime Switching - Sample

Postby EViews Gareth » Tue Sep 24, 2013 12:32 pm

It should be in the latest patch

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Regime Switching - Sample

Postby EViews Glenn » Tue Sep 24, 2013 2:51 pm

Sorry for not following up to the forum. The fix was posted in August.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 0 guests