Greetings,
I'm running stata 15.1 on OSX. I have three ordinal variables relating to public spending preferences that are all strongly correlated. One of them is missing around a 103 observations, though. I'd like to impute these missing values but I'm not quite sure what I'm doing. Here's what I've done thus far:
I should note that I wasn't sure how many imputations to run, so I simply selected 10. I'm also unsure about the rseed #.
Assuming I did everything correctly up to this point--what's the next step(s)? How do I generate the final imputed variable (which should have 1200 observations)? Thanks in advance for your help!
I'm running stata 15.1 on OSX. I have three ordinal variables relating to public spending preferences that are all strongly correlated. One of them is missing around a 103 observations, though. I'd like to impute these missing values but I'm not quite sure what I'm doing. Here's what I've done thus far:
Code:
mi set mlong
Code:
mi register imputed spending
Code:
mi impute ologit spending revchildcare revhealthspend, add(10) rseed(1234)
Assuming I did everything correctly up to this point--what's the next step(s)? How do I generate the final imputed variable (which should have 1200 observations)? Thanks in advance for your help!
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input double spending byte(revchildcare revhealthspend) 7 7 7 6 6 6 2 2 2 6 7 7 1 1 1 1 2 1 7 7 7 3 3 4 1 1 1 6 6 6 2 4 1 3 2 3 5 4 6 2 4 4 3 5 4 1 2 3 6 7 7 4 5 4 1 1 1 6 6 6 5 5 6 2 6 5 7 5 6 7 6 7 5 5 5 5 6 5 2 4 4 6 6 7 7 7 7 5 6 6 . 7 7 7 6 7 1 4 4 2 4 4 5 5 5 6 7 6 7 5 5 4 5 5 3 4 4 2 4 4 6 4 6 4 5 6 3 3 5 7 7 7 6 6 6 1 4 4 5 4 4 5 4 4 7 6 7 3 2 4 5 4 4 6 7 7 3 4 4 4 1 5 3 4 4 2 5 4 2 4 4 7 7 7 3 6 3 4 1 7 1 1 2 5 4 5 7 6 7 3 5 4 7 7 7 5 7 7 6 6 6 7 7 7 1 3 3 1 1 2 3 6 6 7 7 7 6 7 7 3 6 2 4 6 5 2 4 4 4 5 6 1 4 1 1 4 4 . 4 1 3 4 4 2 3 4 6 6 6 2 6 4 4 1 1 2 3 1 7 7 7 . 3 3 3 1 1 5 4 6 7 7 7 7 4 7 1 1 1 5 6 7 7 6 6 4 6 7 1 2 2 2 3 3 4 5 6 3 1 2 end label values spending srv_spend label values revchildcare revchildcare label def revchildcare 1 "Decrease a great deal", modify label def revchildcare 2 "Decrease moderately", modify label def revchildcare 3 "Decrease a little", modify label def revchildcare 4 "No change", modify label def revchildcare 5 "Increase a little", modify label def revchildcare 6 "Increase moderately", modify label def revchildcare 7 "Increase a great deal", modify label values revhealthspend revhealthspend label def revhealthspend 1 "Decrease a great deal", modify label def revhealthspend 2 "Decrease moderately", modify label def revhealthspend 3 "Decrease a little", modify label def revhealthspend 4 "No change", modify label def revhealthspend 5 "Increase a little", modify label def revhealthspend 6 "Increase moderately", modify label def revhealthspend 7 "Increase a great deal", modify
Comment