getHazardInfluenceCurve: Extract Influence Curve for Estimated Hazard Functions

Description Usage Arguments Value

View source: R/hazards_influence_curve.R

Description

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.

Usage

1
2
getHazardInfluenceCurve(dataList, dat, allJ, ofInterestJ, nJ, uniqtrt, t0,
  verbose, ...)

Arguments

dataList

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

dat

A data.frame in short form. See ?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 boolean 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.


survtmle documentation built on May 2, 2019, 9:44 a.m.