<?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: Least square mean result is significant, but difference of least square mean result is not in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818935#M40484</link>
    <description>&lt;P&gt;That note is clear, no?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here for the documentation ( from SAS/STAT User's Guide ) on &lt;SPAN&gt;ADJDFE=SOURCE | ROW :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_syntax08.htm#statug.mixed.lsmeansstmt_adjdfe" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_syntax08.htm#statug.mixed.lsmeansstmt_adjdfe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 21:35:33 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-06-17T21:35:33Z</dc:date>
    <item>
      <title>Least square mean result is significant, but difference of least square mean result is not</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818846#M40476</link>
      <description>&lt;P&gt;Hi, I wanted to conduct an ANOVA to compare the mean difference between groups. Firstly, I used the below PROC GLM to check the equal variance assumption, and the result was significant, since the sample size per cell was not that big, I used the Obrien.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc glm data=one;
	class region;
	model cost=region;
	means region/hovtest=OBRIEN welch ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And the Welch test showed the result was significant, so, in order to account for the unequal variance, I used the below code to conduct the post-hoc comparison.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc mixed;
	class region;
	model cost=region/ddfm=satterth;
	repeated / group=region;
	lsmeans region / pdiff;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I checked the SAS website,&amp;nbsp;&lt;A href="https://support.sas.com/kb/22/526.html," target="_blank" rel="noopener"&gt;https://support.sas.com/kb/22/526.html,&lt;/A&gt;&amp;nbsp;it says that group=region in the repeated statement will allow SAS to estimate the variance separately, and ddfm=satterth will adjust the degree of freedom. However, the least square mean result showed that two groups were significant, but in the difference least square mean result, there is no significant result found. I tried to use different adjust=, but the result was the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the note below, probably it is because the Hessian is not positive definite? Is there anything else that I should do to address this issue? Thank you so much!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;NOTE: Convergence criteria met but final Hessian is not positive definite.
NOTE: Asymptotic variance matrix of covariance parameter estimates has been found to be singular and
      a generalized inverse was used. Covariance parameters with zero variance do not contribute to
      degrees of freedom computed by DDFM=SATTERTH.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jun 2022 15:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818846#M40476</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-06-17T15:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Least square mean result is significant, but difference of least square mean result is not</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818922#M40483</link>
      <description>&lt;P&gt;Sorry, I didn't got the negative definite note that I posted above, the note that I got is as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;With DDFM=SATTERTHWAITE or DDFM=KENWADROGER or DDFM=KENWADROGER2, unadjusted p-values in tests
      are based on the degrees of freedom specific to that comparison. P-values that are adjusted for
      multiplicity, however, are by default based on the denominator degrees of freedom for the Type
      3 test of the fixed effect. If you specify the ADJDFE=ROW option in the LSMEANS statement, the
      adjusted p-values take into account the row-wise degrees of freedom.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jun 2022 19:58:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818922#M40483</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2022-06-17T19:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Least square mean result is significant, but difference of least square mean result is not</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818935#M40484</link>
      <description>&lt;P&gt;That note is clear, no?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See here for the documentation ( from SAS/STAT User's Guide ) on &lt;SPAN&gt;ADJDFE=SOURCE | ROW :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_syntax08.htm#statug.mixed.lsmeansstmt_adjdfe" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_syntax08.htm#statug.mixed.lsmeansstmt_adjdfe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 21:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Least-square-mean-result-is-significant-but-difference-of-least/m-p/818935#M40484</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-17T21:35:33Z</dc:date>
    </item>
  </channel>
</rss>

