targetQ1.ltmle: targetQ1.ltmle

Description Usage Arguments Value

Description

Function that targets Q2n for ltmle.

Usage

1
2
targetQ1.ltmle(A0, A1, L2, Qn, gn, abar, tolg, tolQ, return.models,
  tol.coef = 10, ...)

Arguments

A0

A vector treatment delivered at baseline.

A1

A vector treatment deliver after L1 is measured.

L2

A vector outcome of interest.

Qn

A list of current estimates of Q2n and Q1n

gn

A list of current estimates of g1n and g0n

abar

A vector of length 2 indicating the treatment assignment that is of interest.

tolg

A numeric indicating the truncation level for conditional treatment probabilities.

tolQ

A numeric

return.models

A boolean indicating whether the fluctuation model should be returned with the output.

tol.coef

A numeric indicating the coefficient above which the minimization along the submodel using glm is deemed to be unreasonable. In these cases optim is used instead to perform the fluctuation along the same submodel.

Value

A list with named entries corresponding to the estimators of the fluctuated nuisance parameters evaluated at the observed data values. If return.models = TRUE output also includes the fitted fluctuation model.


benkeser/drinf documentation built on May 12, 2019, 11:59 a.m.