<?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: proc mixed - repated measure model - impact of variables order in model and class statements in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257559#M13624</link>
    <description>&lt;P&gt;Thank&amp;nbsp;you very much, I did not know it could be also like this with SPSS or any other software. I just noticed this&amp;nbsp;when using&amp;nbsp;SAS recently. Ok thanks I will investigate this issue more deeply using your advice.&lt;/P&gt;&lt;P&gt;Happy to hear any other experience here.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2016 10:43:24 GMT</pubDate>
    <dc:creator>bambrosi</dc:creator>
    <dc:date>2016-03-18T10:43:24Z</dc:date>
    <item>
      <title>proc mixed - repated measure model - impact of variables order in model and class statements</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257255#M13597</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a repeated measures model with proc mixed&amp;nbsp;is run with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;mixed&lt;/STRONG&gt; data=data plots=none method=reml;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class treat sex age&amp;nbsp;visit subject;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model chg=treat sex age visit &lt;FONT color="#ff0000"&gt;base &lt;/FONT&gt;/ solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; repeated visit / type=un sub=subject(treat ) rcorr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lsmeans treat *visit / slice=visit cl e diff;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the same repeated measures model is run with a different order of variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;mixed&lt;/STRONG&gt; data=data plots=none method=reml;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class treat sex age visit subject;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model chg=&lt;FONT color="#ff0000"&gt;base &lt;/FONT&gt;treat sex age visit / solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; repeated visit / type=un sub=subject(treat ) rcorr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lsmeans treat *visit / slice=visit cl e diff;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results are not exactly the same. Any explanation of this? Would there be any guidance to define an ideal order of variables? SAS helps seems to suggest effects with more importance first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_mixed_sect028.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_mixed_sect028.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Rearranging effects in the &lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_mixed_sect015.htm" target="_blank"&gt;MODEL&lt;/A&gt; statement so that the most significant ones are first can help, because PROC MIXED sweeps the estimate of &lt;IMG border="0" alt="" src="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/statug_mixed0652.png" /&gt; in the order of the MODEL effects and the sweep is more stable if larger pivots are dealt with first. If this does not help, specifying starting values with the &lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_mixed_sect016.htm" target="_blank"&gt;PARMS&lt;/A&gt; statement can place the optimization on a different and possibly more stable path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 11:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257255#M13597</guid>
      <dc:creator>bambrosi</dc:creator>
      <dc:date>2016-03-17T11:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed - repated measure model - impact of variables order in model and class statements</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257472#M13620</link>
      <description>&lt;P&gt;Use any measure of influence you like to pick importance order. And then test the result with different orders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not unique to Proc Mixed repeated measures or even to SAS. I first ran into this with modeling procedures in SPSS. Our household rule when using the procedure, which I can't remember the name of since it has been 12 or more years now, was to move the most "influential" variable of the model to the last position in the model statement and see if it retained its influence or if it was even still statistically significant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why? Order of operations and the algorithm has to start somewhere, so some of the process is done in the order of the varaible appearance. Since there could be significant "cost" in terms of performance the internal process doesn't do all permutations of the variables to get "ideal" solution. Of course defining "ideal" might be challenge all by itself. If I get different r-squares, for example, using a different order of variables then which is the correct r-square to actually use?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 22:22:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257472#M13620</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-17T22:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc mixed - repated measure model - impact of variables order in model and class statements</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257559#M13624</link>
      <description>&lt;P&gt;Thank&amp;nbsp;you very much, I did not know it could be also like this with SPSS or any other software. I just noticed this&amp;nbsp;when using&amp;nbsp;SAS recently. Ok thanks I will investigate this issue more deeply using your advice.&lt;/P&gt;&lt;P&gt;Happy to hear any other experience here.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 10:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mixed-repated-measure-model-impact-of-variables-order-in/m-p/257559#M13624</guid>
      <dc:creator>bambrosi</dc:creator>
      <dc:date>2016-03-18T10:43:24Z</dc:date>
    </item>
  </channel>
</rss>

