Hello,
I'm using PROC SURVEYFREQ in SAS EG, but when the results come through I'm getting blank cells next to the respond options. What am I doing wrong?
(in the first column of the 2nd table, under 'REGSAM' I would expect the various response options, in this case 1,2,3...)
Regards
Change it to something with smaller W best3. perhaps. or just remove it completly. In your proc step add FORMAT regsam;
What is the FORMAT associated with REGSAM?
Hi data_null_;
Thanks for helping out. The format is BEST12.
Change it to something with smaller W best3. perhaps. or just remove it completly. In your proc step add FORMAT regsam;
Bingo - thank you for your help. I guess then that there were effectivly 11 spaces after the single digits, pushing them out of view?
actually more like trying to right justify 12 characters in space for fewer though I haven't seen this happen in BASE SAS so it may be an EG thing with different display characteristics.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.