Within the SAS System, a missing value for a variable is smaller than all other values.
Because missing values are smaller than all other values, you need to be careful when making numeric comparisons in your SAS programs. In the code below,
if age lt 85 then rage=85;age values of 0-84 will be recoded into rage with a value of 85. What you might not expect -- or want, is that rage will also be coded with a value of 85 when the value of age is 'missing'. To avoid such errors, you would need to check for missing values and provide alternate code when they are found.
To check for ordinary missing values, your code could be:
if age =. then do;
Recent resources, events, news
Knodel et al. "Gendered Housework in Vietnam." PSC Research Report.
Couper. Designing Effective Web Surveys
Monday, Oct 13
Jamie Jones
"Fertility & Risk Aversion on Utah Frontier"
W A R N I N G
If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software today. The following are good choices: Firefox 2; Opera 9; Safari 3.