This is an -egen- function from David Kantor's package -_gwtmean- on
SSC.
The function works fine for me.
I think your file has got corrupted somehow. I suggest re-installing.
. ssc inst _gwtmean, replace
Nick
[email protected]
Davood Souri
> would you help me on this:
>
> egen asd=wtmean( geram),weight(size)
> ' invalid name
> (error occurred while loading _gwtmean.ado)
> r(198);
>
> I have installed _gwtmean within the stata but...!
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/