Skip to contents

Specify trimming parameters for transportIP and transportTADA.

Usage

trim(value)

Arguments

value

Threshold for trimming, which should be between 0 and 0.5.

Value

A trim object that can be processed by transportIP and transportTADA for weight trimming.

Details

Here, trimming refers to excluding observations with extreme weights from the analysis. This package only supports Crump trimming (cite), which trims based on propensity scores rather than weights. Thus, trimming is not supported for weighting components that do not have a well-defined propensity score (final in transportIP; participation and final in transportTADA).