SPECTRA

SPECTRA is available in the Forecasting option.

SPECTRA plots the periodogram and spectral density function estimates for one or more series. You can also request bivariate spectral analysis. Moving averages can be used for smoothing the periodogram values to produce spectral densities.

SPECTRA VARIABLES= series names

 [/{CENTER NO**}]   
   {CENTER     }     

 [/{CROSS NO**}]
   {CROSS     } 

 [/WINDOW={HAMMING** [({5   })]    }]
          {            {span}      }
          {BARTLETT [(span)]       } 
          {PARZEN [(span)]         } 
          {TUKEY [(span)]          } 
          {UNIT or DANIELL [(span)]} 
          {NONE                    } 
          {w-p, ..., w0, ..., wp   } 

 [/PLOT= [P**] [S] [CS] [QS] [PH] [A]     
         [G] [K] [ALL] [NONE]       
         [BY {FREQ  }]]  
             {PERIOD}    

 [/SAVE = [FREQ (name)] [PER (name)] [SIN (name)] 
          [COS (name)]  [P (name)]   [S (name)]      
          [RC (name)]   [IC (name)]  [CS (name)]     
          [QS (name)]   [PH (name)]  [A (name)]      
          [G (name)]    [K (name)]]                  

 [/APPLY [='model name']]

**Default if the subcommand is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the SPECTRA command can be generated from the Spectral Plots dialog.

Example

SPECTRA VARIABLES = HSTARTS.