Specify truncation parameters for transportIP
and transportTADA
.
Usage
trunc(type = c("quantile", "raw"), value)
Arguments
- type
One of "quantile"
or "raw"
. If "quantile"
, the truncation threshold is the quantile of the weights specified by value
. If "raw"
, the truncation threshold is value
.
- value
Value of threshold as described above. When type = "quantile"
, this argument should be between 0 and 1.
Value
A trunc
object that can be processed by transportIP
and transportTADA
for weight truncation.
Details
Here, truncation refers to the procedure of setting weights above a threshold equal to the threshold. Thus, observations with extreme weights are included in the analysis, albeit with reduced weights.