************************************************************************* * Problem set 9, logistic regression, with binary outcome y2; ** * Predictors are x1 (dichotomous), x2, x3, and x4, where x2, x3 ** * and x4 are measured on 9-point scales. ** * There are two additional dependent variableS in the file, ** * that you should ignore ** * y3 has three categories, and y4 has four categories. ** * Data simulated by Aaron Taylor; ** * Note that y2, y3, and y4 are based on the same continuous variable, ** * just using different numbers of categories in coarse categorization. ** ************************************************************************* *********************** file: ps9spssol.sps ** data: ps9dat.txt ** *********************** data list file='a:\ps9dat.txt' /x1 1 x2 2-3 x3 4-5 x4 6-7 y2 8-9 y3 10-11 y4 12-13. execute.