You can still do
. return li
and
. ereturn li
to see what is left behind. In this case it
is r(N). Also see [R] count.
By the way, a direct way of doing what I think
you want is
. contract x y z
Nick
[email protected]
Sascha Robert
> 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?
*
* 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/