<?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: Specifying sumbsampling in PROC GLIMMIX in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Specifying-sumbsampling-in-PROC-GLIMMIX/m-p/184900#M9586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In GLIMMIX, you do not put random effects in the model statement. You use one or several random statements. To get started, try:&lt;/P&gt;&lt;P&gt;proc glimmix;&lt;/P&gt;&lt;P&gt;class plot trt;&lt;/P&gt;&lt;P&gt;model response = trt;&lt;/P&gt;&lt;P&gt;random plot(trt);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The beauty of MIXED and GLIMMIX is that one does not have to set up any explicit tests because the procedures figure things out if the random effects are specified correctly. I highly recommend you get a copy of SAS for Mixed Models, 2nd edition (2006). This will make things clearer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2015 14:34:07 GMT</pubDate>
    <dc:creator>lvm</dc:creator>
    <dc:date>2015-02-27T14:34:07Z</dc:date>
    <item>
      <title>Specifying sumbsampling in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Specifying-sumbsampling-in-PROC-GLIMMIX/m-p/184899#M9585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just starting to dig into GLIMMIX for the first time, but I'm have a little trouble figuring out how to specify within what is considered a subsample. For instance, in GLM I could use this example with two subsamples per plot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; INPUT plot trt $ response;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DATALINES;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; Control&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; Treated&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc glm data=test;&lt;/P&gt;&lt;P&gt;class plot trt;&lt;/P&gt;&lt;P&gt;model response=trt plot(trt);&lt;/P&gt;&lt;P&gt;test h=trt&amp;nbsp; e=plot(trt);&lt;/P&gt;&lt;P&gt;title 'One way CRD w/subsample';&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without specifying that subsampling occurred here, the F-value for trt = 60.50. The output from the test statement accounting for the subsampling results in an adjusted F-value of 24.20 for the trt effect. How would I replicate this in PROC GLIMMIX though? The following statement: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=test;&lt;/P&gt;&lt;P&gt;class plot trt;&lt;/P&gt;&lt;P&gt;model response=trt plot(trt);&lt;/P&gt;&lt;P&gt;title 'GLIMMIX one-way CRD w/subsample';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives an F-value of 60.50 again for the trt effect. I realize I could just average the subsamples manually in this example, but I'd like to be able to specify this explicitly in the procedure so I'm forced to learn a bit for future more complex analyses. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 22:33:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Specifying-sumbsampling-in-PROC-GLIMMIX/m-p/184899#M9585</guid>
      <dc:creator>hanson4022</dc:creator>
      <dc:date>2015-02-26T22:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying sumbsampling in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Specifying-sumbsampling-in-PROC-GLIMMIX/m-p/184900#M9586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In GLIMMIX, you do not put random effects in the model statement. You use one or several random statements. To get started, try:&lt;/P&gt;&lt;P&gt;proc glimmix;&lt;/P&gt;&lt;P&gt;class plot trt;&lt;/P&gt;&lt;P&gt;model response = trt;&lt;/P&gt;&lt;P&gt;random plot(trt);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The beauty of MIXED and GLIMMIX is that one does not have to set up any explicit tests because the procedures figure things out if the random effects are specified correctly. I highly recommend you get a copy of SAS for Mixed Models, 2nd edition (2006). This will make things clearer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Specifying-sumbsampling-in-PROC-GLIMMIX/m-p/184900#M9586</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2015-02-27T14:34:07Z</dc:date>
    </item>
  </channel>
</rss>

