iptw: Inverse Probability Treatment Weighted (IPTW) Estimator

Description Usage Arguments Details Value

Description

iptw Returns the estimate of E Y_a using the estimator popularized by Robins et al.

Usage

1
iptw(abar, a, g_a, y)

Arguments

abar

Treatment of interest

a

Indicator of treatment assignment

g_a

Estimate of g(A|W)

y

Indicator of outcome observed

Details

Requires that g_a be fit manually outside of the function.

Value

iptw returns the IPTW estimate.


tranlm/reproducibilityR documentation built on May 31, 2019, 7:45 p.m.