<?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: solution vs Type3 for fixed effects in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923181#M45879</link>
    <description>&lt;P&gt;These two test different hypotheses, so they do not have to agree!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Solution for Fixed effects tests to see if the Estimate is equal to zero. In both cases the p-value is &amp;lt;0.0001 which indicates these estimates are statistically different from zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Type 3 test is a test to see if the two levels of TDIABETES are equal to one another (or that the values 77.835 and 83.1827 are equal to one another). They are not equal with alpha = 0.05 (or p-value 0.0036)&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 14:26:36 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2024-04-05T14:26:36Z</dc:date>
    <item>
      <title>PROC MIXED: solution vs Type3 for fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923162#M45878</link>
      <description>&lt;P&gt;Dear SAS programmers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about MIXED procedure. I apply the MIXED to a longitudinal study, where mental health scores were measured for each patinent 7 times, with an interval of about 1 year. So, patient is my random intercept and time is my random slope in this model. I also include covaraites, such as if patient earlier (before inclusion in the study) had diabetes ("tdiabetes" variables) or if they earlier had storke ("tslag" variable). I have many more covariates, but for asking the quesiton I simplified the model to just 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the procedure:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc mixed data=ecs_models4 empirical;
class id timeclass 
	tdiabetes tslag / ref=first;

model ecs=
  tdiabetes tslag / noint solution corrb e3;
random intercept time_num/ type=un subject=id g v;
repeated timeclass/ type=simple subject=id r;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the output, I get a Solution for Fixed effects table and Type3 effects table (both are attached below). What I don't understand is why in the Solution table, the first class variables (here it is TDIABETES) has estimated for each level, 1 and 0, rather than an estimate for level 1 in reference to estimate at level 0, as for TSLAG variable?&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="solution.png" style="width: 528px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95239i8618BDD8267AD34C/image-size/large?v=v2&amp;amp;px=999" role="button" title="solution.png" alt="solution.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="type3.png" style="width: 275px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95240iB3C1014528999517/image-size/large?v=v2&amp;amp;px=999" role="button" title="type3.png" alt="type3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is confusing for me also because for TDIABETES Solution and Type3 results are not the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody provide a little hint to understanding this output of MIXED? Is there anything wrong in my model setup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 12:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923162#M45878</guid>
      <dc:creator>marina_unn</dc:creator>
      <dc:date>2024-04-05T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: solution vs Type3 for fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923181#M45879</link>
      <description>&lt;P&gt;These two test different hypotheses, so they do not have to agree!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Solution for Fixed effects tests to see if the Estimate is equal to zero. In both cases the p-value is &amp;lt;0.0001 which indicates these estimates are statistically different from zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Type 3 test is a test to see if the two levels of TDIABETES are equal to one another (or that the values 77.835 and 83.1827 are equal to one another). They are not equal with alpha = 0.05 (or p-value 0.0036)&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 14:26:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923181#M45879</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-04-05T14:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: solution vs Type3 for fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923187#M45880</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/458221"&gt;@marina_unn&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it's just the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_syntax10.htm#statug.mixed.modelstmt_noint" target="_blank" rel="noopener"&gt;NOINT option&lt;/A&gt; which causes this effect. For subjects with both CLASS effects at their reference levels, i.e., TDIABETES=TSLAG=0, the response variable (ECS) will usually not happen to be zero. Without the NOINT option the estimated non-zero amount would go into the &lt;EM&gt;intercept&lt;/EM&gt;, while the contributions of both model variables are zero. With the NOINT option, however, PROC MIXED pushes it into the coefficient of the reference category of the first CLASS variable in the MODEL statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this toy example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input c y;
cards;
0 1
1 2
1 3
;

proc mixed data=have;
class c;
model y=c / /* noint */ solution;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The (2+3)/2=2.5 moves from the intercept to the coefficient of reference level c=1 (default is REF=LAST) when the NOINT option is activated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 14:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923187#M45880</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-04-05T14:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: solution vs Type3 for fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923277#M45881</link>
      <description>I think Type3 Tests of Fixed Effects is to check if this variable is significant(P&amp;lt;0.05) or not  in model.</description>
      <pubDate>Sat, 06 Apr 2024 06:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923277#M45881</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-04-06T06:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: solution vs Type3 for fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923369#M45887</link>
      <description>&lt;P&gt;Many thanks,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;for the explanation about NOINT option.&lt;/P&gt;&lt;P&gt;I will consider if I need this option at all in my model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp; you know any literature or SAS guides that explain when NOINT option makes most sense, please let me know. The MIXED procedure help pages do not explain much, unfortunately.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 08:05:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-solution-vs-Type3-for-fixed-effects/m-p/923369#M45887</guid>
      <dc:creator>marina_unn</dc:creator>
      <dc:date>2024-04-08T08:05:53Z</dc:date>
    </item>
  </channel>
</rss>

