bestbeta | R Documentation |
This function implements the approximate conditional inferential approach of \insertCitekz19;textualPHInfiniteEstimates to proportional hazards regression.
bestbeta(fit, exclude = NULL, start = NULL, touse = NA, usecc = FALSE)
fit |
Output from a Cox PH regression, with x=TRUE and y=TRUE |
exclude |
data set with stratum and patient number to exclude. |
start |
Starting value |
touse |
columns of the design matrix to use. |
usecc |
Logical variable indicating whether to use a continuity correction, or nuerical variable representing teh continuity correction. |
Fitted survival analysis regression parameter of class coxph
kz19PHInfiniteEstimates
bfit<-coxph(Surv(TIME,CENS)~T+N+CD,data=breast,x=TRUE)
noccfit<-bestbeta(bfit)
bestbeta(bfit,usecc=TRUE,start=noccfit$start)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.