| TITLE: 2PL (IRT) model | ! Title of Model to run (label, not required) |
| DATA: FILE = data.dat; | ! Name of data file in fixed asci format |
| VARIABLE: NAMES = u1-u6; | ! Names of items, u1-u6 |
| CATEGORICAL = u1-u6; | ! Items are categorical |
| ANALYSIS: ESTIMATOR = MLR; | ! Estimator is Maximum Likelihood with robust errors |
| MODEL: f BY u1-u6 *; | ! One-factor model specified with 6 items, freely estimated |
| f@1; | ! Factor variance fixed to unity for identification |
| [u1$1-u6$1]; | ! First threshold estimating item difficulty in logits |