<?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: How to calculate geometric least square mean in ANCOVA? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-geometric-least-square-mean-in-ANCOVA/m-p/896572#M44434</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240247"&gt;@Anranyu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have 2 continuous covariants, A and B, 1 categorical covariant C, and 2 treatments Z1 and Z2, and the values of 1 parameter and its log10() value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is:&lt;/P&gt;
&lt;P&gt;1. Why we should do the ANCOVA analysis, since there are only 2 treatments?&lt;/P&gt;
&lt;P&gt;2. May I ask the code about that? I saw the SASHEP, and it only gives proc glm procedure. But I saw most people use proc mixed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. How to get the GLSM, I saw some senior said "&lt;SPAN&gt;Exp(mean(log(x))) = geomean(x)", but I am still confused how to write the code, and whether I should use the original value or log10() value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;1. There are only 2 treatments indeed, but since you need to take the influence of covariates into account, you have to fit a model to the data. (It's beyond the scope of a simple hypothesis test)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. What is SASHEP?&lt;BR /&gt;Here's about&amp;nbsp; "PROC MIXED Contrasted with Other SAS Procedures".&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_overview03.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_overview03.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;PROC MIXED is used (instead of GLM) for hierarchical data / multi-level data / data with group structure / non-independent data or any data that requires random effects.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Random effects can be broken down into three kinds. &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;Random intercepts are individual differences in the mean across all conditions (i.e., in the model intercept). &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Random slopes are individual differences in the effect of a predictor: The size and direction of an experimental effect could differ across individuals. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Finally, correlations between random effects are model parameters describing dependencies between random intercepts and slopes.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;3. Your&amp;nbsp;&lt;SPAN&gt;log10&lt;/SPAN&gt;&lt;SPAN&gt;-transformed values are the dependent variable, right?&lt;BR /&gt;I could only find some interesting info on the ratio of GLSMs.&lt;BR /&gt;See this article :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;( National Center for Biotechnology Information (ncbi) . National Library of Medecine (nlm) . National Institutes of Health (nih) )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2235875/" target="_blank"&gt;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2235875/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Scroll down to&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;GLSMRs calculations.&lt;/P&gt;
&lt;P&gt;GLSMRs =&amp;nbsp;&lt;SPAN&gt;the geometric least squares means ratio&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sat, 30 Sep 2023 22:15:50 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-09-30T22:15:50Z</dc:date>
    <item>
      <title>How to calculate geometric least square mean in ANCOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-geometric-least-square-mean-in-ANCOVA/m-p/895994#M44407</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me with the code or procedure for my description below? I'm trying to do the ANCOVA analysis and to get their&amp;nbsp;GLSM (Geometric Least Square Mean). I have 2 continuous covariants, A and B, 1 categorical covariant C, and 2 treatments Z1 and Z2, and the values of 1 parameter and its log10() value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;1. Why we should do the ANCOVA analysis, since there are only 2 treatments?&lt;/P&gt;&lt;P&gt;2. May I ask the code about that? I saw the SASHEP, and it only gives proc glm procedure. But I saw most people use proc mixed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. How to get the GLSM, I saw some senior said "&lt;SPAN&gt;Exp(mean(log(x))) = geomean(x)", but I am still confused how to write the code, and whether I should use the original value or log10() value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would really appreciate if you could help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Anran&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 04:53:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-geometric-least-square-mean-in-ANCOVA/m-p/895994#M44407</guid>
      <dc:creator>Anranyu</dc:creator>
      <dc:date>2023-09-27T04:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate geometric least square mean in ANCOVA?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-geometric-least-square-mean-in-ANCOVA/m-p/896572#M44434</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240247"&gt;@Anranyu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have 2 continuous covariants, A and B, 1 categorical covariant C, and 2 treatments Z1 and Z2, and the values of 1 parameter and its log10() value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is:&lt;/P&gt;
&lt;P&gt;1. Why we should do the ANCOVA analysis, since there are only 2 treatments?&lt;/P&gt;
&lt;P&gt;2. May I ask the code about that? I saw the SASHEP, and it only gives proc glm procedure. But I saw most people use proc mixed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. How to get the GLSM, I saw some senior said "&lt;SPAN&gt;Exp(mean(log(x))) = geomean(x)", but I am still confused how to write the code, and whether I should use the original value or log10() value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;1. There are only 2 treatments indeed, but since you need to take the influence of covariates into account, you have to fit a model to the data. (It's beyond the scope of a simple hypothesis test)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. What is SASHEP?&lt;BR /&gt;Here's about&amp;nbsp; "PROC MIXED Contrasted with Other SAS Procedures".&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_overview03.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mixed_overview03.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;PROC MIXED is used (instead of GLM) for hierarchical data / multi-level data / data with group structure / non-independent data or any data that requires random effects.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Random effects can be broken down into three kinds. &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;Random intercepts are individual differences in the mean across all conditions (i.e., in the model intercept). &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Random slopes are individual differences in the effect of a predictor: The size and direction of an experimental effect could differ across individuals. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Finally, correlations between random effects are model parameters describing dependencies between random intercepts and slopes.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;3. Your&amp;nbsp;&lt;SPAN&gt;log10&lt;/SPAN&gt;&lt;SPAN&gt;-transformed values are the dependent variable, right?&lt;BR /&gt;I could only find some interesting info on the ratio of GLSMs.&lt;BR /&gt;See this article :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;( National Center for Biotechnology Information (ncbi) . National Library of Medecine (nlm) . National Institutes of Health (nih) )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2235875/" target="_blank"&gt;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2235875/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Scroll down to&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;GLSMRs calculations.&lt;/P&gt;
&lt;P&gt;GLSMRs =&amp;nbsp;&lt;SPAN&gt;the geometric least squares means ratio&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 30 Sep 2023 22:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculate-geometric-least-square-mean-in-ANCOVA/m-p/896572#M44434</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-09-30T22:15:50Z</dc:date>
    </item>
  </channel>
</rss>

