Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Caitlin Hamrock <caitlinhamrock@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: descriptive statistics of imputed data using by |

Date |
Fri, 5 Apr 2013 13:10:37 -0500 |

. Hello, I am trying to create a table of descriptive statistics using imputed data, however I want to calculate the mean math score (my dependent variable) by poverty level (an ordinal independent variable which is also imputed) across all of my imputed data sets collectively. I've tried using the following code: mi estimate: mean mathf, by pov_stat Stata doesn't like this and gives me an error message. Since the poverty status variable is imputed, an individual coded 1 in the first imputed data set might be coded 2 in the second. So then I tried this: mi xeq: by pov_stat, sort: sum mathf This gives me the mean math scores by poverty status independently for each imputed data set (I have one original data set and five imputed copies and thus 6 sets of means). I have two questions: First, Is there a stata command that can give me means and standard deviations by poverty status across all of my imputed data sets simultatneously? Second, is it incorrect to calculate the average of the mean math scores across all my imputed data sets (exluding the incomplete data set _mi_m=0)? how about the standard deviations? Thank you, Caitlin * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**st: RE: descriptive statistics of imputed data using by***From:*"David Radwin" <dradwin@mprinc.com>

- Prev by Date:
**st: CFA and clustered estimator** - Next by Date:
**st: RE: descriptive statistics of imputed data using by** - Previous by thread:
**st: CFA and clustered estimator** - Next by thread:
**st: RE: descriptive statistics of imputed data using by** - Index(es):