<?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: Fischer's exact test odds ratio and Confidence intervals in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266762#M51964</link>
    <description>&lt;P&gt;This was a survey with ~50% response rate with differences between responders and non-responders, thus our decision to adjust for non-response. Weights were calculated on the basis of 3 baseline characteristics that affected response. Weight calculation was done as follows: for each combination of the 3 variables, the total number with that combination in the original cohort and was divided by the number of patients with that combination who completed a survey.&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 18:02:17 GMT</pubDate>
    <dc:creator>Srishti</dc:creator>
    <dc:date>2020-05-14T18:02:17Z</dc:date>
    <item>
      <title>Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266710#M51948</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a regular user of JMP, but without experience in scripting. I have used Fischer's exact test on my analysis, and am getting the results as posted. I have 2 questions:&lt;/P&gt;
&lt;P&gt;1. Why do I get 2 difference exact tests and p-values? Which is the one to use?&lt;/P&gt;
&lt;P&gt;2. In the odds ratio, the confidence interval does not match the p-value (which is &amp;lt;0.05). I am guessing it has something to do with the way with the CIs are calculated. Can you advise the best way to calculate the exact CI here? I am not experiencing this issue with other exact analyses used in the same dataset&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;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Presentation1.jpg" style="width: 720px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23976iC62D0C8DC6D869D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Presentation1.jpg" alt="Presentation1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:16:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266710#M51948</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2023-06-09T00:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266718#M51950</link>
      <description>&lt;OL&gt;
&lt;LI&gt;You do not understand the exact test for a 2x2 contingency table. It is possible to use it &lt;STRONG&gt;three&lt;/STRONG&gt; ways. The &lt;STRONG&gt;Alternative Hypothesis&lt;/STRONG&gt; explains each way and allows &lt;STRONG&gt;you&lt;/STRONG&gt; to decide which of the three tests is appropriate for your decision.&lt;/LI&gt;
&lt;LI&gt;The odds ratio confidence interval &lt;STRONG&gt;does&lt;/STRONG&gt; match the tests. The &lt;EM&gt;p&lt;/EM&gt;-values are greater than alpha = 0.05 and the 95% confidence interval for the odds ratio includes 1.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I have no idea what you might have done wrong or differently with this analysis compared to other analyses with the same data set. What other analysis is there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not get the same result for the analysis of the same data. See my result:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 447px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23974i1637611BB85F11CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 16:43:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266718#M51950</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-14T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266739#M51953</link>
      <description>Hi Mark,&lt;BR /&gt;It looks like the first analysis used the Weight for the Frequency while you used the Counts; would that be a possible source of different behavior?&lt;BR /&gt;Best,&lt;BR /&gt;TS</description>
      <pubDate>Thu, 14 May 2020 17:36:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266739#M51953</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2020-05-14T17:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266744#M51954</link>
      <description>&lt;P&gt;Thanks for your replies. I also think the 'weight' (which is a sampling weight for the study design) may have changed things, as &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11634"&gt;@Thierry_S&lt;/a&gt;&amp;nbsp;suggests. If I only use the 'counts' from this 2*2 table in the 'frequency' section of the contingency platform, I am getting the same results as you, &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;. As for the alternative hypothesis, I would need to use the one that corresponds with two-tailed values only&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:47:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266744#M51954</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2020-05-14T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266748#M51956</link>
      <description>To add to the reply above, these weights are for survey non-response, and there is no complex study design (such as stratification or clustering) that I need to adjust for.</description>
      <pubDate>Thu, 14 May 2020 17:50:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266748#M51956</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2020-05-14T17:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266753#M51959</link>
      <description>&lt;P&gt;Yeah.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:52:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266753#M51959</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-14T17:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266757#M51961</link>
      <description>&lt;P&gt;Why are weights for non-responders used? How are the weights determined?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the weight role will change the result of the analysis.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:54:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266757#M51961</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-14T17:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266762#M51964</link>
      <description>&lt;P&gt;This was a survey with ~50% response rate with differences between responders and non-responders, thus our decision to adjust for non-response. Weights were calculated on the basis of 3 baseline characteristics that affected response. Weight calculation was done as follows: for each combination of the 3 variables, the total number with that combination in the original cohort and was divided by the number of patients with that combination who completed a survey.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 18:02:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266762#M51964</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2020-05-14T18:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266795#M51972</link>
      <description>&lt;P&gt;How do you know "&lt;SPAN&gt;differences between responders and non-responders" if the non-responders did not respond? I better let someone who is more familiar with this kind of analysis take over!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 19:11:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266795#M51972</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-14T19:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266797#M51973</link>
      <description>Differences were with respect to demographic characteristics that we had for all people that were given he survey, eg, age, sex. Hence, we could use these data for comparison</description>
      <pubDate>Thu, 14 May 2020 19:14:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/266797#M51973</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2020-05-14T19:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/268986#M52353</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;. I was wondering if you had any additional insights to this. I haven't found a solution to this problem yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried making contingency tables (with the numbers I get after weighting)- this seems to give me OR and 2-tailed p-value for the exact test which are consistent with each other. I ran these for several analyses, which seem to give similar but not exactly the same results compared to when the weighting variable is used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 19:08:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/268986#M52353</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2020-05-26T19:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/268997#M52354</link>
      <description>&lt;P&gt;I do not have access to JMP computer codes. I recommend that you send your question about the effect of weighting the contingency table analysis to JMP Technical Support (&lt;A href="mailto:support@jmp.com" target="_blank"&gt;support@jmp.com&lt;/A&gt;). Please report back here what you learn from them so that other Community members may learn from your experience.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 19:39:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/268997#M52354</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-26T19:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fischer's exact test odds ratio and Confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/270970#M52743</link>
      <description>&lt;P&gt;I reached out to JMP support. The issue was that the weights used were non-integer weights. On using rounded integer weights, the discrepancy in the Odds ratio CIs and p-values disappeared.&lt;/P&gt;&lt;P&gt;Unfortunately, it seems JMP cannot handle non-integer weights. It would be useful to have this feature !&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 16:32:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fischer-s-exact-test-odds-ratio-and-Confidence-intervals/m-p/270970#M52743</guid>
      <dc:creator>Srishti</dc:creator>
      <dc:date>2020-06-05T16:32:57Z</dc:date>
    </item>
  </channel>
</rss>

