Stata 15 help for pergram

[TS] pergram -- Periodogram

Syntax

pergram varname [if] [in] [, options]

options Description ------------------------------------------------------------------------- Main generate(newvar) generate newvar to contain the raw periodogram values

Plot cline_options affect rendition of the plotted points connected by lines marker_options change look of markers (color, size, etc.) marker_label_options add marker labels; change look or position

Add plots addplot(plot) add other plots to the generated graph

Y axis, X axis, Titles, Legend, Overall twoway_options any options other than by() documented in [G-3] twoway_options nograph suppress the graph ------------------------------------------------------------------------- You must tsset your data before using pergram; see [TS] tsset. Also, the time series must be dense (nonmissing with no gaps in the time variable) in the specified sample. varname may contain time-series operators; see tsvarlist. nograph does not appear in the dialog box.

Menu

Statistics > Time series > Graphs > Periodogram

Description

pergram plots the log-standardized periodogram for a dense time series.

Options

+------+ ----+ Main +-------------------------------------------------------------

generate(newvar) specifies a new variable to contain the raw periodogram values. The generated graph log-transforms and scales the values by the sample variance and then truncates them to the [-6,6] interval before graphing them.

+------+ ----+ Plot +-------------------------------------------------------------

cline_options affect the rendition of the plotted points connected by lines; see [G-3] cline_options.

marker_options specify the look of markers. This look includes the marker symbol, the marker size, and its color and outline; see [G-3] marker_options.

marker_label_options specify if and how the markers are to be labeled; see [G-3] marker_label_options.

+-----------+ ----+ Add plots +--------------------------------------------------------

addplot(plot) adds specified plots to the generated graph; see [G-3] addplot_option.

+-----------------------------------------+ ----+ Y axis, X axis, Titles, Legend, Overall +--------------------------

twoway_options are any of the options documented in [G-3] twoway_options, excluding by(). These include options for titling the graph (see [G-3] title_options) and saving the graph to disk (see [G-3] saving_option).

The following option is available with pergram but is not shown in the dialog box:

nograph prevents pergram from constructing a graph.

Examples

--------------------------------------------------------------------------- . webuse air2 . pergram air --------------------------------------------------------------------------- . webuse lynx2 . pergram lynx --------------------------------------------------------------------------- . webuse cos4 . pergram sumfc, generate(ordinate) ---------------------------------------------------------------------------


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index