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,
  ...
)

Arguments

dataList

A list of data.frame objects. See the documentation of makeDataList for more information.

dat

A data.frame in short form. See the documentation of makeDataList for more information.

allJ

Numeric vector indicating the labels of all causes of failure.

ofInterestJ

Numeric vector indicating ftypeOfInterest that was passed to hazard_tmle.

nJ

The number of unique failure types.

uniqtrt

The values of trtOfInterest passed to mean_tmle.

t0

The timepoint at which survtmle was called to evaluate.

verbose

A logical indicating whether the function should print messages to indicate progress.

...

Other arguments. Not currently used.

Value

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.