Zu den Inhalten springen
Medical Center
.
.
Ethics-Commission
.
Mission Statement
.
Statistics and Facts
.
Treatment
.
.
Clinics
.
Institutes
.
Interdisciplinary centers
.
Other Facilities and Services
.
Your Stay
.
Research
.
.
Research Emphases
.
Education
.
.
Career
.
.
Job Offers
.
Vocational Training
.
International nursing staff
.
Press
.
.
Notfall
.
Kliniken
.
Lageplan
.
Emergency numbers
.
Clinics
.
How to find us
.
de
.
en
.
Institut für Medizinische Biometrie
und Statistik (IMBI)
Forschungsdatenmanagement
Knowledge Discovery and Synthesis
Medical Data Science
Methods in Clinical Epidemiology
Expert Knowledge and Data Interactions
Sektion Versorgungsforschung und Rehabilitationsforschung (SEVERA)
Studien und Beratung
Admin & IT
SFB 1597 Small Data
Lehrbücher
Methodik Klinischer Studien, 3. Auflage
Multivariable Model-building
Competing Risks and Multistate Models with R
Regression Models as a Tool in Medical Research
Meta-Analysis with R
Competing Risks and Multistate Models with R
The book
R code
Exercises
Links
R code
R code for chapter 3
R code for chapter 4
R code for chapter 5
R code for chapter 6
R code for chapter 7
R code for chapter 9
R code for chapter 10
R code for chapter 11
Appendix
Appendix
HIER SPENDEN
Home
›
Institut für Medizinische Biometrie und Statistik Neu
›
deutsch
›
Institut für Medizinische Biometrie und Statistik
›
Lehrbücher
›
Competing Risks and Multistate Models with R
›
R code
›
Appendix
Appendix
## number of boostrap replications nboot <- 10000 res <- lapply(seq_len(nboot), function(i) { index <- sample(unique(sir.cont$id), replace=TRUE) dboot <- sir.cont[unlist(sapply(index, function(x) which(x==sir.cont[["id"]] ))), ] coef01 <- coef(coxph(Surv(time, to == 1) ~ age + sex, dboot, subset = from == 0)) coef10 <- coef(coxph(Surv(time, to == 0) ~ age + sex, dboot, subset = from == 1)) matrix(c(coef01, coef10), ncol = 4) }) res <- do.call(rbind, res) se.boot <- matrix(sqrt(apply(res, 2, var)), ncol = 4, dimnames = list("", c("age01", "sex01", "age10", "sex10")))
Kontakt
Klicken Sie
hier
um zu unserer Kontaktseite zu gelangen.
Imprint
.
.
Privacy Policy
.
.
.
Patienten-Feedback
.
.
.
.
.
.
.
.
.
.
.
Barrierefreiheit
.
.
Gebärdensprache
.
.
Einfache Sprache
.
.
.