I have 291 "dichotomous" variables, Yes/No. Instead of ' ' [missing] all the missing values are recorded as "unknown". I know I can use if/then sub-setting to set "Unknown" to " ", but I do not want to have to manually enter all 291 variables. I was thinking something like this: data test; set trim; if _all_ = "Unknown" then put " "; run; but I can't quite figure out what the code would be.
... View more