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 householdid 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,
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 householdid 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,