<?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 calculte SD and SE from lsm difference in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783763#M38486</link>
    <description>&lt;P&gt;Well, with only the information in the table, you won't be able to calculate by hand the SD and SE for each of the groups.&amp;nbsp; Well, first off, whatever analysis was done assumed homogeneity of variance - you can tell because the standard errors for the lsmeans are identical.&amp;nbsp; With different N's per group, that implies that the lsmeans are truly marginal means -&amp;gt; expected values of the distributions, rather than the averages for each group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you&amp;nbsp;&lt;EM&gt;could&amp;nbsp;&lt;/EM&gt;try is to simulate data with these means and standard errors, having say 500 or 1000 samples of 298 and 294 observations each.&amp;nbsp; Calculate the mean, standard deviation and standard error for each sample. That would be enough to let the Central Limit Theorem give you an accurate approximation if you took the average of each set of samples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 20:01:45 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2021-12-02T20:01:45Z</dc:date>
    <item>
      <title>How to calculte SD and SE from lsm difference</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783652#M38480</link>
      <description>&lt;P&gt;I have this example and I need to calculate SE, SD&amp;nbsp; from this available information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me with this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mona4u_1-1638458206771.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66339i3D491304229D733D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mona4u_1-1638458206771.png" alt="mona4u_1-1638458206771.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 15:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783652#M38480</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2021-12-02T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculte SD and SE from lsm difference</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783656#M38481</link>
      <description>&lt;P&gt;Let's assume you do the analysis in PROC GLM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Least Squares Means and their standard errors come from the LSMEANS statement. Example:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glm_examples04.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glm_examples04.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe (but haven't confirmed) that if you use the LINESTABLE option of the LSMEANS statement, you get the differences and the confidence intervals for the differences.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 15:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783656#M38481</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-12-02T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculte SD and SE from lsm difference</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783664#M38482</link>
      <description>&lt;P&gt;I want to calculate it manually as I only have these outputs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 15:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783664#M38482</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2021-12-02T15:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculte SD and SE from lsm difference</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783763#M38486</link>
      <description>&lt;P&gt;Well, with only the information in the table, you won't be able to calculate by hand the SD and SE for each of the groups.&amp;nbsp; Well, first off, whatever analysis was done assumed homogeneity of variance - you can tell because the standard errors for the lsmeans are identical.&amp;nbsp; With different N's per group, that implies that the lsmeans are truly marginal means -&amp;gt; expected values of the distributions, rather than the averages for each group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you&amp;nbsp;&lt;EM&gt;could&amp;nbsp;&lt;/EM&gt;try is to simulate data with these means and standard errors, having say 500 or 1000 samples of 298 and 294 observations each.&amp;nbsp; Calculate the mean, standard deviation and standard error for each sample. That would be enough to let the Central Limit Theorem give you an accurate approximation if you took the average of each set of samples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 20:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783763#M38486</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-12-02T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculte SD and SE from lsm difference</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783970#M38495</link>
      <description>&lt;P&gt;I want to calculate the SD and SE diff for both groups.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-calculte-SD-and-SE-from-lsm-difference/m-p/783970#M38495</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2021-12-03T17:35:14Z</dc:date>
    </item>
  </channel>
</rss>

