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   n j cox <n.j.cox@durham.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: error with -egen median if-
Date   Mon, 22 May 2006 20:47:35 +0100

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?

http://www.stata.com/support/faqs/lang/define.html

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

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/




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