iptw: Standardized measures

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Standardized measures are calculated by this function using inverse probability of treatment weights (IPTW).

Usage

1
iptw(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).

Value

IPTW.measures

IPTW measures are listed

pseudo.data

pseudo frequency data are taulated

crude.data

unstratified or Crude pseudo frequency data

stratified.table

stratified or Crude pseudo frequency data

Author(s)

Ehsan Karim ehsan@alumni.ubc.ca

See Also

measures.calc,standardization,iptw

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(form.table.object, type = "sw")

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