260 likes | 392 Views
Logistic Regression Analysis of Matched Case-Control Data- Part 2. EVW LOGISTIC MODEL FOR MATCHED DATA. Logit P( X ) = + E + 1i V 1i + 2i V 2i + E k W k.
E N D
Logistic Regression Analysis of Matched Case-Control Data-Part 2
EVW LOGISTIC MODEL FOR MATCHED DATA Logit P(X) = + E +1iV1i +2iV2i + EkWk
USING SAS’S PHREG PROCEDURE TO CARRY OUTCONDITIONAL ML ESTIMATION OF MATCHED DATA USING LOGISTIC REGRESSON
USING STATA’S CLOGIT PROCEDURE TO CARRY OUTCONDITIONAL ML ESTIMATION OF MATCHED DATA USING LOGISTIC REGRESSON
SPSS • SPSS does not perform conditional logistic regression except in the special case in which there is only one case per stratum, with one or more controls. • The SPSS survival analysis procedure COXREG can be used to obtain coefficient estimates equivalent to running a conditional logistic regression. • The process is similar to that demonstrated for SAS with PROC PHREG and the GALL dataset, although SAS is not limited to the special case.
SPSS (continued) As with SAS, a time variable must be created in the data, coded to indicate that all cases had the event at the same time, and all controls were censored at a later time. In the GALL dataset, this time variable is named survt ( SPSS dataset Is called gall.sav.)
SPSS (continued) • The program code for the gall.sav dataset (assuming one line of data for each subject, I.e., no weight variable) : • GET • FILE='A:gall.sav'. • COXREG • survt /STATUS=case(1) /STRATA=stratum • /METHOD=ENTER est gall • /CRITERIA=PIN(.05) POUT(.10) ITERATE(20) . • The model statement contains the time variable (survt) followed by a backslash and the case status variable (case) with the value for cases (1) in parentheses.