R/hazards_influence_curve.R
getHazardInfluenceCurve.Rd
This function computes the hazard-based efficient influence curve at the final estimate of the fluctuated cause-specific hazard functions and evaluates it on the observed data. The influence function is computed on the long-format data but is subsequently summed over all timepoints for each observation and the function returns a new short-form data set with columns added corresponding to the sum over all timepoints of the estimated efficient influence function evaluated at that observation.
getHazardInfluenceCurve( dataList, dat, allJ, ofInterestJ, nJ, uniqtrt, t0, verbose, ... )
dataList | A list of |
---|---|
dat | A |
allJ | Numeric vector indicating the labels of all causes of failure. |
ofInterestJ | Numeric vector indicating |
nJ | The number of unique failure types. |
uniqtrt | The values of |
t0 | The timepoint at which |
verbose | A |
... | Other arguments. Not currently used. |
An object of class data.frame
with columns D.jX.zZ
added for each value of X in ofInterestJ
and each value of Z in
uniqtrt
. These are the sum over all timepoints of the estimated
efficient influence function evaluated at that observation.