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

st: RE: RE: Converting summary statistics into a column in stata editor


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Converting summary statistics into a column in stata editor
Date   Mon, 24 Oct 2005 12:18:48 +0100

This is true but by itself can lead to lots 
of variables each containing only one value, 
which ultimately are not very easy to work 
with. 

Alternatives include using scalars 
to store values, -egen- and -collapse-. 

Nick 
[email protected] 

Munro, Cameron
 
> -summarize- returns a number of values, including minimum 
> (see 'Saved Results' under -summarize- in the manual and in 
> help). You can always see what is being returned using 
> -return list- and generate a new variable from such output 
> using something like generate newVar=r(min). Then it is 
> preserved after subsequent tabulations and available for calculations.

Mosca, Ilaria
 
> I would like to retain the information I obtain with the command
> summarize (more specifically the values "minimum") and put such values
> in a column in stata editor. Is that possible? With which command? 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index