Page 1 of 1

included obs data member

Posted: Thu Dec 27, 2012 3:18 pm
by startz
Could we have a member for estimated equations that gives a dummy variable for included observations?

Re: included obs data member

Posted: Thu Dec 27, 2012 4:00 pm
by EViews Gareth
It would be a proc, rather than a data member.

But then, it would be pretty similar to the makeresid proc.

Re: included obs data member

Posted: Fri Dec 28, 2012 1:01 pm
by EViews Glenn

Code: Select all

eq1.makeresid myresid series isineq = @isna(myresid)=0

Re: included obs data member

Posted: Fri Dec 28, 2012 1:09 pm
by startz

Code: Select all

eq1.makeresid myresid series isineq = @isna(myresid)=0
Yeah, I usually remember this...eventually. It would still be cool to have it as a member of the equation though.

Re: included obs data member

Posted: Fri Dec 28, 2012 2:07 pm
by EViews Gareth
Series cannot be data members

Re: included obs data member

Posted: Fri Dec 28, 2012 2:14 pm
by startz
Maybe that could be changed???

Re: included obs data member

Posted: Fri Dec 28, 2012 2:25 pm
by EViews Gareth
No, because you can move objects between pages and workfiles, their data members cannot be workfile structure dependent, which rules out series.

Re: included obs data member

Posted: Fri Dec 28, 2012 5:28 pm
by startz
vector? or is that too risky?

Re: included obs data member

Posted: Fri Dec 28, 2012 5:44 pm
by EViews Gareth
Could do, but a) it isn't as useful as a series, and going from the vector to the series is about as easy as just using the residual series, and b) as soon as you move the equation, the vector is meaningless.

Re: included obs data member

Posted: Fri Dec 28, 2012 6:06 pm
by startz
Hmmm. Could you include a series member that got wiped when moved between pages? Or would that be too hard with the underlying plumbing?