logistic regression analysis of matched case-control data- part 2
TRANSCRIPT
![Page 1: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/1.jpg)
Logistic Regression Logistic Regression Analysis of Matched Analysis of Matched Case-Control Data-Case-Control Data-
Part 2Part 2
![Page 2: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/2.jpg)
EVW LOGISTIC MODEL FOR MATCHED DATA
Logit P(X) = + E + 1iV1i + 2iV2i
+ EkWk
OR = exp [ + kWkk
]
![Page 3: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/3.jpg)
![Page 4: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/4.jpg)
![Page 5: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/5.jpg)
![Page 6: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/6.jpg)
![Page 7: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/7.jpg)
![Page 8: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/8.jpg)
USING SAS’S PHREG PROCEDURE TO CARRY
OUTCONDITIONAL ML
ESTIMATION OF MATCHED DATA USING LOGISTIC
REGRESSON
![Page 9: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/9.jpg)
![Page 10: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/10.jpg)
![Page 11: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/11.jpg)
![Page 12: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/12.jpg)
![Page 13: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/13.jpg)
![Page 14: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/14.jpg)
![Page 15: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/15.jpg)
![Page 16: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/16.jpg)
USING STATA’S CLOGIT PROCEDURE TO CARRY
OUTCONDITIONAL ML
ESTIMATION OF MATCHED DATA USING LOGISTIC
REGRESSON
![Page 17: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/17.jpg)
![Page 18: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/18.jpg)
. clogit case est gall [fweight=wgt], strata(stratum)
![Page 19: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/19.jpg)
. clogit case est gall [fweight=wgt], strata(stratum) or
![Page 20: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/20.jpg)
. clogit case est [fweight=wgt], strata(stratum)
![Page 21: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/21.jpg)
. clogit case est [fweight=wgt], strata(stratum) or
![Page 22: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/22.jpg)
![Page 23: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/23.jpg)
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.
![Page 24: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/24.jpg)
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.)
![Page 25: Logistic Regression Analysis of Matched Case-Control Data- Part 2](https://reader034.vdocuments.us/reader034/viewer/2022042603/56649eda5503460f94be967a/html5/thumbnails/25.jpg)
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.