<?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: Mixed models for correlated repeated measurement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852501#M42186</link>
    <description>&lt;P&gt;The Kronecker product structures on the REPEATED statement might be helpful here. Look into TYPE=UN@AR(1) or &lt;A href="mailto:UN@UN" target="_blank"&gt;UN@UN&lt;/A&gt;. These structures set up an unstructured correlation across the two BP series and then either AR(1) or UN within a series. Alternatively, another common approach is to use the REPEATED statement to model correlation within one of the BP measures (using TYPE=AR(1) or UN or whatever you would like with SUBJECT=BP*PATIENT) and then adding correlation for all observations from the same subject through a RANDOM statement (random int / subject=patient).&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 14:00:23 GMT</pubDate>
    <dc:creator>StatsMan</dc:creator>
    <dc:date>2023-01-06T14:00:23Z</dc:date>
    <item>
      <title>Mixed models for correlated repeated measurement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852240#M42177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to analyze&amp;nbsp;correlated repeated measurements (e.g. systolic blood pressure and diastolic blood pressure) with proc MIXED.&lt;/P&gt;
&lt;P&gt;I want to analyze both outcomes simultaneously and consider the correlation between variables as that between random effects (random intercepts for each variable).&lt;/P&gt;
&lt;P&gt;How should I specify the repeated statement (especially subject= option)?&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an example of the data and code that I want to implement .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data bp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;do id=1 to 100;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;do bp=1 to 2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do visit=0 to 4;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; input aval @@;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; output;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;180 165 155 150 140&lt;/P&gt;
&lt;P&gt;110 95 90 85 80&lt;/P&gt;
&lt;P&gt;185 175 160 150 135&lt;/P&gt;
&lt;P&gt;110 90 85 85 80&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;int1=(bp=1);&lt;/P&gt;
&lt;P&gt;int2=(bp=2);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mixed data=bp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;class id bp visit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;model aval = bp*visit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;random int1 int2 / type=un subject=id G;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;repeated visit / type=un subject=id R;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 08:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852240#M42177</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2023-01-05T08:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed models for correlated repeated measurement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852252#M42179</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-effect-in-Proc-Mixed/m-p/413708#M21713" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Repeated-and-Random-effect-in-Proc-Mixed/m-p/413708#M21713&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS026-2014.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings14/SAS026-2014.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 11:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852252#M42179</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-05T11:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed models for correlated repeated measurement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852429#M42182</link>
      <description>&lt;P&gt;Sorry, there is a typo in the description of repeated statement. I specified the repeated statement as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;repeated bp*visit / type=un subject=id R;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 02:12:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852429#M42182</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2023-01-06T02:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed models for correlated repeated measurement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852501#M42186</link>
      <description>&lt;P&gt;The Kronecker product structures on the REPEATED statement might be helpful here. Look into TYPE=UN@AR(1) or &lt;A href="mailto:UN@UN" target="_blank"&gt;UN@UN&lt;/A&gt;. These structures set up an unstructured correlation across the two BP series and then either AR(1) or UN within a series. Alternatively, another common approach is to use the REPEATED statement to model correlation within one of the BP measures (using TYPE=AR(1) or UN or whatever you would like with SUBJECT=BP*PATIENT) and then adding correlation for all observations from the same subject through a RANDOM statement (random int / subject=patient).&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-models-for-correlated-repeated-measurement/m-p/852501#M42186</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2023-01-06T14:00:23Z</dc:date>
    </item>
  </channel>
</rss>

