CalcIC: CalcIC

View source: R/ltmleMediation_TMLECalcs.R

CalcICR Documentation

CalcIC

Description

Calculate the TMLE influence curve for one node Q estimate.

Usage

CalcIC(
  Qstar.kplus1,
  Qstar,
  h.g.ratio,
  uncensored,
  intervention.match,
  regimes.with.positive.weight
)

Arguments

Qstar.kplus1

Estimate of the expectation with respect to the distribution of the node one ahead of the current node given the past (dimension: n x num.regimes).

Qstar

Possibly targeted estimate of Q for the current node.

h.g.ratio

I() * h * observation.weights * cum.q.ratio / g.

uncensored

Uncensored samples

intervention.match

Samples that match the rule.

regimes.with.positive.weight

Regimes with positive weight.

Value

Returns IC for one node Q estimate.


podTockom/medltmle documentation built on Aug. 9, 2022, 9:32 a.m.