<?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: Proc Mixed with Group Level outcome in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-Group-Level-outcome/m-p/453171#M23691</link>
    <description>&lt;P&gt;So after thinking about it some more I realized the repeated statement did not make sense in the context because my outcome was not repeated.&amp;nbsp; That meant to specify my subgroups I needed to use the random statement. The only thing that could randomly varies in the model are the level 1 observations.&amp;nbsp; So I ended up fitting a model like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data =&amp;nbsp;dataset noclprint namelen=32 covtest plots = all ;&lt;BR /&gt;class subjectid ;&lt;BR /&gt;model SSPG = shannonc /solution ddfm = bw cl ;&lt;BR /&gt;random shannonc /subject = subjectid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the degrees of freedom were reasonable.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 12:28:36 GMT</pubDate>
    <dc:creator>smrose</dc:creator>
    <dc:date>2018-04-11T12:28:36Z</dc:date>
    <item>
      <title>Proc Mixed with Group Level outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-Group-Level-outcome/m-p/452368#M23623</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to model a group level attribute that is only measured once during study using individual level predictor that&amp;nbsp;was measured anywhere from 1 to 111 times/per person with 660 observations and 60 people.&amp;nbsp; &amp;nbsp;How do I specify that my outcome&amp;nbsp; is a group level attribute that has only been measured once per subject?&amp;nbsp; I think with code my outcome is being analyzed as if it were dis-aggregated across all time points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data = analysis.labshmp9 noclprint empirical ;&lt;BR /&gt;class subjectid ;&lt;BR /&gt;model sspg = shannon | shannon /solution ;&lt;BR /&gt;repeated / subject = subjectid ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 21:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-Group-Level-outcome/m-p/452368#M23623</guid>
      <dc:creator>smrose</dc:creator>
      <dc:date>2018-04-08T21:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Mixed with Group Level outcome</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-Group-Level-outcome/m-p/453171#M23691</link>
      <description>&lt;P&gt;So after thinking about it some more I realized the repeated statement did not make sense in the context because my outcome was not repeated.&amp;nbsp; That meant to specify my subgroups I needed to use the random statement. The only thing that could randomly varies in the model are the level 1 observations.&amp;nbsp; So I ended up fitting a model like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data =&amp;nbsp;dataset noclprint namelen=32 covtest plots = all ;&lt;BR /&gt;class subjectid ;&lt;BR /&gt;model SSPG = shannonc /solution ddfm = bw cl ;&lt;BR /&gt;random shannonc /subject = subjectid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the degrees of freedom were reasonable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:28:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mixed-with-Group-Level-outcome/m-p/453171#M23691</guid>
      <dc:creator>smrose</dc:creator>
      <dc:date>2018-04-11T12:28:36Z</dc:date>
    </item>
  </channel>
</rss>

