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

st: Saved Results by Group


From   DcPrego@aol.com
To   statalist@hsphsun2.harvard.edu
Subject   st: Saved Results by Group
Date   Tue, 06 Aug 2002 16:25:13 -0400

Dear Statalisters,

Suppose I am summarizing survival data with the command "stsum, by(group)" and would like to store particular results of each group in a new variable I have generated.  The stored result "r(p50)", for example, will give me the 50th percentile of the total set.  Is there a stored result for the 50th percentile of just group 1 or group 2? 

Thanks in advance for your help!

Dan Pregibon
Chemical Engineering
Case Western Reserve University
*
*   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