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.

NOMREG 1065<br />

ORDER = ASCENDING Response categories are sorted in ascending order. The lowest<br />

value defines the first category, and the highest value defines the<br />

last category.<br />

ORDER = DATA Response categories are not sorted. The first value encountered in<br />

the data defines the first category. The last distinct value defines<br />

the last category.<br />

ORDER = DESCENDING Response categories are sorted in descending order. The highest<br />

value defines the first category, and the lowest value defines the<br />

last category.<br />

• By default, the last response category is used as the base (or reference) category. No model<br />

parameters are assigned to the base category. Use the BASE attribute to specify a custom<br />

base category.<br />

BASE = FIRST The first category is the base category.<br />

BASE = LAST The last category is the base category.<br />

BASE = value The category with the specified value is the base category. Put the value<br />

inside a pair of quotes if either the value is formatted (such as date or<br />

currency) or if the dependent variable is of string type.<br />

• Factor variables can be of any type (numeric or string). The factors follow the dependent<br />

variable separated by the keyword BY.<br />

• Covariate variables must be numeric. The covariates follow the factors, separated by the<br />

keyword WITH.<br />

• Listwise deletion is used. If any variables in a case contain missing values, that case will<br />

be excluded.<br />

• If the WEIGHT command was specified, the actual weight values are used for the respective<br />

category combination. No rounding or truncation will be done. However, cases with<br />

negative and zero weight values are excluded from the analyses.<br />

Example<br />

NOMREG response (ORDER = DESCENDING BASE=’No’) BY factor1.<br />

• Values of the variable response are sorted in descending order, and the category whose<br />

value is ’No’ is the base category.<br />

Example<br />

NOMREG<br />

movie BY gender date<br />

/CRITERIA = CIN(95) DELTA(0) MXITER(100) MXSTEP(5) LCONVERGE(0)<br />

PCONVERGE(0)<br />

/INTERCEPT = EXCLUDE<br />

/PRINT = CLASSTABLE FIT PARAMETER SUMMARY LRT .<br />

• movie is the dependent variable, gender and date are factors.<br />

• CRITERIA specifies that the confidence level to use is 95, no delta value should be added<br />

to cells with observed zero frequency, and neither the log-likelihood nor parameter esti-

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

Saved successfully!

Ooh no, something went wrong!