<?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: Glimmix estimate statement specification in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136692#M7100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to do that.&amp;nbsp; It looks like you want best linear unbiased estimates and not BLUPs, so the least squares means should suffice for what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMEANS efnbin efnbin*tb /ilink;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the main effect estimates across tb, and at each level of tb.&amp;nbsp; These will all be reported at the mean value of c_shtefn&amp;nbsp;&amp;nbsp; If you want estimates at specific values of this continuous covariate you will need to include the AT= option I include the ILINK option to also present estimates on the original scale&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, 10 Mar 2014 17:43:54 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2014-03-10T17:43:54Z</dc:date>
    <item>
      <title>Glimmix estimate statement specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136691#M7099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Glimmix to run a mixed model with a Poisson distribution. Here's the basic model layout:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;glimmix&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;noclprint&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;12&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;method&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=laplace;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; site year sht tb poscat efnbin;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; esm=efnbin tb efnbin*tb c_shtefn c_shtefn*tb c_shtefn*efnbin/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;dist&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=poisson &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=log &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;solution&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;random&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; year site year*site sht*year*site;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;I want to estimate means for the "efnbin" effect with within-subject standard errors. The problem is specifying this in the ESTIMATE statement because there are over 800 levels of the "sht*year*site" random effect. So, my question is if there is a short-hand way to specify the same coefficient for all the &amp;gt;800 levels of &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;"sht*year*site".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 16:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136691#M7099</guid>
      <dc:creator>36792</dc:creator>
      <dc:date>2014-03-07T16:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix estimate statement specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136692#M7100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to do that.&amp;nbsp; It looks like you want best linear unbiased estimates and not BLUPs, so the least squares means should suffice for what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMEANS efnbin efnbin*tb /ilink;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the main effect estimates across tb, and at each level of tb.&amp;nbsp; These will all be reported at the mean value of c_shtefn&amp;nbsp;&amp;nbsp; If you want estimates at specific values of this continuous covariate you will need to include the AT= option I include the ILINK option to also present estimates on the original scale&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, 10 Mar 2014 17:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136692#M7100</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-03-10T17:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix estimate statement specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136693#M7101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess that I did not make myself very clear. I need to specify the random effects in an estimate statement in order to get the within-subject standard errors. The problem is coding the specification of the random effects given that there are so many levels.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 17:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136693#M7101</guid>
      <dc:creator>36792</dc:creator>
      <dc:date>2014-03-10T17:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix estimate statement specification</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136694#M7102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you do want the BLUP estimates, am I correct? Those would have within subject standard errors.&amp;nbsp; With &amp;gt;800 levels, ouch.&amp;nbsp; If you can accept the empirical Bayes estimates of the standard errors, try adding /solution to the random statement, and pull the SolutionR dataset using ODS OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow, I think I missed where you are going with this answer as well.&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, 10 Mar 2014 18:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-estimate-statement-specification/m-p/136694#M7102</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-03-10T18:10:08Z</dc:date>
    </item>
  </channel>
</rss>

