27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

148 <strong>Syntax</strong> <strong>Reference</strong><br />

The available methods are:<br />

PW Prais-Winsten method. This generalized least-squares approach is the default (see<br />

Johnston, 1984).<br />

CO Cochrane-Orcutt method. (See Johnston, 1984.)<br />

ML Exact maximum-likelihood method. This method can be used when one of the independent<br />

variables is the lagged dependent variable. It can also handle missing<br />

data anywhere in the series (see Kohn & Ansley, 1986).<br />

Example<br />

AREG VARY WITH VARX<br />

/METHOD=CO.<br />

In this example, the Cochrane-Orcutt method is used to estimate the regression model.<br />

CONSTANT and NOCONSTANT Subcommands<br />

RHO Subcommand<br />

MXITER Subcommand<br />

CONSTANT and NOCONSTANT indicate whether a constant term should be estimated in the regression<br />

equation. The specification overrides the corresponding setting on the TSET command.<br />

• CONSTANT indicates that a constant should be estimated. It is the default unless changed<br />

by TSET NOCONSTANT prior to the current procedure.<br />

• NOCONSTANT eliminates the constant term from the model.<br />

RHO specifies the initial value of rho, an estimate of the first autoregressive parameter.<br />

• If RHO is not specified, the initial rho value defaults to 0 (equivalent to ordinary least<br />

squares).<br />

• The value specified on RHO can be any value greater than −1 and less than 1.<br />

• Only one rho value can be specified per AREG command.<br />

Example<br />

AREG VAR01 WITH VAR02 VAR03<br />

/METHOD=CO<br />

/RHO=0.5.<br />

• In this example, the Cochrane-Orcutt (CO) estimation method with an initial rho value of<br />

0.5 is used.<br />

MXITER specifies the maximum number of iterations of the estimation process.<br />

• If MXITER is not specified, the maximum number of iterations defaults to 10.<br />

• The specification on MXITER can be any positive integer.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!