targetQ1: targetQ1

View source: R/targetQ1.R

targetQ1R Documentation

targetQ1

Description

Function that targets Q1n in two steps. First solving original equations, then solving sum of two new equations.

Usage

targetQ1(A0, A1, L2, Qn, gn, Qnr.gnr, abar, tolg, tolQ, return.models,
  tol.coef = 100, ...)

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

Qnr.gnr

A list of current estimates of reduced dim. regressions

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.

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.