<?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: Comparing mean values across quintiles statistically in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803141#M316240</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;On top of the answer by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you might want to :&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;check the Statistical Assumptions for Using PROC GLM&lt;/LI&gt;
&lt;LI&gt;... like requesting a homogeneity of variance test&lt;/LI&gt;
&lt;LI&gt;use LSmeans instead of&amp;nbsp;&lt;SPAN&gt;arithmetic means&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;correct for the inflation of the type I ERROR probability when doing multiple comparisons (I do not think the t option for&amp;nbsp;performing pairwise t tests is doing that automatically).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Three good points, and one I am skeptical of. For a one-way design, are not the means and LSMeans equal?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 16:38:26 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-03-21T16:38:26Z</dc:date>
    <item>
      <title>Comparing mean values across quintiles statistically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803094#M316225</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset I'm performing an analysis on with a continuous outcome and categorical exposure that is parsed into 5 quintiles. I'm looking to compare the mean value of the outcome in each quintile to each other statistically but am unsure on the best way to do this in SAS. Would anyone have some advice on this? I used the following code to attain the means across quintiles for the outcome variable but have not been able to figure out how to compare them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm data=thomas.ecl_analytic;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; class ecl_nosmoke_cat;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; model weight_change_kg = ecl_nosmoke_cat;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; means ecl_nosmoke_cat;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for the help!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803094#M316225</guid>
      <dc:creator>Corinthian94</dc:creator>
      <dc:date>2022-03-21T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing mean values across quintiles statistically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803096#M316226</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;means ecl_nosmoke_cat/lines t;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;allows the pairwise comparison of the mean via a t-test.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803096#M316226</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-21T15:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing mean values across quintiles statistically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803105#M316231</link>
      <description>&lt;P&gt;On top of the answer by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you might want to :&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;check the Statistical Assumptions for Using PROC GLM&lt;/LI&gt;
&lt;LI&gt;... like requesting a homogeneity of variance test&lt;/LI&gt;
&lt;LI&gt;use LSmeans instead of&amp;nbsp;&lt;SPAN&gt;arithmetic means&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;correct for the inflation of the type I ERROR probability when doing multiple comparisons (I do not think the t option for&amp;nbsp;performing pairwise t tests is doing that automatically).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 15:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803105#M316231</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-21T15:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing mean values across quintiles statistically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803141#M316240</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;On top of the answer by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you might want to :&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;check the Statistical Assumptions for Using PROC GLM&lt;/LI&gt;
&lt;LI&gt;... like requesting a homogeneity of variance test&lt;/LI&gt;
&lt;LI&gt;use LSmeans instead of&amp;nbsp;&lt;SPAN&gt;arithmetic means&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;correct for the inflation of the type I ERROR probability when doing multiple comparisons (I do not think the t option for&amp;nbsp;performing pairwise t tests is doing that automatically).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Three good points, and one I am skeptical of. For a one-way design, are not the means and LSMeans equal?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 16:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803141#M316240</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-21T16:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing mean values across quintiles statistically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803164#M316254</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Three good points, and one I am skeptical of. For a one-way design, are not the means and LSMeans equal?&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I may be completely mistaken, but in case there are missing data (missing values), I think Means and LSMeans differ (even for a one-way design).&amp;nbsp;&lt;BR /&gt;No time to test it thoroughly now, so definitely not for blindly taking it for granted !!&lt;BR /&gt;&lt;BR /&gt;But it is a fact, indeed, that&amp;nbsp;&lt;SPAN&gt;increasingly complex treatment arrangements and experimental designs and also covariates being present (ANCOVA)&amp;nbsp;gives more reason to use LS-means, rather than ordinary means.&lt;BR /&gt;And a one-way design is not exactly 'complex'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 17:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803164#M316254</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-03-21T17:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing mean values across quintiles statistically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803339#M316314</link>
      <description>&lt;P&gt;Thank you both! I was able to figure it out with your advice and some help from my advisor.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 13:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Comparing-mean-values-across-quintiles-statistically/m-p/803339#M316314</guid>
      <dc:creator>Corinthian94</dc:creator>
      <dc:date>2022-03-22T13:22:17Z</dc:date>
    </item>
  </channel>
</rss>

