Hi all,
I'm using the following code to run some descriptive statistics of my imputed data:
I do not get any error messages but the output does not provide percentages as I had hoped:
Is there a way to get STATA to generate these percentages as I have quite a lot of descriptives to do?
Many thanks,
Robyn
I'm using the following code to run some descriptive statistics of my imputed data:
Code:
foreach var of varlist socpart contact sex ethnicity education wealth wselfd HHTot { mi estimate, post i(1/50): proportion mmw2 [pw=scw2wgt], over(`var') percent //for categorical variables }
Code:
Multiple-imputation estimates Imputations = 50 Proportion estimation Number of obs = 7,803 Average RVI = 0.0025 Largest FMI = 0.0042 Complete DF = 7802 DF adjustment: Small sample DF: min = 7,746.29 avg = 7,772.30 Within VCE type: Robust max = 7,787.60 -------------------------------------------------------------- | Normal | Proportion Std. err. [95% conf. interval] -------------+------------------------------------------------ mmw2@sex | 0 male | .2256078 .0073 .2112977 .2399178 0 female | .1623648 .0057054 .1511808 .1735489 1 male | .265547 .0076934 .2504658 .2806282 1 female | .2385374 .0067366 .2253319 .2517429 2 male | .2137548 .0070817 .1998727 .2276368 2 female | .2194468 .0066042 .2065008 .2323929 3 male | .1283141 .0057886 .1169669 .1396613 3 female | .1609143 .0058514 .149444 .1723845 4 male | .1667764 .0065114 .1540123 .1795406 4 female | .2187367 .0066731 .2056555 .2318178 --------------------------------------------------------------
Many thanks,
Robyn
Comment