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

st: RE: statsby again


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: statsby again
Date   Thu, 5 May 2005 19:49:32 +0100

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/



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