<?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: Using PROC FREQ BINOMIAL vs RISKDIFF equivalence tests -- no output from BINOMIAL in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398679#M20782</link>
    <description>&lt;P&gt;The Binomial option only works for one-way tables, you are requesting a two-way. Also part of the answer for the Riskdif which does the 2x2 table.&lt;/P&gt;
&lt;P&gt;And since you are comparing two variables then Binomial isn't going to be much help though it does show something about the individual variables.&lt;/P&gt;
&lt;P&gt;See the results if you use&lt;/P&gt;
&lt;PRE&gt;proc freq order=data;
weight count;
table group gender / binomial (equiv);
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 25 Sep 2017 22:28:27 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-09-25T22:28:27Z</dc:date>
    <item>
      <title>Using PROC FREQ BINOMIAL vs RISKDIFF equivalence tests -- no output from BINOMIAL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398672#M20781</link>
      <description>&lt;P&gt;I'm trying to run a test of equivalence on a 2x2 table. I'm not sure what, exactly, I am doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I am trying to understand the difference between the EQUIV features of the BINOMIAL and RISKDIFF table options. When I run the following code, though, all I get is the 2x2 frequency table and nothing about the equivalence of the two rows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC FREQ ORDER=DATA;
WEIGHT COUNT;
TABLES GROUP*GENDER  / BINOMIAL (EQUIV);
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My input dataset is (variables Group, Gender, and Count):&lt;/P&gt;&lt;P&gt;Spl1&amp;nbsp;&amp;nbsp; &amp;nbsp;F&amp;nbsp;&amp;nbsp; &amp;nbsp;462&lt;BR /&gt;Spl1&amp;nbsp;&amp;nbsp; &amp;nbsp;M&amp;nbsp;&amp;nbsp; &amp;nbsp;80&lt;BR /&gt;Spl2&amp;nbsp;&amp;nbsp; &amp;nbsp;F&amp;nbsp;&amp;nbsp; &amp;nbsp;84&lt;BR /&gt;Spl2&amp;nbsp;&amp;nbsp; &amp;nbsp;M&amp;nbsp;&amp;nbsp; &amp;nbsp;11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the following code, I do get several additional tables: risk estimates, equivalence analysis, and TOST.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq order=data;
weight count;
table group*gender / riskdiff (equiv);
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my questions are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why does the BINOMIAL version not produce any results?&lt;/LI&gt;&lt;LI&gt;Does BINOMIAL help me determine the likelihood that the two samples are equivalent?&lt;/LI&gt;&lt;LI&gt;If so, what is the difference between BINOMIAL and RISKDIFF?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 21:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398672#M20781</guid>
      <dc:creator>MyNameHere</dc:creator>
      <dc:date>2017-09-25T21:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using PROC FREQ BINOMIAL vs RISKDIFF equivalence tests -- no output from BINOMIAL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398679#M20782</link>
      <description>&lt;P&gt;The Binomial option only works for one-way tables, you are requesting a two-way. Also part of the answer for the Riskdif which does the 2x2 table.&lt;/P&gt;
&lt;P&gt;And since you are comparing two variables then Binomial isn't going to be much help though it does show something about the individual variables.&lt;/P&gt;
&lt;P&gt;See the results if you use&lt;/P&gt;
&lt;PRE&gt;proc freq order=data;
weight count;
table group gender / binomial (equiv);
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Sep 2017 22:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398679#M20782</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-25T22:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using PROC FREQ BINOMIAL vs RISKDIFF equivalence tests -- no output from BINOMIAL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398802#M20787</link>
      <description>&lt;P&gt;If what you want is a test of the hypothesis that the two row (or column) proportions are the same, then just use the CHISQ option as discussed and illustrated in &lt;A href="http://support.sas.com/kb/22561" target="_self"&gt;this note&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/398802#M20787</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-09-26T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using PROC FREQ BINOMIAL vs RISKDIFF equivalence tests -- no output from BINOMIAL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/400264#M20867</link>
      <description>&lt;P&gt;StatDave_sas, I'm glad you responded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The title of the note you cited indicates that it is about testing equality, but it really looks like the standard treatment of demonstrating &lt;U&gt;difference&lt;/U&gt; by &lt;U&gt;rejecting&lt;/U&gt; the null hypothesis of equality.The example in the article says that the chi-squared test shows that the null hypothesis (of equivalence) is rejected, which is great in this example, so I know the two groups are not equivalent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am looking for a measure of how &lt;U&gt;similar&lt;/U&gt; they are, and I need to flip the hypotheses. My "null hypothesis" is that they are &lt;U&gt;different&lt;/U&gt;, and I want to be able to reject that. I have found some literature on this topic, but there doesn't seem to be much treatment of this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some literature suggests that using a conventional chi-squared test and seeing a p-value of 0.06, for example, would demonstrate that the two groups were similar, but I object that this is not a strict enough test. That simply means that there is still a 94% chance that they are different, right? (Note that some fields of study seem to think p&amp;lt;0.10 shows a significant difference.) Naively, I would expect to need a p-value &amp;gt; 0.95 in order to say with 95% confidence that the two sets of responses are likely to be the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From what I have read, the TOST table generated by the&amp;nbsp; RISKDIFF option seems the appropriate statistic to use to test equivalence in the 2x2 case, but I have no idea what to do in 2x3 (two groups, three response categories) or higher tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are your thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 14:06:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-PROC-FREQ-BINOMIAL-vs-RISKDIFF-equivalence-tests-no-output/m-p/400264#M20867</guid>
      <dc:creator>MyNameHere</dc:creator>
      <dc:date>2017-10-02T14:06:15Z</dc:date>
    </item>
  </channel>
</rss>

