Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Drawing a sample that maintains means


From   "Sayer, Bryan" <BSayer@s-3.com>
To   "@StataList (E-mail)" <statalist@hsphsun2.harvard.edu>
Subject   st: Drawing a sample that maintains means
Date   Fri, 11 Oct 2002 12:35:11 -0400

I want to plot weight by age for two groups on the same graph.  One of the
groups has about 18,000 observations, which really crowds the graph.  The
other has about 700 observations.  So I would like to draw a sample that
will plot well, but maintain the mean weight (to one decimal place) at each
of six exams for each of the two groups.  Is there a good way to draw a
sample this specific?

Thanks!

Bryan Sayer
Statistician, SSS Inc.
bsayer@s-3.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index