Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Using stored results


From   "J. J. W." <[email protected]>
To   [email protected]
Subject   st: Using stored results
Date   Wed, 11 Sep 2013 10:58:44 +0200

Dear all,

I have a small question about using stored results. Suppose I do the following:

sum var1 var2 var3

I will only get stored results from the last variable, which is in
this case var3. I am wondering whether there is a way to retrieve them
from var1 and var2 too.

I know I can do the following:

sum var1

disp r(mean)

sum var2

disp r(mean)

sum var3

disp r(mean)

I am wondering whether is another way, which is easier, more elegant.

Thanks in advance!

Yours sincerely,

Jun Jie
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index