fluctuateQ1: fluctuateQ1

View source: R/fluctuate.R

fluctuateQ1R Documentation

fluctuateQ1

Description

Function called internally by drtmle to perform the first fluctuation of the initial estimator of Q (i.e., solves the original EIF estimating eqn)

Usage

fluctuateQ1(Y, A, W, DeltaA, DeltaY, Qn, gn, a_0, coefTol = 1000)

Arguments

Y

The outcome

A

The treatment

W

The covariates

DeltaA

Indicator of missing treatment (assumed to be equal to 0 if missing 1 if observed)

DeltaY

Indicator of missing outcome (assumed to be equal to 0 if missing 1 if observed)

Qn

A list of outcome regression estimates evaluated on observed data

gn

A list of propensity regression estimates evaluated on observed data

a_0

A list of fixed treatment values

coefTol

A tolerance level on the magnitude of the coefficient that flags the result as potentially the result of numeric instability.


benkeser/drtmle documentation built on Jan. 6, 2023, 11:40 a.m.