Skip to contents

Singly robust: consistent only if the outcome model Q is correct.

Usage

dr_gcomp(Y, A, nu)

Arguments

Y

Numeric outcome vector.

A

Binary treatment vector (0/1).

nu

A nuisance object from dr_nuisance().

Value

A list with estimate, se, ci, method.

Examples

if (FALSE)  dr_gcomp(d$Y, d$A, dr_nuisance(d$Y, d$A, d$X, "full"))  # \dontrun{}