cum.haz: Calulate the Values of the cumulative Hazard at Fixed Times

View source: R/comp.est.R

cum.hazR Documentation

Calulate the Values of the cumulative Hazard at Fixed Times

Description

Calulate the Values of the cumulative Hazard at Fixed Times

Usage

cum.haz(est, t.eval = c(0.25, 0.75))

Arguments

est

an object of the class plac.fit.

t.eval

time points at which the Lambda(t) is evaluated (for both conditional apporach and the PLAC estimator).

Value

a list containing the estiamtes and SEs of Lambda(t) for both conditional apporach and the PLAC estimator.

Examples

dat1 = sim.ltrc(n = 50)$dat
est = PLAC(ltrc.formula = Surv(As, Ys, Ds) ~ Z1 + Z2,
     ltrc.data = dat1, td.type = "none")
H = cum.haz(est, t.eval = seq(0.1, 0.9, 0.1))
H$L
H$se.L

plac documentation built on July 9, 2023, 6:37 p.m.