Hi everyone,
I'm imputing data using HotDeck.
gen income1 = income if treat == 0
hotdeck income1, store by(eligible) seed(1) impute(5) keep(income1 householdid)
merge 1:1 hhid_key using "$dtemp/imp2.dta", gen(_mnewx) keepusing(income1)
drop _mnewx
It somehow didn't give me reproducible results when I ran the do file several times. I did get the same results when I quit Stata and started all over again. Does anyone know the solution to this?
Thanks so much,
Related Posts with HotDeck results not reproducible
How to draw two base lines using coefplot command on stata.Hi, I'm trying to look at the average effect in the pre- and post treatment time periods. For that …
psmatch2 and exact matchingHello all! I am trying to combine the psmatch2 command with exact matching. More specifically, I am…
Creating variable with egen count() and conditionsI'm working with a labour force survey and want to attach to each observation a new variable recordi…
Categorical VariablesHi all I am trying to find out the average of certain categorical variables. The variable Name_mat…
Multiple imputation using mi impute chainedHello everyone. I am trying to do multiple imputation using mi impute chained using the syntax belo…
Subscribe to:
Post Comments (Atom)
0 Response to HotDeck results not reproducible
Post a Comment