Recursive estimation

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

eviewsforum
Posts: 3
Joined: Sun Nov 27, 2011 7:53 pm

Recursive estimation

Postby eviewsforum » Sun Nov 27, 2011 8:19 pm

I'm doing a recursive estimation from 2000Q1 until 2010Q4 and extract the figures with the recursice coefficient estimates. The estimation sample should be unchanged; but I only want to plot part of the estimates in the chart. How is this possible by adjusting the chart?

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

Re: Recursive estimation

Postby EViews Gareth » Mon Nov 28, 2011 8:49 am

Possibly, just change the workfile sample to be the observations you want.

eviewsforum
Posts: 3
Joined: Sun Nov 27, 2011 7:53 pm

Re: Recursive estimation

Postby eviewsforum » Mon Nov 28, 2011 4:13 pm

The problem is that the recursive estimates graph (rls(c,s) does not update when I change the sample since it is "not linked to data". I want the estimation to be unchanged but intend to show only a small range of the estimates.

If I extract the data from recursive estimates including standard errors in order to plot the graphs manually, then I have the problem that the chart only shows plot since I'm doing an event study (if condition in sample).

By the way, I'm using EViews 7.

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

Re: Recursive estimation

Postby EViews Gareth » Mon Nov 28, 2011 4:21 pm

Sorry, I misread your first bit (didn't notice you were using the build in graphs of recursive estimation).

The only way to do it is to manually create the graphs using the saved series, as you tried. I'm not sure what problem you are describing with that, but make sure you check the "connect adjacent" check box on the graph creation screen once you have the saved series.

eviewsforum
Posts: 3
Joined: Sun Nov 27, 2011 7:53 pm

Re: Recursive estimation

Postby eviewsforum » Mon Nov 28, 2011 4:26 pm

This would easiliy solve my problem, although I have to do it manually. I didn't notice that there's the possibility to connect the points. Thanks a lot for this advice. Is there a possibility to control the check box by a command?

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

Re: Recursive estimation

Postby EViews Gareth » Mon Nov 28, 2011 4:30 pm

There's a "connect" option for graph creation. Something like:

Code: Select all

freeze(mygraph) mygroup.line(connect)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests