APPLY Subcommand (SPECTRA command)

APPLY allows you to use a previously defined SPECTRA model without having to repeat the specifications.

  • The only specification on APPLY is the name of a previous model in quotation marks. If a model name is not specified, the model that was specified on the previous SPECTRA command is used. Model names are either the default MOD_n names that are assigned by Forecasting or the names that are assigned on the MODEL NAME command.
  • To change one or more model specifications, specify the subcommands of only those portions you want to change after the APPLY subcommand.
  • If no series are specified on the command, the series that were originally specified with the model that is being reapplied are used.
  • To change the series that are used with the model, enter new series names before or after the APPLY subcommand. If a variable name is specified before APPLY, the slash before the subcommand is required.
  • The SAVE specifications from the previous model are not reused by APPLY. They must be specified each time that variables are to be saved.

Examples

SPECTRA VARIABLES = VAR01
  /WINDOW=DANIELL (3)
  /CENTER
  /PLOT P S BY FREQ.
SPECTRA APPLY
  /PLOT P S.
  • The first command plots both the periodogram and the spectral density estimate for VAR01. The plots are shown by frequency only.
  • Because the PLOT subcommand is respecified, the second command produces plots by both frequency and period. All other specifications remain the same as in the first command.