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
stset with multiple failure per subject dataHi everyone, I would like to ask for some advice on stset-ing my dataset with multiple failures per…
Creating funnel plots in meta-analyses of proportion studiesHi all, Hunter et al (https://doi.org/10.1016/j.jclinepi.2014.03.003) suggested that conventional fu…
Calculating weight for age z-scores in stataDear colleagues am trying to calculate weight for age z-score in stata but am just getting value 99 …
Ranking means from highest to lowest after bysort occupation: sumDear all, I would like to know how to rank means from highest to lowest after the following command…
Adding variables with partial common namesHi, I have variables such as fac_tot30_outpatient and prof_tot30_outpatient, which I want to sum by…
Subscribe to:
Post Comments (Atom)
0 Response to HotDeck results not reproducible
Post a Comment