get.weights.unstab: Extract unstabilized propensity score weights for iptw fits.

Description Usage Arguments Details Value See Also

View source: R/get.weights.unstab.R

Description

Extracts propensity score weights from an iptw or mniptw object.

Usage

1
2
3
get.weights.unstab(x,
			stop.method = NULL,
            withSampW = TRUE)

Arguments

x

A iptw or mniptw object.

stop.method

The stop method used for the fit of interest.

withSampW

Returns weights with sample weights multiplied in, if they were provided in the original iptw call.

Details

Weights are the reciprocal of the product of the probability of receiving the treatment received.

Value

a vector of weights

See Also

iptw


twang documentation built on May 29, 2017, 11:52 a.m.

Search within the twang package
Search all R packages, documentation and source code