iptw: IPTW method

Description Usage Arguments Examples

Description

Functions calculates a "causal" estimate of a binary treatment/exposure (a) on an outcome (y) using inverse probability of treatment weighting (IPTW). It can calculate the risk difference or risk ratio.

Usage

1
iptw(data, y, a, w, estimate = "diff")

Arguments

estimate

Estimate difference or ratio. Defaults to "diff"

Examples

1
iptw()

RyanGan/MSModelR documentation built on May 23, 2019, 10:35 p.m.