Series name

For questions and discussion related to reading in and working with data.
Barry Quinn
Posts: 7
Joined: Thu Oct 13, 2011 9:29 am

Series name

Unread post by Barry Quinn »

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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Series name

Unread post by TomDoan »

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.
Barry Quinn
Posts: 7
Joined: Thu Oct 13, 2011 9:29 am

Re: Series name

Unread post by Barry Quinn »

Many thanks can no use these variables
Post Reply