Created
October 19, 2015 01:17
-
-
Save andrewheiss/6430d4d65e69109c03de to your computer and use it in GitHub Desktop.
clustered
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model2 <- coxph(Surv(years_since_event, fail) ~ x1 + x2 + cluster(name), data=df, ties="breslow") | |
summary(model2) | |
# exp(coef) exp(-coef) lower .95 upper .95 | |
# x1 1.2169 0.8218 0.9995 1.482 | |
# x2 0.5712 1.7506 0.4849 0.673 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment