Page 1 of 1
What information can I reference from a command?
Posted: Tue Jul 22, 2014 4:54 pm
by bobreednz
Hi, I know if I run a command, like ls, I can extract certain information for later use. For example, in the command below, I extract the tstat from the trend term.
ls y c @trend
scalar bob = @tstat(2)
My question is: Is there any way of knowing after ANY command, what all information is available for extraction, and how it can be referenced?
Re: What information can I reference from a command?
Posted: Tue Jul 22, 2014 7:51 pm
by EViews Gareth
What you're actually talking about are object data members. When you use the LS command you create an equation object. Then you can reference any of the equation's data members.
A list of each object's data members are given at the start of that objects section in Chapter 1 of the Object Reference (PDF available from the help menu).
Re: What information can I reference from a command?
Posted: Tue Jul 22, 2014 8:18 pm
by bobreednz
I am very sorry, but I went to the Object Reference pdf and did not see any mention of the object members nor how I could reference them. I am uploading the screen shot from the first page on "ls" in the Object Reference pdf. I don't see any mention of, for example, "@tstat()" which would let me know what members were available and how to reference them. I'd greatly appreciate additional help. :-)
Re: What information can I reference from a command?
Posted: Tue Jul 22, 2014 8:39 pm
by EViews Gareth
Go to the start of the equation section. The object you created is an equation object.
Re: What information can I reference from a command?
Posted: Tue Jul 22, 2014 8:57 pm
by bobreednz
Got it. So as I understand it after reading about the object members, I don't think there's any way to extract specific test results from the uroot command (such as the sample t-statistic or prob value), which is associated with a series object. The only way to do this would be run it as a LS equation and get the information from that. Is that correct?
Re: What information can I reference from a command?
Posted: Tue Jul 22, 2014 9:22 pm
by EViews Gareth
Re: What information can I reference from a command?
Posted: Tue Jul 22, 2014 9:54 pm
by bobreednz
Thank you very much. This has been very helpful. :D