Equation sample after adjustments
Posted: Wed May 14, 2014 5:03 am
by fmccluer
The equation object returns the sample that was set at the time the equation was run, i.e., eq.@smpl. However, due to missing observations, for example, the sample may be adjusted and is reported in the output. Is it possible to programmatically extract the adjusted sample?
Thanks.
Re: Equation sample after adjustments
Posted: Wed May 14, 2014 7:08 am
by startz
ls y c x
Code: Select all
series kludgeDummy = not @isna(resid)
sample kludgeSample if klugeDummy
Re: Equation sample after adjustments
Posted: Wed May 14, 2014 8:59 am
by EViews Glenn
The general idea is correct, though I would modify the recommendation slightly to use explicit equation names and the makeresid proc. The resid series is often modified and I wouldn't want someone to think that they can always extract the sample from what's currently in resid.
Code: Select all
equation eq1.ls y c x
eq1.makeresid eq1resid
etc.