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.

2SLS<br />

Overview<br />

Options<br />

2SLS is available in the Regression Models option.<br />

2SLS [EQUATION=]dependent variable WITH predictor variable<br />

[/[EQUATION=]dependent variable...]<br />

/INSTRUMENTS=varlist<br />

[/ENDOGENOUS=varlist]<br />

[/{CONSTANT**}<br />

{NOCONSTANT}<br />

[/PRINT=COV]<br />

[/SAVE = [PRED] [RESID]]<br />

[/APPLY[=’model name’]]<br />

**Default if the subcommand or keyword is omitted.<br />

Example<br />

2SLS VAR01 WITH VAR02 VAR03<br />

/INSTRUMENTS VAR03 LAGVAR01.<br />

2SLS performs two-stage least-squares regression to produce consistent estimates of parameters<br />

when one or more predictor variables might be correlated with the disturbance. This<br />

situation typically occurs when your model consists of a system of simultaneous equations<br />

wherein endogenous variables are specified as predictors in one or more of the equations.<br />

The two-stage least-squares technique uses instrumental variables to produce regressors<br />

that are not contemporaneously correlated with the disturbance. Parameters of a single<br />

equation or a set of simultaneous equations can be estimated.<br />

New Variables. You can change NEWVAR settings on the TSET command prior to 2SLS to<br />

evaluate the regression statistics without saving the values of predicted and residual variables,<br />

or save the new values to replace the values saved earlier, or save the new values without<br />

erasing values saved earlier (see the TSET command). You can also use the SAVE<br />

subcommand on 2SLS to override the NONE or the default CURRENT settings on NEWVAR.<br />

Covariance Matrix. You can obtain the covariance matrix of the parameter estimates in addition<br />

to all of the other output by specifying PRINT=DETAILED on the TSET command prior<br />

to 2SLS. You can also use the PRINT subcommand to obtain the covariance matrix regardless<br />

of the setting on PRINT.<br />

1586

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

Saved successfully!

Ooh no, something went wrong!