|
Chapter Contents |
Previous |
Next |
| The STATESPACE Procedure |
Differencing is specified by following the variable name with a list of difference periods separated by commas. See the section "Stationarity and Differencing" for more information on differencing of input variables.
The order in which variables are listed in the VAR statement controls the order in which variables are included in the state vector. Usually, potential inputs should be listed before potential outputs.
For example, assuming the input data are monthly, the following VAR statement specifies modeling and forecasting of the one period and seasonal second difference of X and Y:
var x(1,12) y(1,12);
In this example, the vector time series analyzed is
![x_{t} =
[\matrix{ (1-B)(1-B^{12})X_{t} - {\overline x} \cr
(1-B)(1-B^{12})Y_{t} - {\overline y} }]](images/staeq10.gif)
where B represents the back shift operator,
and
and
represent
the means of the differenced series.
If the NOCENTER option is specified the mean differences are not subtracted.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.