<?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  binomial level=1 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/230991#M54548</link>
    <description>&lt;P&gt;The LEVEL= option refers to the variable level (or order), not to the actual value itself. &amp;nbsp;If you use LEVEL=1, it will give you the proportion of Non-responders (=0). &amp;nbsp;Compare it to LEVEL=2, which should give the number of responders (=1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 15:58:29 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2015-10-21T15:58:29Z</dc:date>
    <item>
      <title>proc freq  binomial level=1</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/230814#M54526</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a response variable codes as 1="Respnse" and 0 ="Non-Response". If i use level=0, i get an error stating that the level should be a positive integer. How do i get the proportion of non-responders?&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;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%if %str(&amp;amp;tabnum)=%str(1049.1.1) /*or %str(&amp;amp;tabnum)=%str(1049.1.2)*/ or %str(&amp;amp;tabnum)=%str(1049.1.5) %then %do;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;proc freq data=dsin;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;BY &amp;amp;byvar viswin efques leg_sort;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;tables&amp;nbsp; &amp;amp;value / binomial (level=1);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;where not missing(remiss);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;exact binomial;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;ods output OneWayFreqs=freqs BinomialProp=ExactBiCI(where=(name1 in("XL_BIN", "XU_BIN")));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%end;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%else %do;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 19:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/230814#M54526</guid>
      <dc:creator>ashleyazar</dc:creator>
      <dc:date>2015-10-20T19:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq  binomial level=1</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/230991#M54548</link>
      <description>&lt;P&gt;The LEVEL= option refers to the variable level (or order), not to the actual value itself. &amp;nbsp;If you use LEVEL=1, it will give you the proportion of Non-responders (=0). &amp;nbsp;Compare it to LEVEL=2, which should give the number of responders (=1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 15:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/230991#M54548</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-10-21T15:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq  binomial level=1</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/482838#M71683</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can just use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;level="1"&amp;nbsp; even if it is numerical.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this way it works.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Andrea Nizzardo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 14:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-binomial-level-1/m-p/482838#M71683</guid>
      <dc:creator>Nizzo16</dc:creator>
      <dc:date>2018-07-31T14:40:18Z</dc:date>
    </item>
  </channel>
</rss>

