Hi
I have several series with nas in the beginning, in the middle and at the end of the sample, e.g,
x= na na na 2 na 3 na 4 na 5 na 6 na na na na na na na na
y= na na na na 4 na 2 na na 8 na 1 na 9 na 3 na 5 na na
How can I use the adjust command to interpolate the nas linearly in the middle of the sample only, i.e,. leave the nas at the beginning and end of the sample unchanged?
Sincerely
Thomas von Brasch
adjusting series
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Chris
- EViews Developer
- Posts: 161
- Joined: Wed Sep 17, 2008 10:39 am
Re: adjusting series
if all you want to do is interpolate missing values in a series, use the interpolate procedure off a series instead.
x.iploate xi
will create a new series xi with internal missings replaced by linearly interpolated values.
Note that early builds of 8 were interpolating the end values as well - if you're seeing this then update to the latest version (which matches the behaviour in v7).
x.iploate xi
will create a new series xi with internal missings replaced by linearly interpolated values.
Note that early builds of 8 were interpolating the end values as well - if you're seeing this then update to the latest version (which matches the behaviour in v7).
-
tvonbrasch
- Posts: 569
- Joined: Fri Apr 15, 2011 5:35 am
Re: adjusting series
Thank you for making me aware of this function!
Thomas
Thomas
Who is online
Users browsing this forum: No registered users and 1 guest
