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

st: RE: specify freq criteria for rmean


From   "Garrard, Wendy M." <[email protected]>
To   <[email protected]>
Subject   st: RE: specify freq criteria for rmean
Date   Wed, 8 Dec 2004 12:26:29 -0600

Nick, thanks very much. I was indeed referring to the rmean() function. 

I truly appreciate the help from you and others on the list as I learn
my way around Stata.

Cheers,
wg

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: Wednesday, December 08, 2004 12:02 PM
To: [email protected]
Subject: st: RE: specify freq criteria for rmean

<< snip >>


In such a way any criterion of this 
kind you like is manageable in principle. To my mind

egen robs = robs(var?) 
egen rmean = rmean(var?) if robs >= 6 

beats that code hands down. 

Nick 
[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/



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