hazuh: Distributional Functions given a U-shaped Hazard Function
Description
Given an object of class uh:
hazuh computes the hazard values;
chazuh computes the cumulative hazard values;
survuh computes the survival function values;
denuh computes the density function values.
Usage
hazuh(t, h)
chazuh(t, h)
survuh(t, h)
denuh(t, h)
Arguments
t
time points at which the function is to be evaluated.
h
an object of class uh.
Value
A numeric vector of the function values.
References
Wang, Y. and Fani, S. (2015). Nonparametric maximum likelihood
computation of a U-shaped hazard function. (In preparation)