I need some help on imputing missing observations for a variable. I am working with panel data and have 324 observations (18 years and 18 countries). My dependent variable in the regression is missing 49 observations, specifically for 4 countries there are around 12 or so years of data missing.
I was thinking of getting Stata 14 to impute those. I use the following commands:
mi set mlong
mi register imputed var1
mi impute regress var1 var2 var3, add(1)
Stata then tells me that 49 incomplete observations were imputed. However, when I check my data, I find that Stata added 49 observations for all variables on top of the 324, and not replaced the missing values. Can I get some intuition on this? Is it possible to get Stata to just replace the missing variables with imputed variables rather than generating a whole new set?
I was thinking of getting Stata 14 to impute those. I use the following commands:
mi set mlong
mi register imputed var1
mi impute regress var1 var2 var3, add(1)
Stata then tells me that 49 incomplete observations were imputed. However, when I check my data, I find that Stata added 49 observations for all variables on top of the 324, and not replaced the missing values. Can I get some intuition on this? Is it possible to get Stata to just replace the missing variables with imputed variables rather than generating a whole new set?
Comment