get.weights.unstab {twang}R Documentation

Extract unstabilized propensity score weights for 'iptw' fits

Description

Extracts propensity score weights from an 'iptw' or 'mniptw' object.

Usage

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

Arguments

x

An 'iptw' or 'mniptw' object.

stop.method

The twop method used for the fit of interest.

withSampW

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

Details

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

Value

Returns a data.frame of weights.

See Also

[iptw]


[Package twang version 2.6 Index]