If for some reason you are determined not
to use macros (NB to me the phrase "macro
variables" has no clear Stata meaning),
then I would have thought that your only
alternative was to type them in by hand.
sts graph, by(sex) legend(order(1 "females (1776)" 2 "males (1812)"))
Nick
[email protected]
E. Michael Foster
> 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?
*
* 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/