<?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: Odds ratio for a simple distribution in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210827#M42204</link>
    <description>&lt;P&gt;Yes, that is how you compute the odds and odds ratio, although I have never used it this way.&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2019 12:26:50 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2019-05-28T12:26:50Z</dc:date>
    <item>
      <title>Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209033#M41986</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I'm looking at the distribution of individuals participating in different events. Here, I'm looking at "thirds" (i.e., first, second, third part of the year, not sure "Tertial" is the correct word in english), could also be quarters, Q1-Q4.&lt;BR /&gt;&lt;BR /&gt;When doing a distribution plot, I can also test the probability/ do a chi-2 test, and thereafter get the likelihood ratio, and its confidence intervals. However, is there a easy way of calculating the Odds Ratio for this? That is, the odds that you are placed (in this case, born) in T1 instead of T3. I've tried to look around and one can doo Odds ratios under logistic regression models but that seems inappropiate for this case?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skärmklipp.PNG" style="width: 391px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17277i0B63CD95267E8D61/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skärmklipp.PNG" alt="Skärmklipp.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 12:49:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209033#M41986</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-05-20T12:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209044#M41988</link>
      <description>&lt;P&gt;You question is not clear. You have the counts for three groups. You can compute the marginal probability of a group. You can calcualte the odds of a group. The odds ratio would require a covariate or second variable. Do you have another set of three groups for which the external variable is different?&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 13:01:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209044#M41988</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-05-20T13:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209053#M41990</link>
      <description>&lt;P&gt;I can imagine!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have alot of sets with three groups, but mostly I want to calculate the odds that you are in, for example, T1 to T3.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It's quite common practice in the context of Relative Age Effects (in sports, or other fields), in original studies and meta-analysis to calculate the odds ratio, when looking at the [skewed] distribution of participants in sport:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SkärmklippRAE.PNG" style="width: 740px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17280i21C81099563D7F5F/image-dimensions/740x564?v=v2" width="740" height="564" role="button" title="SkärmklippRAE.PNG" alt="SkärmklippRAE.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I want to to the same.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 13:20:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209053#M41990</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-05-20T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209088#M42000</link>
      <description>&lt;P&gt;I will let someone else who knows more than I do. JMP does not compute the odds, as far as I know. You can calculate them from the probability estimates in Distribution that were used to test probabilities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More could be done with scripting, but you didn't mention that option. I assumed that you were looking for an interactive solution or a solution with a column formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, if you set up the example (above) in a JMP data table so you have Subject Age (group), Sport, Level of Competition, and the frequency, you can fit any logistic model you want, save the probability formulas, and then compute odds and odds ratios with table summaries and column formulas.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 16:51:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/209088#M42000</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-05-20T16:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210713#M42180</link>
      <description>&lt;P&gt;Hm.. So to calculate OR using my probability results (as examplified in first post) would be, for T1 to T3:&lt;BR /&gt;&lt;BR /&gt;( 0.426 / (1-0.426) ) / ( 0.258 / (1- 0.258) ) = 2.13 ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://www.biochemia-medica.com/assets/images/upload/Clanci/19/19-2/the_odds_ratio/19-2_McHugh_ML._Formula_1_engl.gif?1534514436585" border="0" alt="19-2_McHugh_ML._Formula_1_engl" /&gt;&lt;BR /&gt;&lt;BR /&gt;Will try your second option, but then I need to re-arrange all the data and type in frequencies etc..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 13:29:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210713#M42180</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-05-27T13:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210715#M42181</link>
      <description>&lt;P&gt;So, would it be possible to calculate Odds ratio (i.e. T1 vs T3) with this dataset? Never used logistic modelling..&amp;nbsp;&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="Skärmklipp.PNG" style="width: 554px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17442iAAA9D5D2AEF4E5C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skärmklipp.PNG" alt="Skärmklipp.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 13:48:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210715#M42181</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-05-27T13:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210827#M42204</link>
      <description>&lt;P&gt;Yes, that is how you compute the odds and odds ratio, although I have never used it this way.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 12:26:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210827#M42204</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-05-28T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210828#M42205</link>
      <description>&lt;P&gt;You can use the Tables &amp;gt; Stack command to combine the three data columns N T1 through N T3 into one column and create a second label column to capture the original column name. Use the label column for the response and the stacked data column for the frequency. You do not need the total counts for the analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The logistic regression would allow you to model dependencies of the probability on the other variables. The conditional probabilities, in turn, could be used to compute the odds and odds ratios (e.g., different age groups) as you have done above.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 12:30:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/210828#M42205</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-05-28T12:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213842#M42756</link>
      <description>&lt;P&gt;Thanks. Almost there...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I stack the data &amp;amp; fits the model. Confused. Is it possible to do the model for the whole dataset? In addition do analysis by age group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im not really getting the results table, or finding any odds ratios.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&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="JMP1.PNG" style="width: 359px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17822i54272C2C26E9A430/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP1.PNG" alt="JMP1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP2.PNG" style="width: 727px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17823i9DA02CB78C85CD0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP2.PNG" alt="JMP2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP3.PNG" style="width: 502px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17824i54CDA1DB1BB8B0DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP3.PNG" alt="JMP3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 08:08:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213842#M42756</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-06-20T08:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213911#M42766</link>
      <description>&lt;P&gt;You are there but you still have to compute the odds and odds ratios yourself. This method is just another way to get the marginal probabilities (red triangle &amp;gt; Save Probabilities). But it gets more interesting and useful if you want to compute conditional probabilities. Nominal Logistic still does not produce the odds or odds ratios, but you can save the probabilities and then use Tables &amp;gt; Summary to get a concise table of probs for the remaining manual computation.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:03:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213911#M42766</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-06-20T14:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213913#M42767</link>
      <description>&lt;P&gt;Thanks for you patience!&lt;BR /&gt;&lt;BR /&gt;Hm, I already have the likelihood ratios from previous analysis. However, in this format I could automatically calculate ORs using Formulas, (but what about 95% CI for OR?)&lt;BR /&gt;&lt;BR /&gt;Also, for me these doesn't make sense:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP4.PNG" style="width: 879px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17829iFC1C005EA17F879F/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP4.PNG" alt="JMP4.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;T3 can't have the highest probability, with fewest individuals?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:10:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213913#M42767</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-06-20T14:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213917#M42770</link>
      <description>&lt;P&gt;The model is for the marginal probability. Is it true that the group T3 is always smaller? You could use Tables &amp;gt; Summary to get the Sum for T1-T3 overall. Those sums are where the probabilities come from. (You did not enter any covariates so the probabilities are not estimated for each grouping.)&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:20:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213917#M42770</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-06-20T14:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213919#M42771</link>
      <description>&lt;P&gt;Well, almost always. But in that dataset, as you can see T3 has the fewest but highest probability.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, with Age as Covariate (As a model effect?) it says: Failed: Cannot Decrease Objective Function, but can proceed and now it makes some sense:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP5.PNG" style="width: 955px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17830iF6DF27A5D8BD0A5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP5.PNG" alt="JMP5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:27:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213919#M42771</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-06-20T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213923#M42772</link>
      <description>&lt;P&gt;Then, using the formula, I get the OR, which seems correct. Then I just need to come up with the formula for calculating 95% CI using this set... Anyone?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP6.PNG" style="width: 275px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17831i79388E77C27DAB17/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP6.PNG" alt="JMP6.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP7.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17832i792B99EEAFE92899/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP7.PNG" alt="JMP7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:42:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213923#M42772</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-06-20T14:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213999#M42787</link>
      <description>&lt;P&gt;There is nothing wrong with your OR calculation as far as I know but I have never used them with the marginal probabilities so I do not know how to estimate the OR with a confidence interval in your case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might send your request JMP Technical Support (support@jmp.com).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use another software with this capability. There are many on-line calculators although the ones that I found for you did not apply to this case. If there is an R package, then you can write a short script to make JMP work with R to get the results for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry that we do not have a simple and easy, ready-made solution for you.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 20:06:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/213999#M42787</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-06-20T20:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Odds ratio for a simple distribution</title>
      <link>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/214249#M42844</link>
      <description>&lt;P&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Yea, didn't find any online calculator suitable for this approach.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Think I will try SPSS (against my will) for just this one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 07:29:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Odds-ratio-for-a-simple-distribution/m-p/214249#M42844</guid>
      <dc:creator>Jonkandonkan</dc:creator>
      <dc:date>2019-06-24T07:29:08Z</dc:date>
    </item>
  </channel>
</rss>

