<?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 Non-estimable lsmeans from glm in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104974#M5544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could I please ask how can I resolve this?&lt;/P&gt;&lt;P&gt;I wish to get the lsmeans of Intervation but SAS gives me a warning saying 'WARNING: The ADJUST=DUNNETT p-values and confidence limits cannot be computed because the Dunnett-Hsu approximation did not converge. Try ADJUST=SIMULATE.' after I run the below glm model. I tried the ADJUST=SIMULATE but it gives me an error saying 'ERROR: Cannot compute simulated p-values with inestimable LSMEANS.'. I have about 60000 data points with up to 6 categories of Intervention and up to 7 categories of experimentNum. Their interaraction term is significant &amp;lt;0.0001.&amp;nbsp; There are zero observations for some combination groups of Intervention*experimentNum. However, the second lsmeans statement runs without problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help/insight is greatly appreciated!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glm data=tmp order=internal plots=none;&lt;/P&gt;&lt;P&gt;class Intervention experimentNum; &lt;/P&gt;&lt;P&gt;model logconc=Intervention|experimentNum / solution e;&lt;/P&gt;&lt;P&gt;lsmeans Intervention / cl stderr e pdiff=control('No control');&lt;/P&gt;&lt;P&gt;lsmeans Intervention*experimentNum / cl pdiff stderr e om adjust=tukey; &lt;/P&gt;&lt;P&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 11:02:47 GMT</pubDate>
    <dc:creator>Miracle</dc:creator>
    <dc:date>2013-02-11T11:02:47Z</dc:date>
    <item>
      <title>Non-estimable lsmeans from glm</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104974#M5544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could I please ask how can I resolve this?&lt;/P&gt;&lt;P&gt;I wish to get the lsmeans of Intervation but SAS gives me a warning saying 'WARNING: The ADJUST=DUNNETT p-values and confidence limits cannot be computed because the Dunnett-Hsu approximation did not converge. Try ADJUST=SIMULATE.' after I run the below glm model. I tried the ADJUST=SIMULATE but it gives me an error saying 'ERROR: Cannot compute simulated p-values with inestimable LSMEANS.'. I have about 60000 data points with up to 6 categories of Intervention and up to 7 categories of experimentNum. Their interaraction term is significant &amp;lt;0.0001.&amp;nbsp; There are zero observations for some combination groups of Intervention*experimentNum. However, the second lsmeans statement runs without problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help/insight is greatly appreciated!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glm data=tmp order=internal plots=none;&lt;/P&gt;&lt;P&gt;class Intervention experimentNum; &lt;/P&gt;&lt;P&gt;model logconc=Intervention|experimentNum / solution e;&lt;/P&gt;&lt;P&gt;lsmeans Intervention / cl stderr e pdiff=control('No control');&lt;/P&gt;&lt;P&gt;lsmeans Intervention*experimentNum / cl pdiff stderr e om adjust=tukey; &lt;/P&gt;&lt;P&gt;run; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 11:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104974#M5544</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2013-02-11T11:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Non-estimable lsmeans from glm</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104975#M5545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main effect marginal means for intervention cannot be calculated, for as you point out, there are "empty cells".&amp;nbsp; The interaction LSmeans are presented, because that is the level of observation, essentially.&amp;nbsp; Note that certain combinations (those with N=0) do not appear.&amp;nbsp; The best way around this is to fit a means model (see Milliken and Johnson's Analysis of Messy Data).&amp;nbsp; To get what you need in GLM, you would have to construct ESTIMATE statements that combine the non-zero values to get main effect means, and then take differences.&amp;nbsp; Unfortunately, the ESTIMATE statement does not allow for multiple comparisons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter PROC MIXED (or GLIMMIX), and the LSMESTIMATE statement.&amp;nbsp; This will enable calculation of main effect means and differences, in a way that control for multiple comparisons can be handled.&amp;nbsp; The statements may be complex, getting 42 possible interaction means combined as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 12:58:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104975#M5545</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-02-11T12:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Non-estimable lsmeans from glm</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104976#M5546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve for your reply! Much appreciated! I'll give it a go as you suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 23:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-estimable-lsmeans-from-glm/m-p/104976#M5546</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2013-02-11T23:31:49Z</dc:date>
    </item>
  </channel>
</rss>

