powered by
Given an object of class uh:
uh
hazuh computes the hazard values;
hazuh
chazuh computes the cumulative hazard values;
chazuh
survuh computes the survival function values;
survuh
denuh computes the density function values.
denuh
hazuh(t, h) chazuh(t, h) survuh(t, h) denuh(t, h)
time points at which the function is to be evaluated.
an object of class uh.
A numeric vector of the function values.
Wang, Y. and Fani, S. (2017). Nonparametric maximum likelihood computation of a U-shaped hazard function. Statistics and Computing, (in print).
Uhaz, icendata, plot.uh
Uhaz
icendata
plot.uh
# NOT RUN { data(ap) h = Uhaz(icendata(ap), deg=2)$h hazuh(0:15, h) # hazard chazuh(0:15, h) # cumulative hazard survuh(0:15, h) # survival probability denuh(0:15, h) # density # }
Run the code above in your browser using DataLab