iptw.regression: IPTW estimates from regression

Description Usage Arguments Details Author(s) Examples

Description

Calculates IPTW estimates from regression

Usage

1
iptw.regression(form.table.object, type = "w")

Arguments

form.table.object

An object created from form.table function

type

Type of weighting scheme to be used

Details

Supported weighting types are "0" (no weighting), "w" (unstabilized weights), "sw" (stabilized weights), "wn" (normalized unstabilied weights), "swn" (normalized stabilied weights), "swn2" (experimental).

Author(s)

Ehsan Karim ehsan@alumni.ubc.ca

Examples

1
2
3
form.table.object <- form.table(Y1A1L1=150, Y1A0L1=45, Y1A1L0=20, Y1A0L0=5, Y0A1L1=300, Y0A0L1=10, Y0A1L0=40, Y0A0L0=55)
form.table.object
iptw.regression(form.table.object, type = "w")

ehsanx/iptw documentation built on May 16, 2019, 1:21 a.m.