|
Chapter Contents |
Previous |
Next |
| The LOGISTIC Procedure |
proc logistic;
model y = x1 x2 x3;
exact x1 x2;
run;
class x3 / param=ref;
exact 'C13' x1 x3;
exact 'CJ13' x1 x3 / joint;
exact 'CE3' x3 / estimate;
exact x1 / estimate=parm; exact x1 / estimate=parm onesided;
exact 'E12' x1 x2 / estimate; exact 'E1' x1 / estimate; exact 'E2' x2 / estimate; exact 'J12' x1 x2 / joint;
In the E12 statement, the parameters for x1 and x2 are estimated and tested separately. Specifying the E12 statement is equivalent to specifying both the E1 and E2 statements. In the J12 statement, the joint test for the parameters of x1 and x2 is computed as well as the individual tests for x1 and x2.
exact 'O1' x1 / outdist=o1; exact 'OJ12' x1 x2 / jointonly outdist=oj12; exact 'OA12' x1 x2 / joint outdist=oa12; exact 'OE12' x1 x2 / estimate outdist=oe12;
The O1 statement outputs a single exact conditional distribution. The OJ12 statement outputs only the joint distribution for x1 and x2. The OA12 statement outputs three conditional distributions: one for x1, one for x2, and one jointly for x1 and x2. The OE12 statement outputs two conditional distributions: one for x1 and the other for x2. Data set oe12 contains both the x1 and x2 variables; the distribution for x1 has missing values in the x2 column while the distribution for x2 has missing values in the x1 column.
See the "OUTDIST= Output Data Set" section for more information.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.