TSLS
Two-stage least-squares (instrumental variables) regression; SPSS’s 2SLS.
Syntax
Section titled “Syntax”TSLS dep WITH predictors /INSTRUMENTS=varlist [/NOCONSTANT] [/PRINT=COV] [/SAVE=PRED RESID].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | yes, undoable |
| Subcommands | /CONSTANT, /INSTRUMENTS, /MISSING, /NOCONSTANT, /PRINT, /SAVE |
| Menu | Analyze ▸ Regression |
| Slot: Dependent | 1–1 variable(s); levels: scale; types: numeric |
| Slot: Explanatory | 1+ variable(s); levels: nominal, ordinal, scale; types: numeric |
| Slot: Instrumental | 1+ variable(s); levels: nominal, ordinal, scale; types: numeric |
Examples
Section titled “Examples”TSLS demand WITH price income /INSTRUMENTS=cost income /SAVE=PRED RESID.- List exogenous predictors on /INSTRUMENTS too. At least as many instruments as predictors are required.
- SPSS’s 2SLS command converts to TSLS (a command name cannot start with a digit in OrcStat syntax).
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.