<?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 Why does changing covariance structure radically change the standard error of the fixed effects? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Why-does-changing-covariance-structure-radically-change-the/m-p/451880#M23606</link>
    <description>&lt;DIV class="post-text"&gt;&lt;P&gt;Using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;16 animals were randomly assigned to two treatments (control and treatment). Each animal had its level on the dependent variable measured 24 times over the course of the day. For each animal, these numbers vary wildly, from 0 into the thousands, with no strong correlations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interest is in whether the two treatments are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compared three models:&lt;/P&gt;&lt;P&gt;a) T-test on total activity level&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data = wide;
 class group;
 var total;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) A multilevel model with unstructured covariances&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "MLM for day 1, unstructured covariance, only group entered";
proc mixed data = long;
 class group mouse_id;
 model act = group/solution;
 repeated/type = un subject = mouse_id;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;c) A multilevel model with AR(1) covariances&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "MLM for day 1, AR1 covariance, only group entered";
proc mixed data = long;
 class group mouse_id;
 model act = group/solution;
 repeated/type = ar(1) subject = mouse_id;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;c) Had slightly better AIC and BIC than b).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The effect size of group was roughly equal across all three models (after accounting for the fact that the t-test was on 24 values added up) but the standard errors for b) and c) were wildly different. b) Was significant, a) and c) were not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the past, I've not seen such huge changes in the standard errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts on why this might occur and what to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: It's the same data, just one in long format and one in wide format.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 06 Apr 2018 14:37:49 GMT</pubDate>
    <dc:creator>plf515</dc:creator>
    <dc:date>2018-04-06T14:37:49Z</dc:date>
    <item>
      <title>Why does changing covariance structure radically change the standard error of the fixed effects?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-does-changing-covariance-structure-radically-change-the/m-p/451880#M23606</link>
      <description>&lt;DIV class="post-text"&gt;&lt;P&gt;Using SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;16 animals were randomly assigned to two treatments (control and treatment). Each animal had its level on the dependent variable measured 24 times over the course of the day. For each animal, these numbers vary wildly, from 0 into the thousands, with no strong correlations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interest is in whether the two treatments are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compared three models:&lt;/P&gt;&lt;P&gt;a) T-test on total activity level&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data = wide;
 class group;
 var total;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) A multilevel model with unstructured covariances&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "MLM for day 1, unstructured covariance, only group entered";
proc mixed data = long;
 class group mouse_id;
 model act = group/solution;
 repeated/type = un subject = mouse_id;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;c) A multilevel model with AR(1) covariances&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "MLM for day 1, AR1 covariance, only group entered";
proc mixed data = long;
 class group mouse_id;
 model act = group/solution;
 repeated/type = ar(1) subject = mouse_id;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;c) Had slightly better AIC and BIC than b).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The effect size of group was roughly equal across all three models (after accounting for the fact that the t-test was on 24 values added up) but the standard errors for b) and c) were wildly different. b) Was significant, a) and c) were not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the past, I've not seen such huge changes in the standard errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts on why this might occur and what to do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: It's the same data, just one in long format and one in wide format.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:37:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-does-changing-covariance-structure-radically-change-the/m-p/451880#M23606</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2018-04-06T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why does changing covariance structure radically change the standard error of the fixed effects?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-does-changing-covariance-structure-radically-change-the/m-p/451899#M23607</link>
      <description>&lt;P&gt;There's not much we can say since we don't have your data, and you have changed the data sets from one analysis to another anyway (not even sure how you can compare different data sets in this way).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But ... if you fit a model with the wrong covariance structure (which doesn't match the data), I can understand why the model doesn't fit well and the standard errors are large.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-does-changing-covariance-structure-radically-change-the/m-p/451899#M23607</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-06T14:22:42Z</dc:date>
    </item>
  </channel>
</rss>

