Working with Time Series Data


Using the Time Series Viewer

The following command starts the Time Series Viewer to display the plot of CPI in the USCPI data set against DATE. (The USCPI data set was shown in the previous example; the time series used in the following example contains more observations than previously shown.)

   tsview data=uscpi var=cpi timeid=date

The TSVIEW DATA= option specifies the data set to be viewed; the VAR= option specifies the variable that contains the time series observations; the TIMEID= option specifies the time series ID variable.

The Time Series Viewer can also be invoked by selecting SolutionsAnalyzeTime Series Viewer from the menu in the SAS Display Manager.