Bry Boschan code

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.

Bry Boschan code

Postby garryamac101 » Wed May 06, 2009 9:55 pm

I'm not a regular Rats user so my problem is hopefully very simple.

I noticed that there was a Rats source file to run the BB algorithm and I have tried to run it but get the following error.


## MAT13. Store into Out-of-Range Matrix or Series Element
The Error Occurred At Location 0680 of BBREFINE
Line 26 of BBREFINE
Line 114 of BRYBOSCHAN

The simple (and possibly wrong) prog I used to run it was:

cal 1980 1 12
all 2006:7
source(echo) bryboschan.src
open data f:\harrypaper\verybasicdata.xls
data(format=xls,org=cols)
print / cpnom
graph(key=upleft) 2
# cpnom
# cpreal
@bryboschan cpnom

Thanks for any advice
garryamac101
 
Posts: 1
Joined: Tue May 05, 2009 11:42 pm

Re: Bry Boschan code

Postby TomDoan » Thu May 07, 2009 11:11 am

It looks we'll have to see a copy of the data set. If you can send that to support@estima.com, we'll run it through and see what the problem might be. It looks as if there might be something about the specific placement of turning points in that series that we need to handle a bit differently.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: Bry Boschan code

Postby TomDoan » Sat May 09, 2009 9:29 am

It looks as if the Bry-Boschan procedure requires RATS 7.00 or later. We wrote it while working on 7.0 and made some changes to the variables defined by some of the instructions at the time; the procedure relies upon those being set. We'll have to correct that on the web site.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron