<?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: Welch's ANOVA With Geometric Means in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759750#M37006</link>
    <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I am not familiar with PROC GLIMMIX and will have to look into it. You mentioned to use the GROUP = option in the RANDOM statement. Would I be making my BMI groups random? I've had limited experience working with mixed effects models in school, so I'm not great at assessing what should be treated as fixed vs. random.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 16:11:56 GMT</pubDate>
    <dc:creator>mariko5797</dc:creator>
    <dc:date>2021-08-05T16:11:56Z</dc:date>
    <item>
      <title>Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759420#M37003</link>
      <description>&lt;P&gt;I am not super familiar with Welch's ANOVA nor geometric means, so a detailed response is appreciated.&lt;/P&gt;&lt;P&gt;I am interested in comparing concentrations among BMI groups (not obese, obese, severely obese) within two different time points (after start of treatment, after end of treatment). Since we are assuming unequal variances, I thought Welch's ANOVA would work well to check if at least one group is different. However, since geometric mean and geometric cv are what's being reported, I thought I should compare geometric means rather than arithmetic means.&lt;/P&gt;&lt;P&gt;(1) Is there a way to compare geometric means using ANOVA? I know the geometric mean is the exponentiated mean of the log-transformed data, but I am unsure how to apply that to ANOVA.&lt;/P&gt;&lt;P&gt;(2) Is it even necessary to use the geometric mean if I use Welch's ANOVA?&lt;/P&gt;&lt;P&gt;(3) Is there a simple way to store the p-value from the output table, so I can add it to a summary table later on? My plan was to use PROC SQL to add a row to the bottom of my "Data Have" with a p-value.&lt;/P&gt;&lt;P&gt;Generally, I want a table like this (will use PROC REPORT):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariko5797_0-1628098476383.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62255iC34708418BC717DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariko5797_0-1628098476383.png" alt="mariko5797_0-1628098476383.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My datasets are organized like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariko5797_1-1628098502578.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62256iC59667FFE303F221/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariko5797_1-1628098502578.png" alt="mariko5797_1-1628098502578.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariko5797_2-1628098762340.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62257i6111F0B1EC6EB2C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariko5797_2-1628098762340.png" alt="mariko5797_2-1628098762340.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;xx&lt;/EM&gt; represents some numerical value.&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;</description>
      <pubDate>Wed, 04 Aug 2021 17:43:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759420#M37003</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2021-08-04T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759541#M37004</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This post may be of interest to you:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ANOVA using geometric mean&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/ANOVA-using-geometric-mean/m-p/303654#M16143" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/ANOVA-using-geometric-mean/m-p/303654#M16143&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 21:59:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759541#M37004</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-08-04T21:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759736#M37005</link>
      <description>&lt;P&gt;So long as all your values are greater than zero, you can log transform and do Welch's ANOVA to test if the log(means) are different.&amp;nbsp; Since the backtransfomation is monotonic, you are getting p values for differences between the geometric means.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would encourage you to make a leap ahead from the 1950's (when Welch presented his method) to something that uses a generalized linear model, and allows you to model the heteroscedasticity (PROC GLIMMIX using the GROUP= option in the RANDOM statement, and a lognormal distribution).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759736#M37005</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-08-05T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759750#M37006</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I am not familiar with PROC GLIMMIX and will have to look into it. You mentioned to use the GROUP = option in the RANDOM statement. Would I be making my BMI groups random? I've had limited experience working with mixed effects models in school, so I'm not great at assessing what should be treated as fixed vs. random.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 16:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759750#M37006</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2021-08-05T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759765#M37007</link>
      <description>&lt;P&gt;Consider this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=have;
ods output lsmeans=lsmeans;
class bmi time;
model concentration = bmi time bmi*time/dist=lognormal ddfm=satterthwaite;
random _residual_/group=bmi;
lsmeans bmi time bmi*time/cl;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you have the first and second observation for each subject, you could change this to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=have;
ods output lsmeans=lsmeans;
class bmi time &lt;STRONG&gt;sub_ID&lt;/STRONG&gt;;
model concentration = bmi time bmi*time/dist=lognormal ddfm=satterthwait;
random _residual_/group=bmi &lt;STRONG&gt;subject=sub_ID&lt;/STRONG&gt;;
lsmeans bmi time bmi*time/cl;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This requires a "long" version of the data, where each line has one subject_ID, one BMI and one time.&amp;nbsp; You could add in a test for homogeneity of variance, but these two blocks are closer to the assumption in a Welch's t test of unequal variances.&amp;nbsp; If the variances are grossly different by group, that Satterthwaite approximation for the denominator degrees of freedom is appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this results in a dataset that has the estimates and the 95% confidence bounds on the natural log scale.&amp;nbsp; To get geometric means and bounds, simply exponentiate these values in a DATA step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 17:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759765#M37007</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-08-05T17:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759790#M37008</link>
      <description>&lt;P&gt;If I only care that at least one BMI group is different, I assume I can go off of the Type III Tests of Fixed Effects table.&lt;/P&gt;&lt;P&gt;How would you describe this type of test? That is, before I had the footnote on my table "BMI groups were compared using Welch's ANOVA." Since this is no longer Welch's ANOVA, what would the test be called?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 19:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759790#M37008</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2021-08-05T19:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Welch's ANOVA With Geometric Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759917#M37017</link>
      <description>&lt;P&gt;ANOVA with nonhomogeneous errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might need to spell out ANOVA as analysis of variance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 12:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Welch-s-ANOVA-With-Geometric-Means/m-p/759917#M37017</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-08-06T12:20:27Z</dc:date>
    </item>
  </channel>
</rss>

