| trim_weights_symmetric | R Documentation |
Performs symmetric trimming based on minimum propensity score across all treatment groups. Implements the Crump extension to multiple treatments as described in Yoshida et al. (2019).
trim_weights_symmetric(ps_result, data, treatment_var, delta = NULL)
ps_result |
A list returned by |
data |
A data.frame containing the treatment variable. |
treatment_var |
A character string specifying the name of the treatment
variable in |
delta |
Numeric trimming threshold in (0, 1/J] where J is the number of treatment levels. Default is NULL, which uses recommended values: 0.1 for binary treatment, 0.067 for 3 groups, 1/(2*J) for J >= 4. |
The symmetric trimming rule retains observation i if:
\min_j\{e_{ji}\} \geq \delta
For binary treatment (J=2), this reduces to: e(X) \in [\delta, 1-\delta].
A logical vector of length n, where TRUE indicates the observation should be kept and FALSE indicates it should be trimmed.
Yoshida, K., et al. (2019). Multinomial extension of propensity score trimming methods: A simulation study. American Journal of Epidemiology, 188(3), 609-616.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.