Hello everyone,
I'm using the following commands to impute missing values.
mi set mlong
mi register imputed treatment $continous
mi impute chain (logit) treatment (regress) $continous , add(10) rseed (54321)
mi estimate: regress treatment $continous
The problem is with the last command since treatment is a binary variable with no missing values, is it okay to use regress with it? The command doesn't work when I replace regress with logit.
Also how can i be sure that the missing values are replaced by mi impute chain rather than being stored in stata memory?
* $continous is simply a list of variables which are continuous in nature. They are basically the variables that I will be using (after imputation) for matching via PSM.
I'm using the following commands to impute missing values.
mi set mlong
mi register imputed treatment $continous
mi impute chain (logit) treatment (regress) $continous , add(10) rseed (54321)
mi estimate: regress treatment $continous
The problem is with the last command since treatment is a binary variable with no missing values, is it okay to use regress with it? The command doesn't work when I replace regress with logit.
Also how can i be sure that the missing values are replaced by mi impute chain rather than being stored in stata memory?
* $continous is simply a list of variables which are continuous in nature. They are basically the variables that I will be using (after imputation) for matching via PSM.
Comment