Object Reference : Object View and Procedure Reference : Series
Shift the observations of the series up or downwards, inserting blank observations.
series_name.insertobs(“startpoint”) n
Where startpoint specifies the first or last observation from which the observations are shifted. For dated workfiles, startpoint should be entered as a date. For panels and non-dated workfiles startpoint should be an observation number.
n specifies the number of observations shifted.
x.insertobs("1952q2") 2
Inserts 2 new observations beginning at observation 1952 quarter 2. The previous value associated with 1952Q2 will now correspond to 1952Q4.
y.insertobs(10) -5
Inserts 5 new observations ending at observation number 10 in the workfile.