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;
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.