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/