Jeph Herrin
I'd like to weigh in with the . detractors.
Logically, a missing value should return FALSE when compared
with any number. Period. (ahem). That StataCorp has chosen
to jettison this logic has caused me no small number of large
headaches, even after years of Stata use. That StataCorp seems
to have jettisoned this logic simply to be consistent with
an arbitrary -sort- implementation is mystifying.
NJC>>> Are you asking that 42 > . and 42 < . _both_ return FALSE?
That . == . returns FALSE?
If a user sorts on a variable which has missing values, then
Stata could return an error message saying that the variable
cannot be sorted because of missing values. The user can then
repair or truncate their data so that sorting makes sense.
NJC >>> Sorry, but I think that's the most impracticable suggestion
so far in this thread, with some stiff competition!
*
* 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/