targetg0: targetg0

View source: R/targetg0.R

targetg0R Documentation

targetg0

Description

Function that targets g0n.

Usage

targetg0(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 either "covariate" or "weight"

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.