Hello! If I have a numeric variable (call it X) with a bunch of missing values in the dataset, what SAS command do I use to pull up only the observations with missing values? Is it the nmiss function? If so, how do I structure my command? Thanks!
Hello! If I have a numeric variable (call it X) with a bunch of missing values in the dataset, what SAS command do I use to pull up only the observations with missing values? Is it the nmiss function? If so, how do I structure my command? Thanks!
Sounds like you need missing function
where x=.;
/*or*/
where missing(x);
/*or*/
where x is missing;
/*or*/
where x is null;
Catch up on SAS Innovate 2026
Dive into keynotes, announcements and breakthroughs on demand.