estimateGF: Estimate ATE with G-Formula

Description Usage Arguments

Description

Fits a parametric model and estimates ATE via IPTW with Wald-type confidence intervals from the empirical sandwich standard error estimates.

Usage

1
estimateGF(data, formula, model_method = "logistic", treatment_var_name, ...)

Arguments

data

The dataframe. This will be coerced from "tbl_df" to data.frame.

formula

Two-part formula: Outcome ~ Treatment + Covariates.

model_method

Currently only supported "logistic" for logit-link binomial GLM.

treatment_var_name

The name of the treatment variable's column in 'data'

...

additional arguments, especially those passed to m_estimate or the modeling function


BarkleyBG/causalsandwich documentation built on May 28, 2019, 11:36 a.m.