Example (TSPLOT command)

TSPLOT VARIABLES = TICKETS
  /LN
  /DIFF
  /SDIFF
  /PERIOD=12
  /FORMAT=REFERENCE
  /MARK=Y 55 M 6.
  • This command produces a plot of TICKETS after a natural log transformation, differencing, and seasonal differencing have been applied.
  • LN transforms the data using the natural logarithm (base e) of TICKETS.
  • DIFF differences the logged variable once.
  • SDIFF and PERIOD apply one degree of seasonal differencing with a period of 12.
  • FORMAT=REFERENCE adds a reference line representing the variable mean.
  • MARK provides a marker on the plot at June 1955. The marker is displayed as a vertical reference line.