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

st: Re: Fwd: looping questions


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Fwd: looping questions
Date   Tue, 09 Aug 2005 13:58:54 -0400

For Kit Baum who wrote:

Date: August 9, 2005 8:58:25 AM EDT
To: statalist@hsphsun2.harvard.edu
Subject: looping questions


If Kelly really only wants to see mean and s.d.

tabstat price-displ, stat(mean sd) col(stat)

Alternatively,

statsmat price-displ, stat(mean sd) mat(mystats) format(%9.3f)

does not produce such a pretty table, but saves a matrix of the values for further calculations.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html



From: Kit Baum <baum@bc.edu>

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