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
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]


twang documentation built on Oct. 25, 2021, 5:08 p.m.