<?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: Inconsistency Between Type 3 Test and Pairwise Comparisons in PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944651#M47195</link>
    <description>&lt;P&gt;Overall tests use different logic and different math and answer different questions than the pairwise test. There is no reason to expect that the results will be consistent 100% of the time. Some of the time they will be consistent, other times they will not be consistent.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 18:57:30 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2024-09-19T18:57:30Z</dc:date>
    <item>
      <title>Inconsistency Between Type 3 Test and Pairwise Comparisons in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944623#M47192</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm encountering inconsistencies in results between Type 3 Tests of Fixed Effects and pairwise comparisons when using &lt;STRONG&gt;proc mixed&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My &lt;STRONG&gt;dataset&lt;/STRONG&gt; consists of 5 subjects, each measured at 3 different time points. There are 15 observations in total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fitting a &lt;STRONG&gt;linear mixed-effects model&lt;/STRONG&gt; to examine mean value differences among three groups. The Type 3 Test indicates a significant difference among at least one pair of groups (P-value = 0.0028), but none of the pairwise comparisons show significance (their p-values are 0.2096, 0.7895, and 0.8126). This discrepancy is puzzling to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;variance-covariance structure&lt;/STRONG&gt;, I've chosen the UN over CS and TOEP based on assumptions and AIC, but this inconsistency is specific to UN only and not observed with CS or TOEP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my SAS code. Any insights into this issue would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data=data plots=residualpanel;&lt;BR /&gt;class id group;&lt;BR /&gt;model outcome = group / s cl residual;&lt;BR /&gt;repeated group / subject=id type=UN r rcorr;&lt;BR /&gt;lsmeans group / cl diff;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 16:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944623#M47192</guid>
      <dc:creator>Yui_1122</dc:creator>
      <dc:date>2024-09-19T16:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistency Between Type 3 Test and Pairwise Comparisons in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944624#M47193</link>
      <description>&lt;P&gt;This was discussed a few days ago here in the SAS Communities.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Proc-Glimmix-Type-III-test-and-LSMeans-do-not-agree/td-p/147046" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Procedures/Proc-Glimmix-Type-III-test-and-LSMeans-do-not-agree/td-p/147046&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 16:41:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944624#M47193</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-09-19T16:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistency Between Type 3 Test and Pairwise Comparisons in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944637#M47194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Paige,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your prompt reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, my question differs from the one in the link you shared. In that case, the person observed both a significant Type 3 effect and confidence interval for one of the pairwise comparisons, which seems consistent. In my situation, I have only 3 groups, and I used LSMEANS for pairwise comparisons along with the Type 3 p-value. While the overall test result is significant, none of the 3 pairwise comparisons are. Additionally, my sample size is too small (n=15) to adjust for any interaction term. Moreover, my question is more focused on the discrepancies that arise from selecting different variance-covariance structures.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 18:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944637#M47194</guid>
      <dc:creator>Yui_1122</dc:creator>
      <dc:date>2024-09-19T18:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistency Between Type 3 Test and Pairwise Comparisons in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944651#M47195</link>
      <description>&lt;P&gt;Overall tests use different logic and different math and answer different questions than the pairwise test. There is no reason to expect that the results will be consistent 100% of the time. Some of the time they will be consistent, other times they will not be consistent.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 18:57:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944651#M47195</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-09-19T18:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistency Between Type 3 Test and Pairwise Comparisons in PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944691#M47197</link>
      <description>That is two total different questions.&lt;BR /&gt;GROUP is significant means this variable can explain more/enough variance of Y variable in the model.&lt;BR /&gt;&lt;BR /&gt;“lsmeans group” is checking the expected value/mean of different group value is different or not.&lt;BR /&gt;That is totally two differnt concept with the above.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Sep 2024 01:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Inconsistency-Between-Type-3-Test-and-Pairwise-Comparisons-in/m-p/944691#M47197</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-20T01:21:22Z</dc:date>
    </item>
  </channel>
</rss>

