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

st: Adding sample sizes to graph


From   "Wagner, Joseph" <[email protected]>
To   <[email protected]>
Subject   st: Adding sample sizes to graph
Date   Mon, 12 Jan 2004 10:20:26 -0500

I think this is a fairly simple question but I didn't see anything similar
in the archive.  I have a large number of scatter plots that I need to
generate but I have been asked to include the sample sizes in the graphs.
For example, I want to do a scatter of bmi by age for HIV- and HIV+ so I
would like to get the sample size reported in each graph but I don't want to
have to type the sample size for each graph I will need.

scatter bmi age, by(hivst)
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index