Query

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.

Query

Postby Irishlad » Mon Sep 03, 2012 6:22 pm

When I am using procedures from estima i am unable to use the code during my analysis. Even when I begin the code with SOURCE ECHO i am still unable to do this. Also is there a procedure created to do a Choleski decomposition and vector moving average on a var model?
Would welcome any help regarding these problems
Irishlad
 
Posts: 5
Joined: Wed Aug 01, 2012 9:23 am

Re: Query

Postby TomDoan » Tue Sep 04, 2012 1:50 am

You would have to show us what you're trying to do with the procedures.

The IMPULSES.RPF example (RATS version 8 User's Guide, example 7.3) does the impulse response function for Choleski factor.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: Query

Postby Irishlad » Tue Sep 04, 2012 3:42 am

Code: Select all
OPEN DATA "F:\thesisdata2.xls"
CALENDAR(M) 1995
ALL 2011:12
DATA(FORMAT=XLS,ORG=COLUMNS) 1995:01 2011:12 BANKBASERATE INFLATION OUTPUTGAP TEDSPREAD

SYSTEM(MODEL=VAR1)
VARIABLES BANKBASERATE INFLATION OUTPUTGAP TEDSPREAD
LAGS 1 TO 4
DET Constant
END(SYSTEM)
ESTIMATE

SOURCE VARLAGSELECT.SRC
@ VARLAGSELECT(LAGS=10, CRIT=AIC)
# BANKBASERATE INFLATION OUTPUTGAP TEDSPREAD



This is the code I have been using. the problem occurs when I try to run the varlagselect procedure it comes back as a basic error
Irishlad
 
Posts: 5
Joined: Wed Aug 01, 2012 9:23 am

Re: Query

Postby TomDoan » Tue Sep 04, 2012 8:33 am

Get rid of space between @ and VARLAGSELECT.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: Query

Postby Irishlad » Tue Sep 04, 2012 10:52 am

that didn't work. It still gives basic error in the output window.
Once i press the space bar after .src it comes up. when i carry on down the code it says,"don't error report report" and RATS shuts off
Irishlad
 
Posts: 5
Joined: Wed Aug 01, 2012 9:23 am

Re: Query

Postby TomDoan » Tue Sep 04, 2012 12:14 pm

Are you getting:

## SX9. REPORT is not a Basic Data Type

That's what you would get if you are running a RATS 7.0 or earlier on a version of VARLAGSELECT written for more recent software.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: Query

Postby Irishlad » Wed Sep 05, 2012 3:13 am

ya that is the problem. is there procedures still available for this version of rats? In particular I need coding for the lag length and to do monte carlo simulation to be able to obtain confidence bands?

Your help is much appreciated
Irishlad
 
Posts: 5
Joined: Wed Aug 01, 2012 9:23 am

Re: Query

Postby moderator » Wed Sep 05, 2012 11:10 am

I believe your university has version 8. Email us at

support@estima.com

with your contact details and we can see if we can sort out getting you the correct version.

But, generally speaking, assuming that you are using one of the version 7 releases, you should be able to use the version of VARLAGSELECT.SRC that came with your software, rather than downloading the latest version from the website.

Regards,
Tom Maycock
moderator
Site Admin
 
Posts: 306
Joined: Thu Oct 19, 2006 4:33 pm


Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 0 guests