<?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 Which type to choose for repeated measures with unequal time interval in PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/610422#M29548</link>
    <description>&lt;P&gt;Hey guys, I have a question in PROC MIXED. I am analysing a dataset with several participants who have been tested four times with various time intervals. The demo dataset is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA demo;&lt;/P&gt;&lt;P&gt;&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; INPUT ID $ sex $ group $ time DV IV1 IV2 IV3 ;&lt;/P&gt;&lt;P&gt;&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; DATALINES;&lt;/P&gt;&lt;P&gt;001 1 A 10 10 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;001 1 A 30 10 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;001 1 A 60 12 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;001 1 A 80 13 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;002 0 B 15 8 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;002 0 B 30 7 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;002 0 B 50 10 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;002 0 B 75 11 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;003 1 B 18 10 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;003 1 B 32 11 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;003 1 B 55 11 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;003 1 B 80 14 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values of DV are measured four times while the time intervals vary with paticipants. The IV1, IV2 and IV3 are values of independent variables at baseline level.&lt;/P&gt;&lt;P&gt;I would like to analysis the effect of time and baseline IV (separately) on DV while control for sex and group, and I assume there is a random effect of participant and time.Therefore, I use the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;MIXED&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = demo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; ID sex group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; DV = IV1 time group|sex / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SOLUTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; intercept time / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = VC &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;=SP(POW)(time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;MIXED&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = demo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; ID sex group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; DV = IV2 time group|sex / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SOLUTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; intercept time / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = VC &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;=SP(POW)(time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;MIXED&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = demo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; ID sex group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; DV = IV3 time group|sex / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SOLUTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; intercept time / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = VC &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;=SP(POW)(time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;in the &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt; and &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt; statement, how can I decide which TYPE should be used?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;when I use the above codes, from the results, I find that the Estimate of time is the same in IV1, IV2 and IV3, but the Estimates of IVs are changed. Is that normal? Is that because I choose a wrong &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;? Or should I add quadratic or cubic time? If so, how do I know whether to add quadratic and cubic time or not?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 09:40:09 GMT</pubDate>
    <dc:creator>L_HE</dc:creator>
    <dc:date>2019-12-09T09:40:09Z</dc:date>
    <item>
      <title>Which type to choose for repeated measures with unequal time interval in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/610422#M29548</link>
      <description>&lt;P&gt;Hey guys, I have a question in PROC MIXED. I am analysing a dataset with several participants who have been tested four times with various time intervals. The demo dataset is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA demo;&lt;/P&gt;&lt;P&gt;&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; INPUT ID $ sex $ group $ time DV IV1 IV2 IV3 ;&lt;/P&gt;&lt;P&gt;&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; DATALINES;&lt;/P&gt;&lt;P&gt;001 1 A 10 10 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;001 1 A 30 10 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;001 1 A 60 12 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;001 1 A 80 13 0.4 0.6 0.7&lt;/P&gt;&lt;P&gt;002 0 B 15 8 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;002 0 B 30 7 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;002 0 B 50 10 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;002 0 B 75 11 0.5 0.7 0.5&lt;/P&gt;&lt;P&gt;003 1 B 18 10 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;003 1 B 32 11 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;003 1 B 55 11 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;003 1 B 80 14 0.3 0.5 0.8&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values of DV are measured four times while the time intervals vary with paticipants. The IV1, IV2 and IV3 are values of independent variables at baseline level.&lt;/P&gt;&lt;P&gt;I would like to analysis the effect of time and baseline IV (separately) on DV while control for sex and group, and I assume there is a random effect of participant and time.Therefore, I use the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;MIXED&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = demo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; ID sex group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; DV = IV1 time group|sex / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SOLUTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; intercept time / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = VC &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;=SP(POW)(time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;MIXED&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = demo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; ID sex group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; DV = IV2 time group|sex / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SOLUTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; intercept time / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = VC &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;=SP(POW)(time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;PROC&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;MIXED&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = demo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;CLASS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; ID sex group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;MODEL&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; DV = IV3 time group|sex / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SOLUTION&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; intercept time / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = VC &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; / &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;SUBJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt; = ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;=SP(POW)(time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: navy; background: white none repeat scroll 0% 0%;"&gt;RUN&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; line-height: 107%; font-family: 'Times New Roman',serif; color: black; background: white none repeat scroll 0% 0%;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;in the &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;RANDOM&lt;/SPAN&gt; and &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;REPEATED&lt;/SPAN&gt; statement, how can I decide which TYPE should be used?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;when I use the above codes, from the results, I find that the Estimate of time is the same in IV1, IV2 and IV3, but the Estimates of IVs are changed. Is that normal? Is that because I choose a wrong &lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman',serif; color: blue; background: white none repeat scroll 0% 0%;"&gt;TYPE&lt;/SPAN&gt;? Or should I add quadratic or cubic time? If so, how do I know whether to add quadratic and cubic time or not?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 09:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/610422#M29548</guid>
      <dc:creator>L_HE</dc:creator>
      <dc:date>2019-12-09T09:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Which type to choose for repeated measures with unequal time interval in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/610843#M29567</link>
      <description>&lt;P&gt;1. Matrix structure is selected using a combination of judgment and fit. Judgment because some types are inappropriate for certain conditions (i.e., autoregressive structures may not be appropriate for unequal intervals) and fit because part of modeling is determining the structure that best suits your observed data. Here is a good review of selecting a structure:&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/198-30.pdf" target="_self"&gt;https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/198-30.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If the estimate of time is stable regardless of which covariates you introduce, this probably just means that time and your covariates are not explaining the same variance in the DV. I am unsure why this would lead you to wonder about polynomials of time; you should rely on your exploratory data analysis (and model fit diagnostics) to tell you about whether that is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 21:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/610843#M29567</guid>
      <dc:creator>seeff</dc:creator>
      <dc:date>2019-12-10T21:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Which type to choose for repeated measures with unequal time interval in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/613816#M29664</link>
      <description>&lt;P&gt;Hi Seeff,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The pdf file is very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About the second question, I had the confusion because I would expect an interaction between the IV and the time. That's why I was surprised when the coefficient of time remained consistent. However, I could not add the IV*time term because both of them are continuous variables.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2019 12:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/613816#M29664</guid>
      <dc:creator>L_HE</dc:creator>
      <dc:date>2019-12-25T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Which type to choose for repeated measures with unequal time interval in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/614609#M29672</link>
      <description>&lt;P&gt;Hm, I don't follow. Your original question was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I find that the Estimate of time is the same in IV1, IV2 and IV3, but the Estimates of IVs are changed. Is that normal?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I took this question to mean you were referring to the estimates of the fixed effects of IV and time (the rest of what I write is predicated on that). But, then you typed this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I had the confusion because I would expect an interaction between the IV and the time. That's why I was surprised when the coefficient of time remained consistent. However, I could not add the IV*time term because both of them are continuous variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no restriction on interactions among continuous variables in generalized linear models; there is no problem with adding a continuous*continuous term as a fixed effect. Are you trying to put this effect in the REPEATED line, by chance (I cannot see *why* you'd do that, but it would throw the error that only class level variables are allowed).&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 18:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-type-to-choose-for-repeated-measures-with-unequal-time/m-p/614609#M29672</guid>
      <dc:creator>seeff</dc:creator>
      <dc:date>2019-12-31T18:40:56Z</dc:date>
    </item>
  </channel>
</rss>

