<?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 ANCOVA repeated measures in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ANCOVA-repeated-measures/m-p/422533#M22250</link>
    <description>&lt;P&gt;I would like to test if neuronal state predicts behavioral output, and if the slope of the regression changes when taking into account age group (young or elderly) and time of measurement (repeated measure: T1, T2, T3, T4, T5, T6, T7, T8, T9).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neuronal state and behavioral output are continuous variables, age group and time categorial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS manual, I found the Analysis of covariance based on GLM procedure, but was unable to indicate the repeated option, as for a PROC MIXED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which approach should I use to test this model?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;1.)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS ON ;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;GLM&lt;/STRONG&gt; DATA = TestExcit PLOTS=all;&lt;/P&gt;&lt;P&gt;CLASS group&amp;nbsp; time;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MODEL behavior = neuronal&amp;nbsp;&amp;nbsp; group&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp; group*time&amp;nbsp;&amp;nbsp;&amp;nbsp; neuronal*group*time &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/solution;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS OFF;&lt;/P&gt;&lt;P&gt;I evaluated the main factors and interactions through Type III SS., and it gave me a display of the 9 slopes for the young and the 9 slopes for the elderly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;2.)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;MIXED&lt;/STRONG&gt; DATA= TestExcit;&lt;/P&gt;&lt;P&gt;CLASS group&amp;nbsp; time&amp;nbsp; subj;&lt;/P&gt;&lt;P&gt;MODEL behavior = neuronal&amp;nbsp;&amp;nbsp; group&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp; group*time&amp;nbsp;&amp;nbsp;&amp;nbsp; neuronal*group*time &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/DDFM = KR;&lt;/P&gt;&lt;P&gt;RANDOM subj;&lt;/P&gt;&lt;P&gt;REPEATED time /TYPE =ar(&lt;STRONG&gt;1&lt;/STRONG&gt;) SUBJECT = subj GROUP= group&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LSMEANS group&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp; group*time&amp;nbsp;&amp;nbsp;&amp;nbsp; / Adjust=Tukey PDIFF CL;&lt;/P&gt;&lt;P&gt;ods output diffs=diffcm;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I evaluated the main factors and interactions through the Type III SS.; however, I am not interested in the LSMEANS output in this case (LSMESTIMATE instead?)…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feedback are welcome. Many thanks in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2017 23:15:29 GMT</pubDate>
    <dc:creator>Giul</dc:creator>
    <dc:date>2017-12-19T23:15:29Z</dc:date>
    <item>
      <title>ANCOVA repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ANCOVA-repeated-measures/m-p/422533#M22250</link>
      <description>&lt;P&gt;I would like to test if neuronal state predicts behavioral output, and if the slope of the regression changes when taking into account age group (young or elderly) and time of measurement (repeated measure: T1, T2, T3, T4, T5, T6, T7, T8, T9).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neuronal state and behavioral output are continuous variables, age group and time categorial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS manual, I found the Analysis of covariance based on GLM procedure, but was unable to indicate the repeated option, as for a PROC MIXED.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which approach should I use to test this model?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;1.)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS ON ;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;GLM&lt;/STRONG&gt; DATA = TestExcit PLOTS=all;&lt;/P&gt;&lt;P&gt;CLASS group&amp;nbsp; time;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MODEL behavior = neuronal&amp;nbsp;&amp;nbsp; group&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp; group*time&amp;nbsp;&amp;nbsp;&amp;nbsp; neuronal*group*time &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/solution;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ODS GRAPHICS OFF;&lt;/P&gt;&lt;P&gt;I evaluated the main factors and interactions through Type III SS., and it gave me a display of the 9 slopes for the young and the 9 slopes for the elderly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;2.)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;MIXED&lt;/STRONG&gt; DATA= TestExcit;&lt;/P&gt;&lt;P&gt;CLASS group&amp;nbsp; time&amp;nbsp; subj;&lt;/P&gt;&lt;P&gt;MODEL behavior = neuronal&amp;nbsp;&amp;nbsp; group&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp; group*time&amp;nbsp;&amp;nbsp;&amp;nbsp; neuronal*group*time &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/DDFM = KR;&lt;/P&gt;&lt;P&gt;RANDOM subj;&lt;/P&gt;&lt;P&gt;REPEATED time /TYPE =ar(&lt;STRONG&gt;1&lt;/STRONG&gt;) SUBJECT = subj GROUP= group&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LSMEANS group&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp; group*time&amp;nbsp;&amp;nbsp;&amp;nbsp; / Adjust=Tukey PDIFF CL;&lt;/P&gt;&lt;P&gt;ods output diffs=diffcm;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I evaluated the main factors and interactions through the Type III SS.; however, I am not interested in the LSMEANS output in this case (LSMESTIMATE instead?)…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feedback are welcome. Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 23:15:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ANCOVA-repeated-measures/m-p/422533#M22250</guid>
      <dc:creator>Giul</dc:creator>
      <dc:date>2017-12-19T23:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: ANCOVA repeated measures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ANCOVA-repeated-measures/m-p/423480#M22287</link>
      <description>&lt;P&gt;you may want a random coefficients model. A random coefficients model is useful when the relationship of the measurement with time is of interest, as it seems to be here. You would use the random statement in proc mixed ie "random int time / subject=patient type=UN". This is my sense of it anyway. I'd recommend brown &amp;amp; prescott's book: applied mixed models in medicine, or the book 'sas for mixed models' likely covers it&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2017 14:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ANCOVA-repeated-measures/m-p/423480#M22287</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2017-12-24T14:06:48Z</dc:date>
    </item>
  </channel>
</rss>

