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

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

get.weights.unstabR 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]


twang documentation built on Sept. 11, 2024, 8:47 p.m.