<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting Unchosen Reponses in proc freq to show in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576535#M13071</link>
    <description>&lt;P&gt;OK. How about this one :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

data one; 
input response_id $ A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1; 
datalines;
1 2 4 2 4 2 4 2 4 2 4 2
2 1 3 5 1 3 5 1 3 5 1 3 
3 1 2 3 1 2 3 1 2 3 1 2 
4 1 2 3 4 5 1 2 3 4 5 1
5 3 5 5 5 5 5 5 5 5 5 4
6 1 1 1 1 1 1 2 2 2 2 2
7 1 1 1 1 1 1 1 1 1 1 3
8 3 1 2 3 1 2 4 1 1 1 4
9 5 5 5 5 4 3 2 3 4 5 5
;
run;

%macro likert(var=);
data level;
 do &amp;amp;var=1 to 5;
   output;
 end;
run;
data temp;
 set one(in=ina) level;
 w=ina;
 keep &amp;amp;var w;
run;
proc freq data=temp ;
table &amp;amp;var/missprint;
weight w/zeros;
run;
%mend;

%likert(var=A1Q1)
%likert(var=I4Q1)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Jul 2019 11:32:16 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-07-25T11:32:16Z</dc:date>
    <item>
      <title>Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575329#M12836</link>
      <description>&lt;P&gt;If I have a dataset in which respondents are answering questions according to a&amp;nbsp; 5-point Likert Scale, and I run a proc freq on those questions, I would usually get an output that looks like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likert-Question 1&amp;nbsp; &amp;nbsp;Frequency&amp;nbsp; &amp;nbsp;Percent&amp;nbsp; &amp;nbsp;Cumulative Frequency&amp;nbsp; Cumulative Percent&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if none of the respondents chose a particular choice, it seems that proc freq omits that choice in the frequency count all together, rather than providing that choice and indicating that the frequency is 0. See below for what I mean:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likert-Question 1&amp;nbsp; &amp;nbsp;Frequency&amp;nbsp; &amp;nbsp;Percent&amp;nbsp; &amp;nbsp;Cumulative Frequency&amp;nbsp; Cumulative Percent&amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make it so that proc freq displays all choices, regardless of whether or not respondents selected that choice? See below for what I am looking for:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likert-Question 1&amp;nbsp; &amp;nbsp;Frequency&amp;nbsp; &amp;nbsp;Percent&amp;nbsp; &amp;nbsp;Cumulative Frequency&amp;nbsp; Cumulative Percent&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I basically want the proc freq to show all choices, even if the frequency is 0, and to indicate that the frequency for that particular choice is 0. Is that possible? If so how would I go about doing so?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 11:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575329#M12836</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-22T11:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575336#M12839</link>
      <description>&lt;P&gt;I don't think you can force PROC FREQ to do this directly. To get the results you want, you need either a data step to modify the results of PROC FREQ; or by creating a different input data set that contains all the levels, some of which appear with a weight of 0 (which is untested, I haven't actually tried to use a weight of 0 to see what PROC FREQ would do).&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:11:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575336#M12839</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-22T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575343#M12842</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data level;
 sex='F'; w=0;output;
 sex='M'; w=0;output;
 sex='C'; w=0;output;
 sex='U'; w=0;output;
run;


data class;
 set sashelp.class;
 w=1;
 keep sex w;
run;
data class;
 set class level;
run;

proc freq data=class ;
table sex/missprint;
weight w/zeros;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;Sex	频数	百分比	累积
频数	累积
百分比
C	0	0.00	0	0.00
F	9	47.37	9	47.37
M	10	52.63	19	100.00
U	0	0.00	19	100.00&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575343#M12842</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-22T12:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575352#M12843</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;, thanks for your help. Would you mind explaining what you did? Where did the sashelp.class data set come from? Also, what does the data step&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; &lt;SPAN class="token statement"&gt;class&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; &lt;SPAN class="token statement"&gt;class&lt;/SPAN&gt; level&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575352#M12843</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-22T12:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575354#M12844</link>
      <description>&lt;P&gt;SASHELP.CLASS is a test data set that every SAS user can access, and is used as an illustration of how to solve your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code you show concatenates (vertically) the actual data in CLASS with the levels data set (which contains all possible levels) in LEVELS.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 12:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575354#M12844</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-22T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575392#M12854</link>
      <description>&lt;P&gt;One way is to use a procedure that supports PRELOADFMT using a format created to show all the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Proc format library=work;
value lickert
1 = '1'
2 = '2'
3 = '3'
4 = '4'
5 = '5'
;
;

data example;
   input v1 v2 v3;
datalines;
1 4 2 3
1 2 3 4
1 3 4 1
4 1 4 2
;
run;

proc tabulate data=example;
   class v1 v2 v3/ missing preloadfmt;
   format v1 v2 v3 lickert.;
   table v1 v2 v3 ,
         n pctn
        / printmiss misstext='0'
   ;
run;&lt;/PRE&gt;
&lt;P&gt;However you would need to do something else if you want cumulative frequencies and percentages&amp;nbsp; such as sending the result above to a data set and using a date step to calculate the cumulative totals. Note: the format of a Proc Tabulate data set is a bit different than proc freq and you need to look at it very closely to get what you want.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 14:44:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/575392#M12854</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-22T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576353#M13055</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;, thanks for your help. Could I use the solution that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;proposed? proc tabulate may get a little tricky because I need to output these frequencies later. Does the proc freq procedure work? Also, when I am implementing this solution, would I also have to use the sashelp.class data set?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 20:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576353#M13055</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-24T20:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576356#M13056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;, thank you for your help. In my code, would I have to make use of this sashelp.class data set in order to implement this solution? Or could I change it to a different data set?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 20:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576356#M13056</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-24T20:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576359#M13058</link>
      <description>&lt;P&gt;You use your own data set.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 20:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576359#M13058</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-07-24T20:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576361#M13059</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;, in the first data step-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; level&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
 sex&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'F'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; w&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;output&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
 sex&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'M'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; w&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;output&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
 sex&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'C'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; w&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;output&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
 sex&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'U'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; w&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;output&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;does this first step involve having me create a new temporary data set such that the variable has all of the choices I want it to have, regardless of whether or not the frequency is zero? Or is this first data set in the series of steps he presented being created from an old data set that I have? In other words, for my first step for making this work, would I write it as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data level;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nA1Q1='1'; w=0;output;&lt;/P&gt;&lt;P&gt;nA2Q1='2'; w=0;output;&lt;/P&gt;&lt;P&gt;nA3Q1='3'; w=0;output;&lt;/P&gt;&lt;P&gt;nA4Q1='4'; w=0;output;&lt;/P&gt;&lt;P&gt;nA5Q1='5'; w=0;output;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or would I write it as&lt;/P&gt;&lt;P&gt;data level;&lt;/P&gt;&lt;P&gt;set four;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nA1Q1='1'; w=0;output;&lt;/P&gt;&lt;P&gt;nA2Q1='2'; w=0;output;&lt;/P&gt;&lt;P&gt;nA3Q1='3'; w=0;output;&lt;/P&gt;&lt;P&gt;nA4Q1='4'; w=0;output;&lt;/P&gt;&lt;P&gt;nA5Q1='5'; w=0;output;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 20:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576361#M13059</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-24T20:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576390#M13060</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/213376"&gt;@JackZ295&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;, thanks for your help. Could I use the solution that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;proposed? proc tabulate may get a little tricky because I need to output these frequencies later. Does the proc freq procedure work? Also, when I am implementing this solution, would I also have to use the sashelp.class data set?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;solution should work if your data is structured in a similar to manner to the assumed set. The use of SASHELP.CLASS was just to have some data to demonstrate the behavior of the program. That example ensures that each variable has at least one records with the needed value and the properties of the WEIGHT statement in Proc Freq. This approach requires a separate data set that contains the values of the variables that don't exist in your current data, or likely easiest to keep track of all the values.&lt;/P&gt;
&lt;P&gt;You could make your level data set with something like which makes 4 variables named q1 to q4 with values of 1 to 5 and the weight of 0.&amp;nbsp; It would be up to you to insure the weight variable is added to your existing data.&lt;/P&gt;
&lt;PRE&gt;data  level;
/*array a{*} &amp;lt;list your lickert variable names here&amp;gt;*/

array a{*} q1-q4;
do lickert=1 to 5;
   do i= 1 to dim(a);
      a[i]= lickert;
   end;
   w=0;&lt;BR /&gt;   output;
end;
drop lickert i;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc tabulate can create output data sets but the way it works the cumulative would have to be done by sending the result through a data step and some folks don't like the format of the tabulate output data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should really supply examples of your data with questions.&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 22:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576390#M13060</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-24T22:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576397#M13061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;thank you for your help. Here is some sample data:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;&amp;nbsp;

input response_id $ A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1;&amp;nbsp;
datalines;
1 2 4 2 4 2 4 2 4 2 4 2
2 1 3 5 1 3 5 1 3 5 1 3 
3 1 2 3 1 2 3 1 2 3 1 2 
4 1 2 3 4 5 1 2 3 4 5 1
5 3 5 5 5 5 5 5 5 5 5 4
6 1 1 1 1 1 1 2 2 2 2 2
7 1 1 1 1 1 1 1 1 1 1 3
8 3 1 2 3 1 2 4 1 1 1 4
9 5 5 5 5 4 3 2 3 4 5 5
;
run; 
proc print data=one; 
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I want the frequencies for the Likert scale levels 1 through 5 to be shown, even if the frequency for one or more of these levels is 0. This is a much abbreviated version of my data set, as there are 50 sets of these 11 variables A1Q1-I4Q1. The second set would be A1Q2-I4Q2 etc. Any advice?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 00:51:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576397#M13061</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-25T00:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576535#M13071</link>
      <description>&lt;P&gt;OK. How about this one :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

data one; 
input response_id $ A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1; 
datalines;
1 2 4 2 4 2 4 2 4 2 4 2
2 1 3 5 1 3 5 1 3 5 1 3 
3 1 2 3 1 2 3 1 2 3 1 2 
4 1 2 3 4 5 1 2 3 4 5 1
5 3 5 5 5 5 5 5 5 5 5 4
6 1 1 1 1 1 1 2 2 2 2 2
7 1 1 1 1 1 1 1 1 1 1 3
8 3 1 2 3 1 2 4 1 1 1 4
9 5 5 5 5 4 3 2 3 4 5 5
;
run;

%macro likert(var=);
data level;
 do &amp;amp;var=1 to 5;
   output;
 end;
run;
data temp;
 set one(in=ina) level;
 w=ina;
 keep &amp;amp;var w;
run;
proc freq data=temp ;
table &amp;amp;var/missprint;
weight w/zeros;
run;
%mend;

%likert(var=A1Q1)
%likert(var=I4Q1)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 11:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576535#M13071</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-07-25T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576673#M13089</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/213376"&gt;@JackZ295&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;thank you for your help. Here is some sample data:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;&amp;nbsp;

input response_id $ A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1;&amp;nbsp;
datalines;
1 2 4 2 4 2 4 2 4 2 4 2
2 1 3 5 1 3 5 1 3 5 1 3 
3 1 2 3 1 2 3 1 2 3 1 2 
4 1 2 3 4 5 1 2 3 4 5 1
5 3 5 5 5 5 5 5 5 5 5 4
6 1 1 1 1 1 1 2 2 2 2 2
7 1 1 1 1 1 1 1 1 1 1 3
8 3 1 2 3 1 2 4 1 1 1 4
9 5 5 5 5 4 3 2 3 4 5 5
;
run; 
proc print data=one; 
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want the frequencies for the Likert scale levels 1 through 5 to be shown, even if the frequency for one or more of these levels is 0. This is a much abbreviated version of my data set, as there are 50 sets of these 11 variables A1Q1-I4Q1. The second set would be A1Q2-I4Q2 etc. Any advice?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So, you have 550 variables in your data set?&lt;/P&gt;
&lt;P&gt;Not really interested in even attempting to write code for 550 variables. Variable lists can reduce the amount of code to possibly something manageable but we need information. Such as do you have any variable names&amp;nbsp;that start with A1Q that are not variables that you want to process? Same for A2Q, RFQ SE1Q SE2Q? Do each of your "sets" have the exact same names only varying by the Q1, Q2 , … Q50? Or are &lt;STRONG&gt;all&lt;/STRONG&gt; of the numeric variables in your data Likert variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extending &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;'s solution&lt;/P&gt;
&lt;PRE&gt;data one; 
input response_id $ A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1; 
datalines;
1 2 4 2 4 2 4 2 4 2 4 2
2 1 3 5 1 3 5 1 3 5 1 3 
3 1 2 3 1 2 3 1 2 3 1 2 
4 1 2 3 4 5 1 2 3 4 5 1
5 3 5 5 5 5 5 5 5 5 5 4
6 1 1 1 1 1 1 2 2 2 2 2
7 1 1 1 1 1 1 1 1 1 1 3
8 3 1 2 3 1 2 4 1 1 1 4
9 5 5 5 5 4 3 2 3 4 5 5
;
run; 

data level  ;
   array a{*} A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1;
   do lickert=1 to 5;
      do i= 1 to dim(a);
         a[i]= lickert;
      end;
      w=0;
      output;
   end;
   drop lickert i;
run;

data forfreq;
  set one (in=in1)
      level;
  if in1 then w=1;
run;

proc freq data=forfreq;
   table A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1;
   weight w/zeros;
run;

&lt;/PRE&gt;
&lt;P&gt;How ever when you said "I need to output these frequencies later" you need to describe HOW you need to use them. If you need a data set for each variable count then you need 550 data sets. Which going to be a tad cumbersome.&lt;/P&gt;
&lt;P&gt;Or you can use&lt;/P&gt;
&lt;PRE&gt;proc freq data=forfreq;
   table A1Q1 A2Q1 RFQ1 SE1Q1 SE2Q1 SE3Q1 SE4Q1 I1Q1 I2Q1 I3Q1 I4Q1;
   weight w/zeros;
   ods output onewayfreqs= freqset;
run;

&lt;/PRE&gt;
&lt;P&gt;to place all of the output frequencies into a single table but you will really want to look at the structure of that data set carefully for most uses. (Which ends up moderately similar to the Proc Tabulate data set but does have the cumulative counts and percentages)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create variable lists such as A1Q:&amp;nbsp; which would reference all names that start with those 3 letters, or A1Q1- A1Q50 to reference all the variables that start with A1Q and iterate a numeric value from 1 to 50 at the end. But we would need to know the names of the variables you need if these patterns aren't acceptable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an approach that attempts to use variable lists to make a level data set with &amp;nbsp;"50 sets" of the first three variable names you show:&lt;/P&gt;
&lt;PRE&gt;data level  ;
   array a{*} A1Q1-A1Q50 A2Q1-A2Q50 RFQ1-RFQ50;
   do lickert=1 to 5;
      do i= 1 to dim(a);
         a[i]= lickert;
      end;
      w=0;
      output;
   end;
   drop lickert i;
run;&lt;/PRE&gt;
&lt;P&gt;If that makes the proper named variables then continue the pattern to generate all of your variables in the levels data set.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 16:09:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576673#M13089</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-25T16:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576750#M13103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, thank you for all of your help. I don't blame you. I have been using macros for all of my code, and even with that I will say that it is quite cumbersome. When I first posted on this forum, I was just looking for a skeleton set of code that I could apply a macro to for all of my variables. I will try your solution and give more context to what I am looking for later. I will also be sure to ask more questions if I run into issues. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 21:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/576750#M13103</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-25T21:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/577270#M13175</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;, thanks again for all of your help. All of the variables that start with A1Q, A2Q, RFQ, SE1Q, SE2Q, SE3Q, SE4Q, I1Q, I2Q, I3Q, I4Q are all variables that I want to process and deal with. Each set of variables differs just by the number at the end. For example, the first set of variables all end in 1. The second ends in 2, the third 3,...and so on up to 50.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the context of the study I am doing.&amp;nbsp;&lt;SPAN&gt;The research project that I am working on is using the Child Health Nutrition Research Initiative (CHNRI) methodology to to identify gaps in evidence for how to increase and sustain the use of child health products in the private sector, such as oral rehydration salts and zinc by prioritizing research questions proposed by experts.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Experts score the proposed research questions according to a set of pre-determined criteria using a scale. We are using a 5 point Likert scale for this methodology rather than the standard "Yes (1 point), "Undecided (0.5 points)," "No (0 point)," scale. We are counting a total of 53 participants in the analysis.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Each participant is scoring 50 questions, which each has 11 sub-questions (A1Q, A2Q, etc.) across 4 criteria (the criteria do not have an equal number of sub-questions; everyone is scoring 550 questions with a 5 point Likert scale, or a set of 11 questions 50 times (50 proposed questions). To calculate the agreement of scorers for any research question (across 11 sub-questions), an Average Expert Agreement is calculated,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;which is the number of modal responses divided by the total number of scorers summed across each sub-question divided by the number of sub-questions (11). I have attached a sample formula to this post to clarify things (titled "AEA").&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;A paper I read collapsed the Likert Scale choices for "No, strongly disagree," and "No, somewhat disagree," and the Likert choices for "Yes, somewhat agree" and "Yes, strongly agree" to form the choices for "No" and "Yes". In this case, I would have to add the frequencies of the choices marked "4" and "5" and the frequencies of the choices marked "1" and "2" to represent "Yes" and "No" and then determine the mode and frequency of the mode after in order to calculate the AEA. I realize that proc freq makes this difficult, as choices that have a frequency of 0 would not show on proc freq.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Only the A1Q, A2Q, etc. variables are Likert variables. I am going to use the frequency of the mode to calculate the AEA (formula attached). Basically, I want to output the mode and frequency of the mode after combining the Likert choices (4+5, 1+2). I would merge these output data sets into one and use that to do AEA calculations if that makes sense. Let me know if anything about what I am doing is confusing. Thanks again!&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AEA.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31345iEB6A28C5C9E47255/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AEA.PNG" alt="AEA.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Jul 2019 23:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/577270#M13175</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-07-28T23:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/578135#M13303</link>
      <description>&lt;P&gt;You can use a custom format to collapse the 1 to 5 scale to a&amp;nbsp;3 point scale:&lt;/P&gt;
&lt;P&gt;Proc format library=work;&lt;/P&gt;
&lt;P&gt;value LShort&lt;/P&gt;
&lt;P&gt;1,2 = 'Yes'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4,5 = 'No'&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then use the Lshort format associated with the variables in proc freq. You don't say what to do with the 3.&lt;/P&gt;
&lt;P&gt;If you are basically discarding the "3" values then recode all of the variables to 1 for yes and 0 for no with a loop like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I=1 to dim(a);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; if a[I] in (1,2) then a[I]=1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; else if a[I] in (4,5) then a[I]=0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; else call missing(a[I]);&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you can sum over a LOT of variables without having to count each one to get the number of 1 responses. Or proc freq if you want counts for each level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And getting this far before saying only a few are the same scale is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 16:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/578135#M13303</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-31T16:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Unchosen Reponses in proc freq to show</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/585672#M14367</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;, thanks again for all of your help. Sorry for the extremely late reply. This project hit the backburner as I worked on other projects. I plan on keeping the 3 in the analysis, though in probably all of the cases, the frequency of respondents who selected a 3 would be insignificant (especially after adding up the number of people who select 1+2 or 4+5). Can I name the Lshort format anything? Does it have to be called Lshort?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 22:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Getting-Unchosen-Reponses-in-proc-freq-to-show/m-p/585672#M14367</guid>
      <dc:creator>JackZ295</dc:creator>
      <dc:date>2019-09-02T22:37:25Z</dc:date>
    </item>
  </channel>
</rss>

