CREATE
CREATE
produces new series as a function of existing series. You can also use
CREATE
to replace the values of existing series.
CREATE new series={CSUM (series) }
{DIFF (series, order) }
{FFT (series) }
{IFFT (series) }
{LAG (series, order [,order ]) }
{LEAD (series, order [,order ]) }
{MA (series, span [,minimum span]) }
{PMA (series, span) }
{RMED (series, span [,minimum span]) }
{SDIFF (series, order [,periodicity])}
{T4253H (series) }
[/new series=function (series {,span {,minimum span}})]
{,order {,order }}
{,periodicity }
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Function keywords:
CSUM. Cumulative sum
DIFF. Difference
FFT. Fast Fourier transform
IFFT. Inverse fast Fourier transform
LAG. Lag
LEAD. Lead
MA. Centered moving averages
PMA. Prior moving averages
RMED. Running medians
SDIFF. Seasonal difference
T4253H. Smoothing
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for
the CREATE
command can be generated from the Create Time Series dialog.
Example
CREATE NEWVAR1 NEWVAR2 = CSUM(TICKETS RNDTRP).