Series Adjust by configurable interpolation
Posted: Wed Jan 13, 2016 10:39 am
Hey again,
I'm interested in adjusting an existing series "x" in the following manner:
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:
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
I'm interested in adjusting an existing series "x" in the following manner:
Code: Select all
x.adust = @cnorm(3+1.5*(x2))Code: Select all
x.adjust = @cnorm(3+1.5*(10 .. 45 ^))Thanks