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

Description Usage Arguments Details Value See Also

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



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.