[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: RE: historical maximum
Glad it was useful. By the way, omit "large"
when reading my comment.
Eric G. Wruck
> Thanks for pointing this out -- I think I have been
> needlessly coding around a non-problem.
> >A key point about missing values is that in Stata
> >max(large known number, missing)
> >is always "large known number". This may
> >come as a surprise once you have learned
> >the hard way that in Stata numeric missing
> >is treated as higher than any non-missing
> >number. But usually it is a feature. What
> >do you want
> >max(0, 1, 2.71828, 3.14159, 42, .)
> >to return? 42 or . ?
* For searches and help try: