<?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 test statistics on odds ratios in logistic regression in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/test-statistics-on-odds-ratios-in-logistic-regression/m-p/10297#M9992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been using logistic regression with multiple categorical predictors.&amp;nbsp; I'm particularly interested in the odds ratios, and I understand how the odds ratios themselves are calculated, but I'm having trouble understanding how the test statistics associated with each odds ratio are calculated.&amp;nbsp; JMP gives the disclaimer "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Tests and confidence intervals on odds ratios are likelihood ratio &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;based."&amp;nbsp; My question is, where does the p value associated with each odds ratio come from?&amp;nbsp; Are they derived from a likelihood ratio?&amp;nbsp; As I understand it, the whole model test, goodness of fit test, and effects tests all use the likelihood ratio to compute a chi square test statistic, but I cannot figure out how the p value (and the confidence intervals) for a given odds ratio are calculated.&amp;nbsp; I've searched extensively online for an answer to this question with no success.&amp;nbsp; It seems that if the explanatory variables are continuous, there is no p value associated with the odds ratio.&amp;nbsp; In my case, the explanatory variable is categorical, with 3 levels, and there are odds ratios for each pairwise comparison.&amp;nbsp; Any help with this would be much appreciated!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7736_Fit Model.jpg" style="width: 456px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1050iB172EBC548A432EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7736_Fit Model.jpg" alt="7736_Fit Model.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 22:10:57 GMT</pubDate>
    <dc:creator>mjahnke</dc:creator>
    <dc:date>2016-10-18T22:10:57Z</dc:date>
    <item>
      <title>test statistics on odds ratios in logistic regression</title>
      <link>https://community.jmp.com/t5/Discussions/test-statistics-on-odds-ratios-in-logistic-regression/m-p/10297#M9992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been using logistic regression with multiple categorical predictors.&amp;nbsp; I'm particularly interested in the odds ratios, and I understand how the odds ratios themselves are calculated, but I'm having trouble understanding how the test statistics associated with each odds ratio are calculated.&amp;nbsp; JMP gives the disclaimer "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Tests and confidence intervals on odds ratios are likelihood ratio &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;based."&amp;nbsp; My question is, where does the p value associated with each odds ratio come from?&amp;nbsp; Are they derived from a likelihood ratio?&amp;nbsp; As I understand it, the whole model test, goodness of fit test, and effects tests all use the likelihood ratio to compute a chi square test statistic, but I cannot figure out how the p value (and the confidence intervals) for a given odds ratio are calculated.&amp;nbsp; I've searched extensively online for an answer to this question with no success.&amp;nbsp; It seems that if the explanatory variables are continuous, there is no p value associated with the odds ratio.&amp;nbsp; In my case, the explanatory variable is categorical, with 3 levels, and there are odds ratios for each pairwise comparison.&amp;nbsp; Any help with this would be much appreciated!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7736_Fit Model.jpg" style="width: 456px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1050iB172EBC548A432EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7736_Fit Model.jpg" alt="7736_Fit Model.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:10:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/test-statistics-on-odds-ratios-in-logistic-regression/m-p/10297#M9992</guid>
      <dc:creator>mjahnke</dc:creator>
      <dc:date>2016-10-18T22:10:57Z</dc:date>
    </item>
  </channel>
</rss>

