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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Wednesday, December 08, 2004 12:02 PM
To: statalist@hsphsun2.harvard.edu
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
n.j.cox@durham.ac.uk
*
* 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/