/ Published in: SAS
URL: http://studysas.blogspot.com/2008/11/how-to-detect-missing-values-using.html
Direct link: http://ssc.utexas.edu/consulting/answers/sas/sas65.html
Expand |
Embed | Plain Text
Question: How do I exclude observations from my PROC FREQ analysis when a value is missing from a list of variables? Answer: In the SAS DATA step, you can create a new variable ("miss" in the example below) that is set equal to 1 when a variable has a missing value, 0 otherwise. Use the ARRAY statement and a DO loop to check for missing values across a list of variables; the syntax is: read more at... http://studysas.blogspot.com/2008/11/how-to-detect-missing-values-using.html
You need to login to post a comment.
