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, ...)
A list of data.frame
objects. See ?makeDataList
for more information.
A data.frame
in short form. See ?makeDataList
for
more information.
Numeric vector indicating the labels of all causes of failure.
Numeric vector indicating ftypeOfInterest
that was
passed to hazard_tmle
.
The number of unique failure types.
The values of trtOfInterest
passed to mean_tmle
.
The timepoint at which survtmle
was called to evaluate.
A boolean indicating whether the function should print messages to indicate progress.
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.