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

st: legend sample size


From   "E. Michael Foster" <foster@pop.psu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: legend sample size
Date   Thu, 3 Jun 2004 10:51:20 -0400 (EDT)

Hi,
  I'm producing graphs of hazards using -sts graph- with a -by- variable.
I'd like the legend to show the sample size for each group.

  Anyway to do this without storing the sample sizes in macro variables
and then passing them to -sts graph- in a legend option?

thanks,
Michael

E. Michael Foster
Professor of Health Policy and of Demography
Methodology Center and Department of Health Policy
Penn State


*
*   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