<?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 Cohen's d in GLM in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Cohen-s-d-in-GLM/m-p/801883#M39417</link>
    <description>&lt;P&gt;I have used the following to calculate Cohen's d with PROC TTEST and I am wondering if there is a way to do something similar with PROC GLM so that I can calculate Cohen's d from the LSMeans.&lt;/P&gt;&lt;PRE&gt;proc ttest DATA=surveydata plots=none;
class X;
var A B C
ods select ConfLimits;
ods output ConfLimits=CL;
run;

data CohenD;
set Cl(where=(method="Pooled") rename=(Mean=MeanDiff));
CohenD = MeanDiff / StdDev;
run;

proc print data=CohenD noobs;
var Variable Class Method MeanDiff StdDev CohenD; 
run;&lt;/PRE&gt;&lt;P&gt;Here is my CURRENT PROC GLM STATEMENT.&amp;nbsp; I want to be able to use the same data statement as above to calculate Cohen's d.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GLM DATA=surveydata PLOTS=none;
	CLASS X;
	MODEL A B C = X;
	LSMEANS X /adjust=bon;
	
RUN;&lt;/PRE&gt;&lt;P&gt;Is there a way to do this?&amp;nbsp; Thank you for any help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Mar 2022 22:44:53 GMT</pubDate>
    <dc:creator>jowolfe79</dc:creator>
    <dc:date>2022-03-13T22:44:53Z</dc:date>
    <item>
      <title>Cohen's d in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cohen-s-d-in-GLM/m-p/801883#M39417</link>
      <description>&lt;P&gt;I have used the following to calculate Cohen's d with PROC TTEST and I am wondering if there is a way to do something similar with PROC GLM so that I can calculate Cohen's d from the LSMeans.&lt;/P&gt;&lt;PRE&gt;proc ttest DATA=surveydata plots=none;
class X;
var A B C
ods select ConfLimits;
ods output ConfLimits=CL;
run;

data CohenD;
set Cl(where=(method="Pooled") rename=(Mean=MeanDiff));
CohenD = MeanDiff / StdDev;
run;

proc print data=CohenD noobs;
var Variable Class Method MeanDiff StdDev CohenD; 
run;&lt;/PRE&gt;&lt;P&gt;Here is my CURRENT PROC GLM STATEMENT.&amp;nbsp; I want to be able to use the same data statement as above to calculate Cohen's d.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC GLM DATA=surveydata PLOTS=none;
	CLASS X;
	MODEL A B C = X;
	LSMEANS X /adjust=bon;
	
RUN;&lt;/PRE&gt;&lt;P&gt;Is there a way to do this?&amp;nbsp; Thank you for any help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 22:44:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cohen-s-d-in-GLM/m-p/801883#M39417</guid>
      <dc:creator>jowolfe79</dc:creator>
      <dc:date>2022-03-13T22:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cohen's d in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cohen-s-d-in-GLM/m-p/801917#M39419</link>
      <description>&lt;P&gt;For the history and context of the OP's problem, see the previous thread:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Easy-way-to-calculate-Cohen-s-d/m-p/801157" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Easy-way-to-calculate-Cohen-s-d/m-p/801157&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 11:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cohen-s-d-in-GLM/m-p/801917#M39419</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-03-14T11:08:22Z</dc:date>
    </item>
  </channel>
</rss>

