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

RE: st: maybestupid


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: maybestupid
Date   Wed, 3 Mar 2004 16:12:51 -0000

A different issue is that 

su var1, meanonly 
scalar s = r(sum) 

also works, and is more efficient. 

Nick 
[email protected] 

Andreas Aschbacher 

> >Now I know why I posted this "stupid" question  :
> >
> >1)
> >  -qui sum var1
> >  -scalar s = r(sum)
> >works as well as :
> >2)
> >  - qui summ var1
> >  - scalar s = r(sum)
> >
> >I know about qui and summ(arize),
> >but why does delineation 1) work as well ?????? /same results

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