This tutorial explains how to count the number of missing values for each variable in SAS, along with examples.
Create a Sample Dataset
The following SAS program creates a dataset which will be used to explain examples in this tutorial.
DATA mydata; INPUT ID $ Name $ Gender $ Age Height Weight; DATALINES; 001 John M 25 180 . 002 . F 30 170 70 003 Mary F . 160 60 004 James M 35 . 80 005 Emma . 40 155 . ; RUN;To read this article in full, please click here