<?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: SAS Proc Mixed random statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Proc-Mixed-random-statement/m-p/70293#M20224</link>
    <description>Try posting this in the Statistical Procedures forum, you are more likely to get  a response.</description>
    <pubDate>Tue, 07 Sep 2010 17:32:08 GMT</pubDate>
    <dc:creator>ArtC</dc:creator>
    <dc:date>2010-09-07T17:32:08Z</dc:date>
    <item>
      <title>SAS Proc Mixed random statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Proc-Mixed-random-statement/m-p/70292#M20223</link>
      <description>Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I tried to do a mixed model with AR(1)+RE variance structure. I did it in two ways, as below. Here id is the subject id. There are two covariates: treatment (trt) and month (continuous).&lt;BR /&gt;
&lt;BR /&gt;
proc mixed data=one;&lt;BR /&gt;
class id;&lt;BR /&gt;
model y= trt month  /s;&lt;BR /&gt;
     repeated  / type=ar(1) sub=id; &lt;BR /&gt;
	 random id;&lt;BR /&gt;
 run; &lt;BR /&gt;
&lt;BR /&gt;
proc mixed data=one;&lt;BR /&gt;
class id;&lt;BR /&gt;
model y= trt month /s;&lt;BR /&gt;
     random id  / type=ar(1); &lt;BR /&gt;
 run;&lt;BR /&gt;
&lt;BR /&gt;
However, they produced very different results. I checked the book "SAS for Mixed Models" Second Edition. It seems the first one is correct. But I wonder why the second one failed, though it converged with 3 covariance parameters: variance, AR(1) and residual. Does anyone know what is the actual covariance structure for the second model? Thanks a lot!&lt;BR /&gt;
&lt;BR /&gt;
Lei</description>
      <pubDate>Mon, 06 Sep 2010 20:50:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Proc-Mixed-random-statement/m-p/70292#M20223</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-06T20:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc Mixed random statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Proc-Mixed-random-statement/m-p/70293#M20224</link>
      <description>Try posting this in the Statistical Procedures forum, you are more likely to get  a response.</description>
      <pubDate>Tue, 07 Sep 2010 17:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Proc-Mixed-random-statement/m-p/70293#M20224</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-09-07T17:32:08Z</dc:date>
    </item>
  </channel>
</rss>

