Description Usage Arguments Value Author(s) Examples
Cumulative baseline excess hazard estimate
1 2 |
object |
model estimated with matchpropexc |
strata |
default strata if the model has them. |
time |
specify at which time to compute the estimates |
SEcumhaz |
by default set to TRUE. FALSE if you don't want to compute it. |
cumulative baseline excess hazard estimates. If the model has strata, the returned object will be a list. Estimated are computed at the defined time.
Cristina Boschini
1 2 3 4 5 6 | dhaz<-sim.data.MatchH(nca=5000, ncont=5)
setdhaz<-compdata(Surv(time, status)~z+cc, clust=id, idControl=j, data=dhaz)
exc.model<-matchpropexc(Surv(entry,exit,status)~strata(z)+cc, data=setdhaz)
cumhaz <- exccumhaz(exc.model) #it's a list because of strata
cumhaz <- exccumhaz(exc.model, time=seq(0,30,5))
#you can chose at which time-points to show the estimates
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.