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

st: legend sample size

From   "E. Michael Foster" <>
Subject   st: legend sample size
Date   Thu, 3 Jun 2004 10:51:20 -0400 (EDT)

  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?


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

*   For searches and help try:

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