[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re:st: question about svy commands
Nick cox replied, in response to questions from Anant Thaker:
At 06:13 AM 3/7/2006, you wrote:
I would add, at the risk of stating the obvious, that there is a
-svymean- command in standard Stata. It has nothing to do with -egen-.
-egen- always follows a syntax
egen newvar = fcn() ...
and I am not aware of a -egen- function -svymean()-.
Also, if you want a weighted mean in an -egen- context, try the
_gwtmean package from SSC:
ssc desc _gwtmean
ssc install _gwtmean
But, I can say whether any of this is useful for the problem at hand.
-- David Kantor
* For searches and help try: