Page 1 of 1

Series Adjust by configurable interpolation

Posted: Wed Jan 13, 2016 10:39 am
by diggetybo
Hey again,

I'm interested in adjusting an existing series "x" in the following manner:

Code: Select all

x.adust = @cnorm(3+1.5*(x2))
Where x2 is also an existing series, but ideally, I'd like x2 to not exist. It creates clutter, and it's just a linear sequence from 10 to 45 that is interpolated to match the number of obs in my workfile. To save object space in the workfile, I'd like to internalize it's values within the adjust operation. Is it possible use an interpolation in place of the series? Or if not, is there some other way to avoid having to have a dedicated series object for the interpolated values? Something like:

Code: Select all

x.adjust = @cnorm(3+1.5*(10 .. 45 ^))
Unfortunately, this returned syntax error. I know series.adjust has the power to interpolate, but perhaps I'm not totally sure on how to harness that power to do what I want (which is to replace my dedicated interpolated series objects with a line of code executed when performing .adjust). Please have a look, and leave your thoughts,

Thanks

Re: Series Adjust by configurable interpolation

Posted: Wed Jan 13, 2016 10:44 am
by EViews Gareth
Isn't X2 just a trend? Can't you use @trend?

Re: Series Adjust by configurable interpolation

Posted: Wed Jan 13, 2016 10:53 am
by diggetybo
Oh yes, I'm sure that would work. I guess I reverted to one dimensional thinking. Thanks for the much needed new approach to the problem. :D