<?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 measures question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115202#M6052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That model ought to be interpretable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 12:51:38 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-02-21T12:51:38Z</dc:date>
    <item>
      <title>repeated measures question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115199#M6049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could I please ask if someone could shed some light on this repeated measures question whether I'm doing it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dataset has 3 variables of interest.&lt;/P&gt;&lt;P&gt;1) Intervention: A, B, C and D&lt;/P&gt;&lt;P&gt;2) ExperimentNo: 1,2,3 and 4&lt;/P&gt;&lt;P&gt;3) Concentration: the dependent variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are different numbers of Concentration for each pair of Intervention*ExperimentNo i.e. A1 has 300, B1 has 500, C4 has 150 etc. I'm interested in comparing the effect of Intervention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the Clustered Data Example in the SAS Help &amp;amp; Documentation and tried the below model but it didn't converge which I don't understand why. I was thinking to take into account the concentration measurements from the same Intervention as well as those from the same level of Intervention*ExperimentNo.&lt;/P&gt;&lt;P&gt;proc mixed data=tmp order=internal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Intervention ExperimentNo:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Concentration=Intervention / solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random Intervention Intervention*ExperimentNo: ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas, this one below runs with no problem.&lt;/P&gt;&lt;P&gt;proc mixed data=tmp order=internal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Intervention experimentNum;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Concentration=Intervention / solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random Intervention*ExperimentNo: ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsmeans Intervention / cl e om pdiff=control('A');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your insight is greatly appreciated! Have a good day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 23:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115199#M6049</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2013-02-19T23:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: repeated measures question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115200#M6050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even though the latter may run, I don't think it is doing what you think it may be.&amp;nbsp; The CLASS variable is 'experimentNum' while what is in the random statement is 'ExperimentNo'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed data=tmp order=internal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Intervention experimentNo subjectid;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Concentration=Intervention ExperimentNo Intervention*ExperimentNo / solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; repeated ExperimentNo/type=cs subject=subjectid(Intervention): ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lsmeans Intervention /diff=contro('A');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slice Intervention*ExperimentNo/ sliceby=ExperimentNo diff=control('A') ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the addition of subjectid.&amp;nbsp; This should be available as the subject progresses from experiment 1 to 2 to 3 to 4.&amp;nbsp; Now if there is no subject that does this, we need to recast the analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if this works for your design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 16:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115200#M6050</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-02-20T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: repeated measures question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115201#M6051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve. Thanks so much for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there isn't &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;subjectid or any sort. &lt;/SPAN&gt;That &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;experimentNum&lt;/SPAN&gt;/&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;experimentN&lt;/SPAN&gt;o was a typo for the last model, my apology. It was meant to be &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;experimentN&lt;/SPAN&gt;o. Would you think the second model ok for interpretation in my case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated!! Have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 23:48:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115201#M6051</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2013-02-20T23:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: repeated measures question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115202#M6052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That model ought to be interpretable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:51:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/repeated-measures-question/m-p/115202#M6052</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-02-21T12:51:38Z</dc:date>
    </item>
  </channel>
</rss>

