<?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 estimates in R/N logistic models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-estimates-in-R-N-logistic-models/m-p/189884#M9875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code looks like it may have been truncated as there's no model statement, and it looks like you have a colon instead of semi colon in the class statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try adding param=ref to the class statement. This tells SAS to use Referential coding rather than the default of Effect coding for the categorical variables. &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/faq/proc_logistic_coding.htm" title="http://www.ats.ucla.edu/stat/sas/faq/proc_logistic_coding.htm"&gt;SAS FAQ: In PROC LOGISTIC why aren't the coefficients consistent with the odds ratios?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc logistic data = ....;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;class treatment (ref=control) day (ref=0)/&lt;STRONG&gt;Param=REF&lt;/STRONG&gt;; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;sick_animals/animals_per_cage= treatment day/cl;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;oddsratio treatment/diff=ref;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;oddsratio day/diff=ref;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Sep 2014 17:59:54 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-09-07T17:59:54Z</dc:date>
    <item>
      <title>odds ratio estimates in R/N logistic models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-estimates-in-R-N-logistic-models/m-p/189883#M9874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set comparing animals that are treated with x versus y. The animals are in cages of varying number per cage (4-9 ). I count the number of sick animals at various time points in the cages.&lt;/P&gt;&lt;P&gt;My data lines include:&lt;/P&gt;&lt;P&gt;treatment&amp;nbsp;&amp;nbsp; day&amp;nbsp;&amp;nbsp;&amp;nbsp; sick_animals&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; animals_per_cage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I denote those R, and the rabbits per cage are N. &lt;/P&gt;&lt;P&gt;When I run the model&lt;/P&gt;&lt;P&gt;proc logistic data = ....;&lt;/P&gt;&lt;P&gt;class treatment (ref=control) day (ref=0):&lt;/P&gt;&lt;P&gt;sick_animals/animals_per_cage= treatment day/cl;&lt;/P&gt;&lt;P&gt;oddsratio treatment/diff=ref;&lt;/P&gt;&lt;P&gt;oddsratio day/diff=ref;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I get different estimates for the parameters estimates (when I exponentiate these) in the 'Analysis of maximum likelihood estimates' compared to what the oddsratios that the model generates.&lt;/P&gt;&lt;P&gt;What is the true odds ratios, and where do I find level of significance (p-value) of the odds ratios. I can see the confidence intervals, but I need the p-value also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Anna Catharina &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 12:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-estimates-in-R-N-logistic-models/m-p/189883#M9874</guid>
      <dc:creator>AnnaB</dc:creator>
      <dc:date>2014-09-07T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio estimates in R/N logistic models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-estimates-in-R-N-logistic-models/m-p/189884#M9875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code looks like it may have been truncated as there's no model statement, and it looks like you have a colon instead of semi colon in the class statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try adding param=ref to the class statement. This tells SAS to use Referential coding rather than the default of Effect coding for the categorical variables. &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/faq/proc_logistic_coding.htm" title="http://www.ats.ucla.edu/stat/sas/faq/proc_logistic_coding.htm"&gt;SAS FAQ: In PROC LOGISTIC why aren't the coefficients consistent with the odds ratios?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc logistic data = ....;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;class treatment (ref=control) day (ref=0)/&lt;STRONG&gt;Param=REF&lt;/STRONG&gt;; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;sick_animals/animals_per_cage= treatment day/cl;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;oddsratio treatment/diff=ref;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;oddsratio day/diff=ref;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 17:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-estimates-in-R-N-logistic-models/m-p/189884#M9875</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-09-07T17:59:54Z</dc:date>
    </item>
  </channel>
</rss>

