I believe that what you are looking for is r(N).
see "return list"
. count
1925
. return list
scalars:
r(N) = 1925
scott
On 5/5/05, Sascha Robert <[email protected]> wrote:
> After having learned quiet a lot from Nick W. telling me the trick
>
> . statsby "ktau x y " TauB=r(tau_b) P=r(p) , by(z) saving(myfile)
>
> for STATA 8 I am now trying something like
>
> . statsby "count" c=r("???"), by(x y z) saving(myfile)
>
> Well, I've seen the ktau.ado file... but there is no count.ado to check
> what "???" could be. Any hints?
>
> Sascha
>
> --
> ***** sascha robert | mailto: [email protected] *****
> *
> * 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/
>
*
* 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/