targetQg.ltmle: targetQg.ltmle

View source: R/targetQg.ltmle.R

targetQg.ltmleR Documentation

targetQg.ltmle

Description

Function that targets estimates of Q to solve the EIF. Fits a single logistic fluctuation regression of c(Q2n, L2) on relevant offsets and so-called clever covariates.

Usage

targetQg.ltmle(A0, A1, L2, Q2n, Q1n, g1n, g0n, abar, tolQ, return.models, ...)

Arguments

A0

A vector treatment delivered at baseline.

A1

A vector treatment deliver after L1 is measured.

L2

A vector outcome of interest.

Q2n

A vector of estimates of Q_2,0

Q1n

A vector of estimates of Q_1,0

g1n

A vector of estimates of g_1,0

g0n

A vector of estimates of g_0,0

abar

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

tolQ

A numeric

return.models

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

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 Oct. 22, 2023, 9:50 a.m.