<?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: Repeated measure ANOVA using PROC MIXED in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Repeated-measure-ANOVA-using-PROC-MIXED/m-p/47371#M1361</link>
    <description>In the REPEATED statement, there is an option called TYPE= that allows you to specify the covariance matrix.  Try compound symmetry (CS) or autoregressive 1 (AR(1)).  Autoregressive may suit you better since the correlation between two timepoints could be considered higher if the timepoints are closer together.</description>
    <pubDate>Fri, 26 Sep 2008 17:27:21 GMT</pubDate>
    <dc:creator>1162</dc:creator>
    <dc:date>2008-09-26T17:27:21Z</dc:date>
    <item>
      <title>Repeated measure ANOVA using PROC MIXED</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Repeated-measure-ANOVA-using-PROC-MIXED/m-p/47370#M1360</link>
      <description>My dataset has 16 subjects, each subject was exposed to 3 treatments, each treatment was repeated 4 times. So there is a correlation b/w the 4 times within a treatment, and another correlation factor b/w the 3 treatments within a subjects. The data looks like&lt;BR /&gt;
ID Treatment Time&lt;BR /&gt;
1   1             1&lt;BR /&gt;
1   1             2&lt;BR /&gt;
...  ...            ...&lt;BR /&gt;
1   1             4&lt;BR /&gt;
1   2             1&lt;BR /&gt;
...  ...            ...&lt;BR /&gt;
1   2             4&lt;BR /&gt;
...  ...            ...&lt;BR /&gt;
1   3             4&lt;BR /&gt;
So the correlation matrix for subject 1 should be a 12*12 matrix, formed by 3*3=9 block matrices, and each matrix is a 4*4. The 3 diagonal 4*4 matrices should be the same. The off-diagonal 4*4 matrices don't need to be the same.&lt;BR /&gt;
There are 2 difference correlation factors within a subject. My question is how to specify such a correlation matrix. Hopefully the correlation matrix should look like something like this&lt;BR /&gt;
 1  .5  .5  .5  .3  .3  .3  .3  .1  .1  .1  .1&lt;BR /&gt;
.5   1  .5  .5  .3  .3  .3  .3  .1  .1  .1  .1&lt;BR /&gt;
.5  .5   1  .5  .3  .3  .3  .3  .1  .1  .1  .1&lt;BR /&gt;
.5  .5  .5   1  .3  .3  .3  .3  .1  .1  .1  .1&lt;BR /&gt;
.3  .3  .3  .3   1  .5  .5  .5  .2  .2  .2  .2&lt;BR /&gt;
.3  .3  .3  .3  .5   1  .5  .5  .2  .2  .2  .2&lt;BR /&gt;
.3  .3  .3  .3  .5  .5   1  .5  .2  .2  .2  .2&lt;BR /&gt;
.3  .3  .3  .3  .5  .5  .5   1  .2  .2  .2  .2&lt;BR /&gt;
.1  .1  .1  .1  .2  .2  .2  .2   1  .5  .5  .5&lt;BR /&gt;
.1  .1  .1  .1  .2  .2  .2  .2  .5   1  .5  .5 &lt;BR /&gt;
.1  .1  .1  .1  .2  .2  .2  .2  .5  .5   1  .5&lt;BR /&gt;
.1  .1  .1  .1  .2  .2  .2  .2  .5  .5  .5   1</description>
      <pubDate>Thu, 18 Sep 2008 02:08:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Repeated-measure-ANOVA-using-PROC-MIXED/m-p/47370#M1360</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-18T02:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated measure ANOVA using PROC MIXED</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Repeated-measure-ANOVA-using-PROC-MIXED/m-p/47371#M1361</link>
      <description>In the REPEATED statement, there is an option called TYPE= that allows you to specify the covariance matrix.  Try compound symmetry (CS) or autoregressive 1 (AR(1)).  Autoregressive may suit you better since the correlation between two timepoints could be considered higher if the timepoints are closer together.</description>
      <pubDate>Fri, 26 Sep 2008 17:27:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Repeated-measure-ANOVA-using-PROC-MIXED/m-p/47371#M1361</guid>
      <dc:creator>1162</dc:creator>
      <dc:date>2008-09-26T17:27:21Z</dc:date>
    </item>
  </channel>
</rss>

