Code:
. ssc install ebalfit
Code:
. ssc install moremata, replace
The new command called ebalfit estimates an entropy balancing model (similar to a logit model) and displays its coefficients along with standard errors. predict can then be used to generate the balancing weights or the propensity score implied by the model. Variance estimation is based on influence functions, which can be stored for further usage (e.g. to correct standard errors of statistics computed using the balancing weights).
The heavy lifting is done in Mata; see the new mm_ebalance() function in moremata.
ben
0 Response to ebalfit: New command for entropy balancing
Post a Comment