Hello, everyone. I am using the function convert daily/ observed = beginning
My daily data are a set of VIXCLS from FRED. When there is a value for the first day of the month, the output from the function above is the same as the original data. When there is not a value, however, it appears that SAS is somehow interpolating the data. I have tried several replications in MATLAB, using linear interpolation, spline interpolation, but have not been able to correctly replicate this function. Can someone please give insight into what the observed=OPTION function is doing when using the 'beginning' selection.
Thank you in advance
I suggest including the entire Proc Expand code as options on many procedures may have interact with other options on other statements.
I moved the question to the Forecasting community.
If the observations are equally spaced in time, and all the series are observed as beginning-of-period values, only the input and output data sets need to be specified. For example, the following statements interpolate any missing values in the numeric variables in the data set A using a cubic spline function, assuming that the observations are at equally spaced points in time:
proc expand data=a out=b;
run;
For more information, see the section "Missing Values".
The default is METHOD=SPLINE.
Constraint specifications for METHOD=SPLINE can be specified.
The methods supported are SPLINE, JOIN, STEP, AGGREGATE, and NONE.
Ciao,
Koen
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →