Professional Documents
Culture Documents
In the preceding example, PROC EXPAND assumes that all series are measured at
points in time given by the value of the ID variable. In fact, the series in the
USPRICE data set are monthly averages. PROC EXPAND can produce a better
interpolation if this is taken into account. The following example uses the
FROM=MONTH option to tell PROC EXPAND that the series is monthly and uses the
CONVERT statement with the OBSERVED=AVERAGE to specify that the series values are
averages over each month:
In the preceding example, PROC EXPAND assumes that all series are measured at
points in time given by the value of the ID variable. In fact, the series in the
USPRICE data set are monthly averages. PROC EXPAND can produce a better
interpolation if this is taken into account. The following example uses the
FROM=MONTH option to tell PROC EXPAND that the series is monthly and uses the
CONVERT statement with the OBSERVED=AVERAGE to specify that the series values are
averages over each month: