Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: error with -egen median if-

From   "Alex Ogan" <>
To   <>
Subject   RE: st: RE: error with -egen median if-
Date   Mon, 22 May 2006 16:02:18 -0400

Thanks for posting this -- sorry I didn't search more before posting the
question.  I read the explanation, and read _gmedian.ado to see that it
does indeed include -version 3.0-.  

Here's my next question -- sorry if this is a FAQ too:

Why hasn't this been fixed?  Have I done something wrong and failed to
receive some official updates?  -update ado- reports that my ado files
are already up to date... Is there some other command that has replaced
-egen, median()- which I should be using instead?  I can't understand
why this problem would still exist, five years after the FAQ you
referenced was posted. 


-----Original Message-----
[] On Behalf Of n j cox
Sent: Monday, May 22, 2006 3:48 PM
Subject: Re: st: RE: error with -egen median if-

Alex Ogan reported a problem with -egen, median()-
and -if-. Austin Nichols posted code that works
around the problem.

The problem is explained in an FAQ

Why does a program defined by an ado-file sometimes not work when given 
a string comparison?

although this particular manifestation has been
lurking in official Stata code ever since Stata 6.

*   For searches and help try:

This message is intended solely for the designated recipient(s). It may contain confidential or proprietary information and may be subject to confidentiality protections. If you are not a designated recipient, you may not review, copy, or distribute this message. If you receive this in error, please notify the sender by reply e-mail and delete this message. 

Arrowstreet Capital, L.P. is an Equal Opportunity Employer. 

*   For searches and help try:

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