Extract results from breakpoint unit root test

For questions regarding programming in the EViews programming language.

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

jthodge
Posts: 77
Joined: Tue Oct 21, 2008 5:52 am

Extract results from breakpoint unit root test

Postby jthodge » Mon Jun 29, 2015 1:30 pm

Is there a command to extract the unit root test results from the Eviews 9 breakpoint unit root test into a table object? Freezing the buroot view creates a spool object, but I can't figure out how to output just the unit root test results portion of this spool object. I can right-click on that portion in the buroot view and extract the results to a table object, but I can't figure out the corresponding command.

Ultimately, what I'm trying to do is cycle through a number of series and collect the the break dates from the buroot tests. Maybe there's a simpler way to do this than trying to extract the number from a table object?

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

Re: Extract results from breakpoint unit root test

Postby EViews Gareth » Mon Jun 29, 2015 1:49 pm

Use the nograph option to stop the results being put into a spool.

More generally, you can use spool.extract to extract a table/graph from a spool object.

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

Re: Extract results from breakpoint unit root test

Postby EViews Gareth » Mon Jun 29, 2015 2:02 pm

Alternatively, you can use the output= option to save all the results and calculate the break date:

Code: Select all

series.buroot(output=buoutput) !idate = buoutput(@imin(buoutput.@col(7)),1) string date = @otod(!idate+1)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest