@skim2 wrote: Rather than displaying the variable names, I switched it as their labels. For example, I used it as intellectual disabilities'n. but, it was truncated up to 20 characters.
Can you please show your code? I don't see an option in PROC PSMATCH that would replace variable names with labels. Maybe it is not yet available in my relatively old SAS/STAT version. Or did you make that change in PROC TEMPLATE?
"intellectual disabilities'n" resembles a name literal. If you are using the SAS system option VALIDVARNAME=ANY, the variable name could be intellectual disabilities (without the underscore between the words) and the variable would be referred to as 'intellectual disabilities'n in the program. The name would also appear at the corresponding y-axis tick mark, as shown below (for completeness, I also renamed ischemic_heart_disease to 'ischemic heart disease'n).
So, using those non-standard variable names looks like a solution for your truncation issue because, as you can see, the names are not truncated to 20 characters. In fact, they can be up to 32 characters long, so even severe intellectual disabilities would be a valid variable name (and not be truncated) if you used
options validvarname=any;
... View more