<?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: How do I include 0 counts for possible values that aren't in the data set? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851437#M336536</link>
    <description>I edited this post, but originally I had questions about how i would make this method more robust. Especially in particular cases where the data set was updated and the counts changed and if there was a way to macrotize the length value of the data set so i can use it for the cd data set. But after thinking about it some more, my use case involves knowing what the categories are beforehand and I would already know what the maximum length extends out to so it would be ok to hardcode that in the data set cd.</description>
    <pubDate>Wed, 28 Dec 2022 23:20:42 GMT</pubDate>
    <dc:creator>Hello_there</dc:creator>
    <dc:date>2022-12-28T23:20:42Z</dc:date>
    <item>
      <title>How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851385#M336506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a data manipulation exercise. How do I include 0 counts for possible values that aren't in the data set?&lt;/P&gt;
&lt;P&gt;The possible values are the colors of the rainbow, ROYGBIV. (red orange yellow green blue indigo violet). Currently indigo is missing.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines dsd dlm=",";
	input color $;
datalines;
blue
red
red
blue 
green
red
orange
red
blue
violet
red
orange
yellow
;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Desired output: (sort order doesn't matter)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hello_there_0-1672249886464.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78906i308D7B2C92041B93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hello_there_0-1672249886464.png" alt="Hello_there_0-1672249886464.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 17:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851385#M336506</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-28T17:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851396#M336513</link>
      <description>Would you please have a look at this posting: &lt;A href="https://communities.sas.com/t5/SAS-Programming/Return-count-of-0-in-a-Group-By-SQL-Statement/m-p/539625" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Return-count-of-0-in-a-Group-By-SQL-Statement/m-p/539625&lt;/A&gt;&lt;BR /&gt;This should be applicable in your  case too ...</description>
      <pubDate>Wed, 28 Dec 2022 19:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851396#M336513</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2022-12-28T19:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851397#M336514</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines dsd dlm=",";
input color $;
datalines;
blue   
red    
red    
blue   
green  
red    
orange 
red    
blue   
violet 
red    
orange 
yellow 
;

proc format;
 value $ col   "red"     = "red" 
               "orange"  = "orange" 
               "yellow"  = "yellow" 
               "green"   = "green" 
               "blue"    = "blue" 
               "indigo"  = "indigo" 
               "violet"  = "violet" 
;
run;

proc summary data = have nway completetypes;
   class color / preloadfmt order = formated missing;
   format color $col.;
   output out = want(drop = _TYPE_ rename = _FREQ_ = count);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Dec 2022 19:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851397#M336514</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-12-28T19:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851402#M336518</link>
      <description>&lt;P&gt;Using a format, as shown by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt; , is the recommended way, because just one more step is required.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 20:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851402#M336518</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-12-28T20:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851413#M336524</link>
      <description>&lt;P&gt;With PROC SUMMARY and PROC MEANS you can also use a &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n1qnc9bddfvhzqn105kqitnf29cp.htm#n0padmzlcjwc6in1w3hxp6818n2b" target="_blank" rel="noopener"&gt;CLASSDATA=&lt;/A&gt; dataset which contains (at least) the missing categories.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simplified example (creating only printed output with a different header of the count column) using PROC MEANS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data cd;
color='indigo  ';
run;

proc means data=have classdata=cd;
class color;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(Note the two trailing blanks in &lt;FONT face="courier new,courier"&gt;'indigo&amp;nbsp; '&lt;/FONT&gt;&amp;nbsp;to make variable COLOR the same length as in dataset HAVE.)&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 21:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851413#M336524</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-12-28T21:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851414#M336525</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Using a format, as shown by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt; , is the recommended way, because just one more step is required.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I really do appreciate the two of you sharing your expertise here. ... but isn't the solution using a&amp;nbsp; proc format not more like using a side effect? Isn't there any "official" way of addressing this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 21:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851414#M336525</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2022-12-28T21:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851418#M336526</link>
      <description>&lt;UL&gt;
&lt;LI&gt;In SAS, there are often many ways to get to the desired result. None of them are "official". One may be easier than another; one may require less code than another; one may execute faster than another.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 28 Dec 2022 22:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851418#M336526</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-28T22:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851428#M336530</link>
      <description>Thanks for replying, but this solution is slightly different because my data set does not include the possible value that I need.&lt;BR /&gt;&lt;BR /&gt;This solution in the posted link appears to dynamically code the solution based on creating possible combinations from all distinct cross tabulated values of the two groups in the data set.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2022 22:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851428#M336530</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-28T22:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851431#M336533</link>
      <description>&lt;P&gt;Thanks, FreelanceReinhard!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a very clean way of doing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: this post was edited to remove some follow up questions that i had.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 23:22:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851431#M336533</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-28T23:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851432#M336534</link>
      <description>Thanks!</description>
      <pubDate>Wed, 28 Dec 2022 22:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851432#M336534</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-28T22:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851437#M336536</link>
      <description>I edited this post, but originally I had questions about how i would make this method more robust. Especially in particular cases where the data set was updated and the counts changed and if there was a way to macrotize the length value of the data set so i can use it for the cd data set. But after thinking about it some more, my use case involves knowing what the categories are beforehand and I would already know what the maximum length extends out to so it would be ok to hardcode that in the data set cd.</description>
      <pubDate>Wed, 28 Dec 2022 23:20:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851437#M336536</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-28T23:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851502#M336562</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;In SAS, there are often many ways to get to the desired result. None of them are "official". One may be easier than another; one may require less code than another; one may execute faster than another.&lt;/LI&gt;
&lt;/UL&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is understandable ... could you name some advantages of the solution using "proc format"? This time just to help me ... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; (as there is an accepted solution already).&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 09:06:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851502#M336562</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2022-12-29T09:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851522#M336571</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252358"&gt;@Hello_there&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I edited this post, but originally I had questions about how i would make this method more robust. Especially in particular cases where the data set was updated and the counts changed and if there was a way to macrotize the length value of the data set so i can use it for the cd data set. But after thinking about it some more, my use case involves knowing what the categories are beforehand and I would already know what the maximum length extends out to so it would be ok to hardcode that in the data set cd.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As long as the CD dataset contains all CLASS variable values that would be absent otherwise, the approach should work regardless of changed counts in dataset HAVE. It wouldn't hurt if CD redundantly contained values which are present in HAVE as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no need to hardcode the length of variable COLOR in dataset CD as you can always retrieve it from dataset HAVE. (Edit: ... assuming that the length there is also sufficient to accommodate the new values in CD.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data cd;
if 0 then set have(keep=color);
input color;
cards;
indigo
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 13:18:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851522#M336571</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-12-29T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851524#M336573</link>
      <description>Thanks, again.&lt;BR /&gt;&lt;BR /&gt;Could you explain what is 0 in the "if 0 then set have (keep=color);" part?</description>
      <pubDate>Thu, 29 Dec 2022 13:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851524#M336573</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-29T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851526#M336574</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252358"&gt;@Hello_there&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Could you explain what is 0 in the "if 0 then set have (keep=color);" part?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The numeric value 0 as an IF condition is interpreted as the Boolean value FALSE. Hence, what follows after THEN (here: the SET statement) is never &lt;EM&gt;executed&lt;/EM&gt;. Yet, the SET statement and also the KEEP= dataset option have an impact during the &lt;EM&gt;compilation&lt;/EM&gt; of the DATA step: Variable COLOR (and no other variable from dataset HAVE) enters the program data vector (PDV) retrieving the variable type (character) and length (8 bytes) from dataset HAVE. Thus it is already available when the INPUT statement is reached. As a consequence, we neither need to specify the type (e.g., the dollar sign in "&lt;FONT face="courier new,courier"&gt;input color &lt;STRONG&gt;$&lt;/STRONG&gt;&lt;/FONT&gt;"), nor the length of COLOR explicitly in this DATA step.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 14:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851526#M336574</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-12-29T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851527#M336575</link>
      <description>Thanks for the thorough explanation!&lt;BR /&gt;&lt;BR /&gt;I appreciate the time you take to expound on these concepts.</description>
      <pubDate>Thu, 29 Dec 2022 14:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851527#M336575</guid>
      <dc:creator>Hello_there</dc:creator>
      <dc:date>2022-12-29T14:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I include 0 counts for possible values that aren't in the data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851624#M336620</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338236"&gt;@fja&lt;/a&gt;&amp;nbsp;wrote:
&lt;P class="1672412253239"&gt;&lt;SPAN&gt;&amp;nbsp;... could you name some advantages of the solution using "proc format"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think in many practical use cases, there is a suitable format already available and associated with the categorical variable in question. In this situation, neither the PROC FORMAT step nor the FORMAT statement as shown in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304" target="_blank" rel="noopener"&gt;PeterClemmensen&lt;/A&gt;'s solution would be needed. (The existence of a suitable dataset for the CLASSDATA= option is probably less common.) Typically, this format would map numeric or short character codes to longer text descriptions of the categories.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A special feature of the PRELOADFMT approach is available when used in conjunction with the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p0gpxoqczfzcyln13ma53kpq38lo.htm#n09pd4g8nj6dzln1b8hug6tj2m0p" target="_blank" rel="noopener"&gt;ORDER=DATA&lt;/A&gt; option of the CLASS statement (of PROC MEANS, PROC SUMMARY or PROC TABULATE)&lt;FONT face="helvetica"&gt;:&lt;/FONT&gt; If the format definition used the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p1upn25lbfo6mkn1wncu4dyh9q91.htm#n0ko20s1z2nt1wn1lk1eimk8o7hl" target="_blank" rel="noopener"&gt;NOTSORTED option&lt;/A&gt; of PROC FORMAT's VALUE statement, the order of categories in the output will match the order from the format definition -- &lt;EM&gt;regardless&lt;/EM&gt; of the (alphabetic) order of the formatted values, the default order of the unformatted values, the order in which they occur in the input dataset (!) and their frequencies. This is very useful if the PROC FORMAT code was written in view of the output specifications (e.g., table shells in a statistical analysis plan).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 15:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-include-0-counts-for-possible-values-that-aren-t-in-the/m-p/851624#M336620</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-12-30T15:56:11Z</dc:date>
    </item>
  </channel>
</rss>

