search for: bandhazard

Displaying 1 result from an estimated 1 matches for "bandhazard".

2011 Jun 16
0
coxph: cumulative mortality hazard over time with associated confidence intervals
...(1.96*sqrt(M1$var[1])) NBHIGHCI <- basehazard * exp(-1.96*sqrt(M1$var[1])) # I applied the following equation H0*exp(Beta*X) to get to the cumulative hazard over time (covariate level 1) for females, In # this case X=1, and Beta is the regression coefficient from the coxph model (M1$coef[1]) bandhazard <- basehazard * exp(M1$coef[1]*1) BLOWCI <- bandhazard * exp(1.96*sqrt(M1$var[1])) BHIGHCI <- bandhazard * exp(-1.96*sqrt(M1$var[1])) # then the cumulative hazard plot with associated confidence intervals for males and females Time <- basehaz(M1, centered=FALSE)[,2] plot(Time, ba...