Displaying 1 result from an estimated 1 matches for "baselinea".
Did you mean:
baseline
2007 Sep 27
2
center option of basehaz in survfit
...l with two (dichotomous) factors and a continuous covariate.
Variable Possible Values
Factor1 0 or 1
Factor2 0 or 1
Covariate 0 to 100
I fit my model:
modelname <- coxph(Surv ~ Factor1 + Factor2 + Covariate, data = data)
If I then ask for:
baselineA <- basehaz(modelname, centered=FALSE)
I am fairly certain that baselineA will provide me with the cumulative hazard evaluated at Factor1 = 0, Factor2 = 0, Covariate = 0.
Yet, if I ask for:
baselineB <- basehaz(modelname, centered=TRUE)
I know that baselineB will evaluate the cumulative hazar...