Monday, March 5, 2007

Find missing information

Missing information bugs me! Missing missing information bugs me more!!

However, there is an easy way to find variables with missing information. This method can be used for both continuous and categorical variables. Try the following after changing the keywords in color with your data specific names.
proc means data=trott1 NMISS N ;
var sbp dbp age smoking alcohol;
run;

More detailed information is available here.