<?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: effect size and confidence intervals in proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826284#M40923</link>
    <description>&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;thank you very much for your response to my query. The CL option in the model indeed provides what i need for the specific interaction effect of interest (conditionX time), but I wonder why i get different results for the interaction, depending on whether i specify or not the CL option. I attach the screen shot of the results I obtain with the CL option as well as without. I am obviously missing something silly.&lt;/P&gt;&lt;P&gt;Can you elucidate what I am missing?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Emanuele&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Results with CL solution.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73910i5B809C5270E9B01F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Results with CL solution.png" alt="Results with CL solution.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Basic results (without asking for CL).png" style="width: 726px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73909i7E0A3FD168C08467/image-size/large?v=v2&amp;amp;px=999" role="button" title="Basic results (without asking for CL).png" alt="Basic results (without asking for CL).png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2022 15:17:44 GMT</pubDate>
    <dc:creator>emaneman</dc:creator>
    <dc:date>2022-07-30T15:17:44Z</dc:date>
    <item>
      <title>effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/824320#M40832</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am using PROC MIXED to analyze data from a cluster-randomized control trial, in which I am chiefly interested in the interaction effect between a manipulation (CONDITION - a between-subject factor) and TIME (within-subject factor) - I am also adding TYPE, SEXY AND AGE as fixed factors, and I include two nested random effects: CLASS(SCHOOL) and SCHOOL(LOCATION); and one additional random effect: LOCATION. The syntax is included.&lt;/P&gt;&lt;P&gt;A reviewer of the paper is asking me to provide effect size and confidence interval for the critical interaction effect (CONDITION X TIME), as well as for other main effects. I have searched how to obtain this in PROC MIXED, but with little success. I have found the article by&amp;nbsp;&lt;SPAN&gt;Selya et al. (2012, Frontiers), but it is not of much help in this case.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc mixed ;
class id cond school class location sex time type;
model casso= 	condition|type|time|sex|ageyears   ;
repeated / subject=id type=cs;
Random intercept  /subject=class(school);
Random intercept  /subject=school(location);
Random intercept  /subject=location;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jul 2022 10:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/824320#M40832</guid>
      <dc:creator>emaneman</dc:creator>
      <dc:date>2022-07-20T10:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/825908#M40902</link>
      <description>&lt;P&gt;One of the difficulties in finding effect size calculations in mixed models is that there is very little agreement on how to calculate them, and if they are meaningful at all when there are multiple variance components (i.e. it is difficult to calculate a pooled standard deviation to use, when that may depend on which class, school and location are utilized.).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Confidence bounds on parameters are easy enough, just add CL to the MODEL statement.&amp;nbsp; Confidence bounds on the difference between conditional means is a bit harder.&amp;nbsp; You'll need to use an LSMESTIMATE statement with a CL option, and correctly specify the means you are interested in.&amp;nbsp; That would be easier in GLIMMIX where there is a SLICEDIFF option for the LSMEANS statement, thus enabling to compare between levels of a factor of interest at each level of some other factor or combination of factors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 12:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/825908#M40902</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-07-28T12:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826284#M40923</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;&lt;P&gt;thank you very much for your response to my query. The CL option in the model indeed provides what i need for the specific interaction effect of interest (conditionX time), but I wonder why i get different results for the interaction, depending on whether i specify or not the CL option. I attach the screen shot of the results I obtain with the CL option as well as without. I am obviously missing something silly.&lt;/P&gt;&lt;P&gt;Can you elucidate what I am missing?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Emanuele&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Results with CL solution.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73910i5B809C5270E9B01F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Results with CL solution.png" alt="Results with CL solution.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Basic results (without asking for CL).png" style="width: 726px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73909i7E0A3FD168C08467/image-size/large?v=v2&amp;amp;px=999" role="button" title="Basic results (without asking for CL).png" alt="Basic results (without asking for CL).png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 15:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826284#M40923</guid>
      <dc:creator>emaneman</dc:creator>
      <dc:date>2022-07-30T15:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826285#M40924</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/208370"&gt;@emaneman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I wonder why i get different results for the interaction, depending on whether i specify or not the CL option. I attach the screen shot of the results I obtain with the CL option as well as without. I am obviously missing something silly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The table entitled "Solution for Fixed Effects" and the table entitled "Type 3 Tests of Fixed Effects" test different things — the "Solution for Fixed Effects" produces a t-test that the fixed effect is zero, while the "Type 3 Tests" are F-tests that tests if all levels of the interaction are equal to one another. These are not the same test, and don't have to match (although in the case where an interaction has only 1 df I believe the Pr&amp;gt;F will match and in this case it does).&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 15:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826285#M40924</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-30T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826286#M40925</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I am back to the issue that the reviewer wants me to provide Confidence Interval for theType 3 Tests of Fixed Effects...&amp;nbsp; Is there a way to estimate the same model with PROG GLM, instead of PROC MIXED as I am currently doing (with the random factors as well)? i have tried, but do not seem to make it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 15:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826286#M40925</guid>
      <dc:creator>emaneman</dc:creator>
      <dc:date>2022-07-30T15:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826287#M40926</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;the reviewer wants me to provide Confidence Interval for theType 3 Tests of Fixed Effects&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Type III tests of Fixed Effects are an F-test which follow an F-distribution, so I suppose it is theoretically possible to produce confidence intervals of the F-test value using the F-distribution, but I don't think PROC MIXED does that (but you could program it yourself in a SAS data step if you really want it). Furthermore, I think either you or the reviewer is confused, the confidence intervals you do want are on the Fixed effects, not on the Type 3 tests. In all my years of reading about and performing this type of modeling via PROC GLM or PROC MIXED, I cannot ever remember seeing in published papers (nor in my own work) the confidence interval on the F-test value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the meaningful thing is the confidence interval on the Fixed Effect estimates (which you have in the table). By the way the Fixed Effect parameter estimates are not Type III estimates, they are simply parameter estimates as the term Type III does not apply to parameter estimates. The Type III refers to the sum-of-squares and not to the parameter estimates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Is there a way to estimate the same model with PROG GLM, instead of PROC MIXED as I am currently doing (with the random factors as well)? i have tried, but do not seem to make it work.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In some cases PROC GLM and PROC MIXED should provide the same results; in other cases they will not provide the same results. The question however is meaningless, as you can't get Type III estimates out of either, the "Type III" does not apply to parameter estimates.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 16:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826287#M40926</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-30T16:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: effect size and confidence intervals in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826319#M40930</link>
      <description>&lt;P&gt;Hello and thank you again for your further comments!&lt;/P&gt;&lt;P&gt;Emanuele&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2022 10:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/effect-size-and-confidence-intervals-in-proc-mixed/m-p/826319#M40930</guid>
      <dc:creator>emaneman</dc:creator>
      <dc:date>2022-07-31T10:13:29Z</dc:date>
    </item>
  </channel>
</rss>

