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

Re: st: statsby again


From   scott hankins <[email protected]>
To   [email protected]
Subject   Re: st: statsby again
Date   Thu, 5 May 2005 14:54:49 -0400

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index