<?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: Proc Freq issues in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501225#M72652</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10429"&gt;@Doug____&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;this is the example that causes the problem because there are no "yes" responses to FREQ does not calculate any CIs for the difference and returns a warning to the log.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From what you have shown so far we can't get to that stage. You have not shown values for &lt;STRONG&gt;any of the variables on the tables statement&lt;/STRONG&gt;. So the only thing I can get is errors about missing variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either provide data that matches the Proc Freq or provide proc freq that matches the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 17:48:22 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-10-03T17:48:22Z</dc:date>
    <item>
      <title>Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501195#M72647</link>
      <description>&lt;P&gt;I created a dataset with all possible combinations of subgroup variables for a binary response. However, no subjects had a response value so PROC FREQ returns the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A row or column sum is zero for the table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I could get around this by using PROC MEANS to fill all the zero response rows with zeros then use the WEIGHT count/zeros option in FREQ but it does not work. I'm trying to compute CIs for the binomial proportions. Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example Data&lt;/P&gt;&lt;P&gt;Treat&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Var&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; Count&lt;/P&gt;&lt;P&gt;Test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&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;Test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&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; 100&lt;/P&gt;&lt;P&gt;Control&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&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;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;Control&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&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; 100&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501195#M72647</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-03T16:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501203#M72648</link>
      <description>&lt;P&gt;Doesn't work is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the code you used,&amp;nbsp;the actual results and the expected results if possible. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&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, 03 Oct 2018 16:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501203#M72648</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-03T16:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501205#M72649</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;proc&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;freq&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = counts ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; subgroupan = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;-several subgroups does not matter which one &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;table&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; trtpn*ev /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = x &lt;STRONG&gt;/*binomial riskdiff exact alpha = 0.1*/&lt;/STRONG&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outpct&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; count/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;zeros&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*ods output riskdiffcol2 = rd2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;WARNING: Output 'riskdiffcol2' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,&lt;/P&gt;&lt;P&gt;verify that the appropriate procedure options are used to produce the requested output object. For example, verify that&lt;/P&gt;&lt;P&gt;the NOPRINT option is not used.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501205#M72649</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-03T16:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501210#M72650</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10429"&gt;@Doug____&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;proc&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;freq&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = counts ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; subgroupan = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;-several subgroups does not matter which one &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;table&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; trtpn*ev /&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = x &lt;STRONG&gt;/*binomial riskdiff exact alpha = 0.1*/&lt;/STRONG&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outpct&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; count/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;zeros&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;*ods output riskdiffcol2 = rd2;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;WARNING: Output 'riskdiffcol2' was not created. Make sure that the output object name, label, or path is spelled correctly. Also,&lt;/P&gt;
&lt;P&gt;verify that the appropriate procedure options are used to produce the requested output object. For example, verify that&lt;/P&gt;
&lt;P&gt;the NOPRINT option is not used.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your "example data" in the first post does not include any variables name subgroupan trtpn or ev. So again, I request example data that causes the error.&lt;/P&gt;
&lt;P&gt;It is very easy to make a small data set with data step code. From your "example data"&lt;/P&gt;
&lt;PRE&gt;data have;
   input Treat  $         Var $            Count;
datalines;
Test           Yes                 0
Test           No                 100
Control      Yes                   0
Control       No                100
;
run;&lt;/PRE&gt;
&lt;P&gt;The $ are used to read character values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501210#M72650</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-03T17:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501212#M72651</link>
      <description>&lt;P&gt;this is the example that causes the problem because there are no "yes" responses to FREQ does not calculate any CIs for the difference and returns a warning to the log.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501212#M72651</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-03T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501225#M72652</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10429"&gt;@Doug____&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;this is the example that causes the problem because there are no "yes" responses to FREQ does not calculate any CIs for the difference and returns a warning to the log.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From what you have shown so far we can't get to that stage. You have not shown values for &lt;STRONG&gt;any of the variables on the tables statement&lt;/STRONG&gt;. So the only thing I can get is errors about missing variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either provide data that matches the Proc Freq or provide proc freq that matches the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:48:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501225#M72652</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-03T17:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501227#M72653</link>
      <description>&lt;TABLE border="0" cellspacing="0" cellpadding="2"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;160&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;141&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;98&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;113&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;These are the summary count data being fed into proc freq&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501227#M72653</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-03T17:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501231#M72654</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10429"&gt;@Doug____&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="2"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;160&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;141&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;lt;55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;98&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Control&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;No&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;113&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;AGE1&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;&amp;gt;=55&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Test&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Yes&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;0&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;These are the summary count data being fed into proc freq&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And which variable is which in the Proc Freq code you showed? And that is not a data step and I am not going to clean up that format to make one.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 18:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501231#M72654</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-03T18:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501279#M72658</link>
      <description>&lt;P&gt;Freq uses the count variable on the right with a weight statement. So the analysis is for each subgroup is the treatment (Control /Test) * the count variable. Then use the weight variable to get the percentages. Basically you can use the first two rows to run Freq since it is summary data. I was using Freq to get the CIs for the difference but it won't give those since there are no responses (everything is "No").&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 20:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501279#M72658</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-03T20:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501291#M72664</link>
      <description>&lt;P&gt;For 0 values try using the EXACT statement with PROC FREQ. You may also want to look into the ZEROS option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-All-inclusive-table/td-p/202542" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-All-inclusive-table/td-p/202542&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if it’ll work for the CI but should appear in the table at least.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And another option that’s handy is the SPARSE option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10429"&gt;@Doug____&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Freq uses the count variable on the right with a weight statement. So the analysis is for each subgroup is the treatment (Control /Test) * the count variable. Then use the weight variable to get the percentages. Basically you can use the first two rows to run Freq since it is summary data. I was using Freq to get the CIs for the difference but it won't give those since there are no responses (everything is "No").&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 22:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501291#M72664</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-03T22:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501476#M72676</link>
      <description>&lt;P&gt;I am using weight/zeros already which from the documentation invokes the SPARSE option - the warning still appears.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 13:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-issues/m-p/501476#M72676</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-04T13:40:38Z</dc:date>
    </item>
  </channel>
</rss>

