powered by
This function implements the truncation feature when estimand is ATT. Please use our main function causal_multi_treat.R.
trunc_fun(x, trim_alpha = 0.05)
vector to be trimmed
alpha values for IPTW weight trimming, inherited from causal_multi_treat.R
vector trimmed
# NOT RUN { library(CIMTx) trunc_fun(1:10) # }
Run the code above in your browser using DataLab