Since .z is the largest of all (numeric) missing values in SAS (._ < . < .a < .b < ... < .z), the condition .z < LD is a convenient way to abbreviate not missing(LD), i.e., numeric variable LD has a non-missing value.
So your IF/THEN statement could also be written as
It's called a special missing values and allows you the ability to have different types of missing, for example missing due to someone not answering a question is different than someone not answering a question because it's not applicable. Special missing allow you the ability to consider these separately or group them as needed.
.z is a special missing value. There are 28 different missing values in SAS, the one you are probably familiar is represent by a dot. However, there is also .a, .b, ... ,.z and also ._
So whoever created this code intended .z to indicate missing with a special meaning.
Thanks! Now i know that .Z is a missing value but, what I dont get is what the person who created the code trying to say by (.z< LD). I am having hard time understanding "missing value < LD". its confusing
Since .z is the largest of all (numeric) missing values in SAS (._ < . < .a < .b < ... < .z), the condition .z < LD is a convenient way to abbreviate not missing(LD), i.e., numeric variable LD has a non-missing value.
So your IF/THEN statement could also be written as
if not missing(LD) and LD le 80 then Test = 1;
SAS Innovate 2025: Save the Date
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!