LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 1997, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Apr 1997 17:01:55 GMT
Reply-To:     Edward Malthouse <ecm@NWU.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Edward Malthouse <ecm@NWU.EDU>
Organization: Northwestern University
Subject:      missings in Boolean expressions

It seems that sas treats missing values as being less than any number, e.g.,

data tmp; input x; if x < 10 then lt10 = 1; if x > 10 then gt10 = 1; cards; . ; run;

proc print; run;

OBS X LT10 GT10

1 . 1 .

The expression ". < 10" is true. Can anyone explain the rationale for this? If we don't have data for something, how can we say that its value is less than 10?

Thank you,

Edward Malthouse Department of Marketing Northwestern University Evanston, Illinois ecm@nwu.edu


Back to: Top of message | Previous page | Main SAS-L page