<?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 Estimate genmod in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/746733#M36346</link>
    <description>&lt;P&gt;&amp;nbsp;I have this model and I try to estimate the difference between the high volume (1 2 5 ml )&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;compare to lower volume (.1 and .5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data= germ; *where Primary_Response_EDR_SP_NR in('EDR','SP') and Infusion_Volume ne 5;
class MRN DBI_Category (ref='NORMAL') Infusion_Media Infusion_Volume (ref='0.1') ;
model Secondary_Response_EDR_SP_NR= DBI Infusion_Media Infusion_Volume DBI*Infusion_volume DBI*Infusion_Media /dist=multinomial
link=cumlogit type3 wald;
repeated subject=MRN/ sorted;

*lsmeans DBI_Category /pdiff=all adjust=bon exp cl;

estimate "Upper in Air " intercept 6 dbi 6 Infusion_Media 6 0 0 Infusion_Volume 2 2 2 0 0 DBI*Infusion_volume 2 2 2 0 0 DBI*Infusion_Media 6 0 0/ divisor=6 ;
estimate "lower in Air " intercept 6 dbi 6 Infusion_Media 6 0 0 Infusion_Volume 0 0 0 3 3 DBI*Infusion_volume 0 0 0 3 3 DBI*Infusion_Media 6 0 0/ divisor=6 ;
estimate " upper -lower in Air" Infusion_Volume 2 2 2 -3 -3 DBI*Infusion_volume 2 2 2 -3 -3 / divisor=6;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this outcome and I don't why it is not estimable ???&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;Contrast Estimate ResultsLabel Mean Estimate Mean L'Beta Estimate StandardError Alpha L'Beta Chi-Square Pr&amp;nbsp;&amp;gt;&amp;nbsp;ChiSqConfidence Limits Confidence LimitsUpper in Airlower in Airupper -lower in AIr
&lt;TABLE cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;0.2944&lt;/TD&gt;
&lt;TD&gt;0.2022&lt;/TD&gt;
&lt;TD&gt;0.4071&lt;/TD&gt;
&lt;TD&gt;-0.8743&lt;/TD&gt;
&lt;TD&gt;0.2542&lt;/TD&gt;
&lt;TD&gt;0.05&lt;/TD&gt;
&lt;TD&gt;-1.3726&lt;/TD&gt;
&lt;TD&gt;-0.3761&lt;/TD&gt;
&lt;TD&gt;11.83&lt;/TD&gt;
&lt;TD&gt;0.0006&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;0.2347&lt;/TD&gt;
&lt;TD&gt;0.1249&lt;/TD&gt;
&lt;TD&gt;0.3972&lt;/TD&gt;
&lt;TD&gt;-1.1821&lt;/TD&gt;
&lt;TD&gt;0.3904&lt;/TD&gt;
&lt;TD&gt;0.05&lt;/TD&gt;
&lt;TD&gt;-1.9472&lt;/TD&gt;
&lt;TD&gt;-0.4170&lt;/TD&gt;
&lt;TD&gt;9.17&lt;/TD&gt;
&lt;TD&gt;0.0025&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Non-est&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;Non-est&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;I&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 09 Jun 2021 15:43:40 GMT</pubDate>
    <dc:creator>Enas</dc:creator>
    <dc:date>2021-06-09T15:43:40Z</dc:date>
    <item>
      <title>Estimate genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/746733#M36346</link>
      <description>&lt;P&gt;&amp;nbsp;I have this model and I try to estimate the difference between the high volume (1 2 5 ml )&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;compare to lower volume (.1 and .5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data= germ; *where Primary_Response_EDR_SP_NR in('EDR','SP') and Infusion_Volume ne 5;
class MRN DBI_Category (ref='NORMAL') Infusion_Media Infusion_Volume (ref='0.1') ;
model Secondary_Response_EDR_SP_NR= DBI Infusion_Media Infusion_Volume DBI*Infusion_volume DBI*Infusion_Media /dist=multinomial
link=cumlogit type3 wald;
repeated subject=MRN/ sorted;

*lsmeans DBI_Category /pdiff=all adjust=bon exp cl;

estimate "Upper in Air " intercept 6 dbi 6 Infusion_Media 6 0 0 Infusion_Volume 2 2 2 0 0 DBI*Infusion_volume 2 2 2 0 0 DBI*Infusion_Media 6 0 0/ divisor=6 ;
estimate "lower in Air " intercept 6 dbi 6 Infusion_Media 6 0 0 Infusion_Volume 0 0 0 3 3 DBI*Infusion_volume 0 0 0 3 3 DBI*Infusion_Media 6 0 0/ divisor=6 ;
estimate " upper -lower in Air" Infusion_Volume 2 2 2 -3 -3 DBI*Infusion_volume 2 2 2 -3 -3 / divisor=6;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this outcome and I don't why it is not estimable ???&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;Contrast Estimate ResultsLabel Mean Estimate Mean L'Beta Estimate StandardError Alpha L'Beta Chi-Square Pr&amp;nbsp;&amp;gt;&amp;nbsp;ChiSqConfidence Limits Confidence LimitsUpper in Airlower in Airupper -lower in AIr
&lt;TABLE cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;0.2944&lt;/TD&gt;
&lt;TD&gt;0.2022&lt;/TD&gt;
&lt;TD&gt;0.4071&lt;/TD&gt;
&lt;TD&gt;-0.8743&lt;/TD&gt;
&lt;TD&gt;0.2542&lt;/TD&gt;
&lt;TD&gt;0.05&lt;/TD&gt;
&lt;TD&gt;-1.3726&lt;/TD&gt;
&lt;TD&gt;-0.3761&lt;/TD&gt;
&lt;TD&gt;11.83&lt;/TD&gt;
&lt;TD&gt;0.0006&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;0.2347&lt;/TD&gt;
&lt;TD&gt;0.1249&lt;/TD&gt;
&lt;TD&gt;0.3972&lt;/TD&gt;
&lt;TD&gt;-1.1821&lt;/TD&gt;
&lt;TD&gt;0.3904&lt;/TD&gt;
&lt;TD&gt;0.05&lt;/TD&gt;
&lt;TD&gt;-1.9472&lt;/TD&gt;
&lt;TD&gt;-0.4170&lt;/TD&gt;
&lt;TD&gt;9.17&lt;/TD&gt;
&lt;TD&gt;0.0025&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Non-est&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;Non-est&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;I&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jun 2021 15:43:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/746733#M36346</guid>
      <dc:creator>Enas</dc:creator>
      <dc:date>2021-06-09T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Estimate genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/746998#M36351</link>
      <description>&lt;P&gt;I think it is because DBI is a continuous variable in your model, which leads to issues with the continuous by categorical interactions.&amp;nbsp; Also, with a cumulative multinomial, you should have multiple intercepts, some of which need to be included in the estimate statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using LSMESTIMATE statements? It appears to me that you want to test for a difference in the lsmeans (log odds), so the advantage that LSMESTIMATE has is that all of the parameter matching, etc is handled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 12:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/746998#M36351</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-10T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Estimate genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/747063#M36356</link>
      <description>&lt;P&gt;I strongly advise using LSMEANS or SLICE instead of the ESTIMATE statement which requires determining the correct coefficients on the model parameters to estimate the quantity of interest and is a very error prone task. In a binomial or multinomial model, differences like you want are differences of log odds and exponentiating those differences yields odds ratios. You can easily do this with the LSMEANS statement with the DIFF and ODDSRATIO options. You might also want to add the E option to see a table showing the coefficients on the model parameters used to estimate each log odds. Note that in a multinomial model with k response levels, there are k-1 cumulative logits so you will get k-1 log odds estimates for each level of the predictor in the LSMEANS statement. The difference, however, is the same for each logit, so there is only one difference (and odds ratio).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;lsmeans Infusion_volume / e diff oddsratio;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 15:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimate-genmod/m-p/747063#M36356</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-06-10T15:45:10Z</dc:date>
    </item>
  </channel>
</rss>

