targetg1: targetg1

View source: R/targetg1.R

targetg1R Documentation

targetg1

Description

Function that targets g1n.

Usage

targetg1(A0, A1, L2, Qn, gn, Qnr.gnr, abar, tolg, tolQ, return.models,
  tol.coef = 10, method = "scaled", ...)

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.

method

A character "scaled" or other

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 June 10, 2025, 11:25 p.m.