These are materials for logistic regression course II: Conditional logistic regression, the academic year 2019 (the calendar year 2020). This year I use R version 3.6.2 and the regression outputs are the same as that produced from the previous version of R.
Conditional logistic regression requires library survival that already exists in your R library folder. Just call
The module can be downloaded here.
logistic1702-2
The required modules for this course are ice and
In this session, we are going to use multilevel logistic regression (
(Since the package is installed from CRAN or its mirror, a
Finally, you can follow my R script file below. Don't forget to change the working directory to yours.
conditional2.R
Additional reading:
The article "Medication risk factors associated with healthcare-associated Clostridium difficile infection: a multilevel model case–control study among 64 US academic medical
J. Antimicrob. Chemother
No comments:
Post a Comment