|
Chapter Contents |
Previous |
Next |
| The STATESPACE Procedure |
The FORM statement forces the state vector, zt, to contain a specific variable a given number of times. For example, if Y is one of the variables in xt, then the statement
form y 3;
forces the state vector to contain Yt, Yt+1|t, and Yt+2|t, possibly along with other variables.
The following statements illustrate the use of the FORM statement:
proc statespace data=in;
var x y;
form x 3 y 2;
run;
These statements fit a state space model with the following state vector:
![{z_{t}} =
[\matrix{
x_{t| t} \cr y_{t| t} \cr
x_{t+1| t} \cr y_{t+1| t} \cr x_{t+2| t} }]](images/staeq9.gif)
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.