<?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 to understand the great difference value of Gamma in PROC FREQ? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290995#M15470</link>
    <description>&lt;P&gt;In addition to Rick's comments, the Gamma, OR, and RR, and confidence limits are all based on asymptotic theory, so they should not be used with sample sizes this small.&amp;nbsp; PROC FREQ has a number of EXACT tests that are more appropriate.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2016 14:53:42 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2016-08-11T14:53:42Z</dc:date>
    <item>
      <title>How to understand the great difference value of Gamma in PROC FREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290953#M15467</link>
      <description>&lt;P&gt;Dear ALl,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have question regard to the difference of Gamma in Figure 1 and Figure 2. How to interpret them&amp;nbsp; and what is the difference?&lt;/P&gt;
&lt;P&gt;The other question is why Figure 1 code produce the Odds ratio and Relative risk estimates but not the Figure 2 code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;IMG title="Figure 1.jpg" alt="Figure 1.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/4515i3189ECF74665493C/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;IMG title="Figure 2.jpg" alt="Figure 2.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/4516i9768DABEDB44C4E7/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;IMG title="Figure 3.jpg" alt="Figure 3.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/4517i097CDA434647FE26/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*Figure 1*/
proc freq data=dar_grp5;
   tables Treatment*SWAEVL2C/measures alpha=0.1 CL;
run;
/*Figure 2*/
proc freq data=compare;
   tables SWAEVL2C_gra*SWAEVL2C_syr/measures alpha=0.1 CL;/*SWAEVL2C_gra is the results for granules and SWAEVL2C_Syr is for Syrup*/
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Aug 2016 12:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290953#M15467</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-11T12:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to understand the great difference value of Gamma in PROC FREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290977#M15468</link>
      <description>&lt;P&gt;The formulas for these statistics are shown in the &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/68142/HTML/default/viewer.htm#procstat_freq_details22.htm" target="_self"&gt;"Measures of Association"&lt;/A&gt; section of the PROC FREQ doc.&lt;/P&gt;
&lt;P&gt;For the first TABLES statement:&lt;/P&gt;
&lt;P&gt;C = number concordant = 10;&lt;/P&gt;
&lt;P&gt;D&amp;nbsp;= number discordant = 10;&lt;/P&gt;
&lt;P&gt;Therefore Gamma = (C-D)/(C+D) = 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the second TABLES statement:&lt;/P&gt;
&lt;P&gt;C&amp;nbsp;= 10;&lt;/P&gt;
&lt;P&gt;D&amp;nbsp;= 0;&lt;/P&gt;
&lt;P&gt;Gamma =&amp;nbsp;&lt;SPAN&gt;(C-D)/(C+D) = 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/68142/HTML/default/viewer.htm#procstat_freq_details66.htm" target="_self"&gt;odds ratio formula&lt;/A&gt; is also in the doc.&lt;/P&gt;
&lt;P&gt;OR = n11 * n22 / (n12 * n21)&lt;/P&gt;
&lt;P&gt;In the second run, the off diagonal counts are zero. therefore the odds ratio is undefined.&lt;/P&gt;
&lt;P&gt;The RR computation is similar, and also undefined in the second situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290977#M15468</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-11T13:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to understand the great difference value of Gamma in PROC FREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290995#M15470</link>
      <description>&lt;P&gt;In addition to Rick's comments, the Gamma, OR, and RR, and confidence limits are all based on asymptotic theory, so they should not be used with sample sizes this small.&amp;nbsp; PROC FREQ has a number of EXACT tests that are more appropriate.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/290995#M15470</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2016-08-11T14:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to understand the great difference value of Gamma in PROC FREQ?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/291178#M15477</link>
      <description>&lt;P&gt;Thanks for your comment. I fully agree.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 08:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-understand-the-great-difference-value-of-Gamma-in-PROC/m-p/291178#M15477</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-12T08:08:37Z</dc:date>
    </item>
  </channel>
</rss>

