Series name

For questions and discussion related to reading in and working with data.

Series name

Postby Barry Quinn » Fri Oct 14, 2011 2:38 am

Hi,

I am new to RATS so excuse the simplicity of this question!
I am running a procedure which produces a number of wald statistic series.
It names these Series WSTAT(1), WSTAT(2) etc.

After estimation RATS doesn't recognise these names in subsequent commands such as GRAPH, SET.
e.g
Code: Select all
graph
# wstat(1)

## SX11. Identifier WSTAT is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>># wstat(<<<<

Is there something obvious i am missing.

thanks
Barry Quinn
 
Posts: 7
Joined: Thu Oct 13, 2011 9:29 am

Re: Series name

Postby TomDoan » Fri Oct 14, 2011 8:07 am

Those are presumably declared as local vect[series] in the procedure. If you change the "local" to "declare", you'll be able to use these outside the procedure.
TomDoan
 
Posts: 3702
Joined: Wed Nov 01, 2006 5:36 pm

Re: Series name

Postby Barry Quinn » Mon Oct 17, 2011 8:17 am

Many thanks can no use these variables
Barry Quinn
 
Posts: 7
Joined: Thu Oct 13, 2011 9:29 am


Return to Data: Reading, Writing, Transforming

Who is online

Users browsing this forum: No registered users and 1 guest