- Im running an nbreg on CysC is the outcome. I have a key variables: Race, age, sex, diabetes, smoking, depression, and diagnosis.
- This is my model: nbreg OCRP_ADJ i.DX i.reth agey ragender diab drink smokev cesd, irr has 2,476 listwise deletions
- There are 2,476 values for CYSC that dont have a race value.
- I want to impute the missing Race variable and impute the 2,476 values
- When i run mi impute regress Stata skips over the 2,476 values I want to impute.
mi register imputed reth
mi impute regress reth OCYSC_ADJ agey ragender diab drink smokev cesd if (miss_OCYSC_ADJ==0), noconstant add(10) force
Univariate imputation Imputations = 10
Linear regression added = 10
Imputed: m=21 through m=30 updated = 0
------------------------------------------------------------------
| Observations per m
|----------------------------------------------
Variable | Complete Incomplete Imputed | Total
-------------------+-----------------------------------+----------
reth | 4769 2476 0 | 7245
------------------------------------------------------------------
(complete + incomplete = total; imputed is the minimum across m
of the number of filled-in observations.)
Note: Right-hand-side variables (or weights) have missing values;
model parameters estimated using listwise deletion.
.
end of do-file
0 Response to Multiple Imputation-Incomplete values need to be imputed
Post a Comment