<?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 ANOVA or Proc Mixed? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600309#M29196</link>
    <description>&lt;P&gt;I'm confused by your ID variable. Do you have four subjects who were each given the Treatment and Placebo? If not, each subject should get a unique&amp;nbsp; ID value 1-8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, a repeated-measures ANOVA with PROC GLM analyzes data in "wide form" and drops an entire observation when any variable in the analysis has a missing value. It can be used for "balanced" designs where each patient has the same number of repeated measurements and the measurements are taken at the same time points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If some measurements are missing, the data are called "incomplete".&amp;nbsp; A mixed-model analysis, which requires that the data be put in "long form" can handle incomplete data and also data in which the response for subjects was measured at different time points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can put the data into long form by using variables&lt;/P&gt;
&lt;P&gt;ID Treatment Time Value&lt;/P&gt;
&lt;P&gt;In your example, some IDs will have four rows, others will have only three rows.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2019 09:52:48 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-10-30T09:52:48Z</dc:date>
    <item>
      <title>Repeated ANOVA or Proc Mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600155#M29189</link>
      <description>&lt;P&gt;I am trying to compare repeated measures on a continuous variable between 2 different groups over time. So let's say the data look like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; Group&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Time Point 1&amp;nbsp; &amp;nbsp; &amp;nbsp;Time Point 2&amp;nbsp; &amp;nbsp; &amp;nbsp;Time Point 3&amp;nbsp; &amp;nbsp; &amp;nbsp;Time Point 4&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Treatment&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 97&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 92&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 90&amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Treatment&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 103&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;104&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 107&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;102&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Treatment&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;99&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;98&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 96&amp;nbsp;&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Treatment&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;92&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 96&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 99&amp;nbsp;&lt;/P&gt;&lt;P&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Control&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;95&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;94&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&amp;nbsp;&lt;/P&gt;&lt;P&gt;6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Control&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;99&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 96&amp;nbsp;&lt;/P&gt;&lt;P&gt;7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Control&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;95&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;94&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 93&lt;/P&gt;&lt;P&gt;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Control&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;89&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 88&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;85&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to compare the mean score at the different time points between the 2 groups. Notice how there might be missing data at the different time points (most people are not going to have all four time points) so I'm thinking a repeated measures ANOVA of some sort would delete a lot of the responses. What's my best option in SAS?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 19:22:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600155#M29189</guid>
      <dc:creator>Krysia24</dc:creator>
      <dc:date>2019-10-30T19:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated ANOVA or Proc Mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600197#M29193</link>
      <description>&lt;P&gt;I don't think there is a difference in how GLM and MIXED will handle the missings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the best option would be to use PROC MI to impute values for the missings, and then analyze in GLM or MIXED (your choice). But I haven't ever done this for repeated measures, maybe &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; has a suggestion here.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 22:15:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600197#M29193</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-29T22:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated ANOVA or Proc Mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600309#M29196</link>
      <description>&lt;P&gt;I'm confused by your ID variable. Do you have four subjects who were each given the Treatment and Placebo? If not, each subject should get a unique&amp;nbsp; ID value 1-8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, a repeated-measures ANOVA with PROC GLM analyzes data in "wide form" and drops an entire observation when any variable in the analysis has a missing value. It can be used for "balanced" designs where each patient has the same number of repeated measurements and the measurements are taken at the same time points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If some measurements are missing, the data are called "incomplete".&amp;nbsp; A mixed-model analysis, which requires that the data be put in "long form" can handle incomplete data and also data in which the response for subjects was measured at different time points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can put the data into long form by using variables&lt;/P&gt;
&lt;P&gt;ID Treatment Time Value&lt;/P&gt;
&lt;P&gt;In your example, some IDs will have four rows, others will have only three rows.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 09:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600309#M29196</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-30T09:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated ANOVA or Proc Mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600507#M29207</link>
      <description>&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. The ID's were supposed to be listed as 1-8.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 19:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600507#M29207</guid>
      <dc:creator>Krysia24</dc:creator>
      <dc:date>2019-10-30T19:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated ANOVA or Proc Mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600514#M29208</link>
      <description>&lt;P&gt;As a follow-up, if a lot of individuals don't have all three time points - it sounds like a mixed model (Proc Mixed) would be my best bet in order not to lose all those data. However, if I just want to study individuals who have all 3 time points (to see what they specifically look like), repeated measures ANOVA (2-factor?) can be used and will take into account treatment group vs. control as well as the time point differences?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 19:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600514#M29208</guid>
      <dc:creator>Krysia24</dc:creator>
      <dc:date>2019-10-30T19:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated ANOVA or Proc Mixed?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600518#M29209</link>
      <description>&lt;P&gt;You could do that. Be aware that if the data are not missing at random you might get biased estimates. For example, suppose the subjects that only made three appointments are lower socio-economic status than patients that made all four appointments. If poverty is linked to the response variable (such as obesity or diabetes), you could get biased estimates.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 19:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-ANOVA-or-Proc-Mixed/m-p/600518#M29209</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-30T19:48:10Z</dc:date>
    </item>
  </channel>
</rss>

