<?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 Proc Mixed question in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Mixed-question/m-p/70742#M20365</link>
    <description>I am a little new to mixed models and proc mixed and was hoping someone could tell me if I am coding my Proc Mixed statement correctly.  It converges and the results appear reasonable, but I would greatly appreciate input from someone a little more versed on the subject&lt;BR /&gt;
&lt;BR /&gt;
Here is the intercepts only model&lt;BR /&gt;
&lt;BR /&gt;
Yij = Y00 +  Y10(gradeband)+ Y20(Ethnic)   Y01(SES)  + Y11gradeband (SES) (Ethnic) + uoj +  rij&lt;BR /&gt;
&lt;BR /&gt;
Gradeband is a level 1 variable that can take one of three values: 0 1 or 2&lt;BR /&gt;
Ethinc is a dichotomous level-1 variable: Hispanic or non-Hispanic&lt;BR /&gt;
SES is dichotomous level 2 variable: lowSESschool or highSESschool&lt;BR /&gt;
&lt;BR /&gt;
schoolcode is just the identifier variable for the individual schools.  Students are nested within schools (obviously)&lt;BR /&gt;
&lt;BR /&gt;
Here is the Proc Mixed Statement&lt;BR /&gt;
&lt;BR /&gt;
proc mixed data=schooldata  covtest;&lt;BR /&gt;
  class schoolcode gradeband ethnic SES ;&lt;BR /&gt;
  model testscore = gradeband ethnic SES   gradeband*ethnic*SES/solution   &lt;BR /&gt;
                             ddfm=contain;&lt;BR /&gt;
  random intercept /type=un sub=ethnic(schoolcode);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Does this proc mixed statement look right given what I am trying to do?  Thanks.</description>
    <pubDate>Wed, 21 Jan 2009 21:15:51 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-01-21T21:15:51Z</dc:date>
    <item>
      <title>Proc Mixed question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Mixed-question/m-p/70742#M20365</link>
      <description>I am a little new to mixed models and proc mixed and was hoping someone could tell me if I am coding my Proc Mixed statement correctly.  It converges and the results appear reasonable, but I would greatly appreciate input from someone a little more versed on the subject&lt;BR /&gt;
&lt;BR /&gt;
Here is the intercepts only model&lt;BR /&gt;
&lt;BR /&gt;
Yij = Y00 +  Y10(gradeband)+ Y20(Ethnic)   Y01(SES)  + Y11gradeband (SES) (Ethnic) + uoj +  rij&lt;BR /&gt;
&lt;BR /&gt;
Gradeband is a level 1 variable that can take one of three values: 0 1 or 2&lt;BR /&gt;
Ethinc is a dichotomous level-1 variable: Hispanic or non-Hispanic&lt;BR /&gt;
SES is dichotomous level 2 variable: lowSESschool or highSESschool&lt;BR /&gt;
&lt;BR /&gt;
schoolcode is just the identifier variable for the individual schools.  Students are nested within schools (obviously)&lt;BR /&gt;
&lt;BR /&gt;
Here is the Proc Mixed Statement&lt;BR /&gt;
&lt;BR /&gt;
proc mixed data=schooldata  covtest;&lt;BR /&gt;
  class schoolcode gradeband ethnic SES ;&lt;BR /&gt;
  model testscore = gradeband ethnic SES   gradeband*ethnic*SES/solution   &lt;BR /&gt;
                             ddfm=contain;&lt;BR /&gt;
  random intercept /type=un sub=ethnic(schoolcode);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Does this proc mixed statement look right given what I am trying to do?  Thanks.</description>
      <pubDate>Wed, 21 Jan 2009 21:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Mixed-question/m-p/70742#M20365</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-21T21:15:51Z</dc:date>
    </item>
  </channel>
</rss>

