<?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: The difference of CI from proc glm and proc means in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696833#M33617</link>
    <description>&lt;P&gt;PROC GLM uses the root mean square error from the fitted model to determine confidence intervals, which in other words is the pooled standard deviation across all the values of LOTRESP. PROC MEANS uses the actual standard deviation for each value of LOTRESP. PROC GLM and PROC MEANS do not do the same thing, they're not supposed to do the same thing.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 11:59:33 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-11-05T11:59:33Z</dc:date>
    <item>
      <title>The difference of CI from proc glm and proc means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696738#M33614</link>
      <description>&lt;P&gt;Could anyone explain what's the difference when calculate the mean and CI of "class" variable in proc means and proc glm. For example I want to calculate CI for 2 levels Y and N, (Note: not the difference between Y and N) I have 2 codes give me 2 different CI&lt;BR /&gt;Code 1 :&lt;BR /&gt;Proc means data=KK clm alpha=0.05 ;&lt;BR /&gt;Var UOSMOLVN;&lt;BR /&gt;class lotresp;&lt;BR /&gt;Output out=textn n=n mean=mean lclm=lclm uclm=uclm std=std ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Output 1:&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Analysis Variable : UOSMOLVN Osmolality(mOsm/kg) Numerical ValueLot AEOccurrence(Yes/No) N Obs Lower 95%CL for Mean Upper 95%CL for MeanN 116Y 18 &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;344.1497139&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;350.8675275&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;328.3620766&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;344.0823679&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Code 2 :&lt;BR /&gt;proc glm data=KK;&lt;BR /&gt;class lotresp;&lt;BR /&gt;model UOSMOLVN=lotresp;&lt;BR /&gt;means lotresp/clm t ;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;output 2 :&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;lotresp N Mean 95% Confidence LimitsNY &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;116&lt;/TD&gt;&lt;TD&gt;347.509&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;344.209&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;350.808&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;336.222&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;327.846&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;344.599&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both codes generate the same means, but why CI are different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 00:10:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696738#M33614</guid>
      <dc:creator>HappySASUE</dc:creator>
      <dc:date>2020-11-05T00:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: The difference of CI from proc glm and proc means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696783#M33616</link>
      <description>&lt;P&gt;Don’t have time to verify this, but check if GLM is using a pooled SE whereas Means would not be using a pooled SE.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 06:47:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696783#M33616</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-05T06:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: The difference of CI from proc glm and proc means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696833#M33617</link>
      <description>&lt;P&gt;PROC GLM uses the root mean square error from the fitted model to determine confidence intervals, which in other words is the pooled standard deviation across all the values of LOTRESP. PROC MEANS uses the actual standard deviation for each value of LOTRESP. PROC GLM and PROC MEANS do not do the same thing, they're not supposed to do the same thing.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 11:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/The-difference-of-CI-from-proc-glm-and-proc-means/m-p/696833#M33617</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-05T11:59:33Z</dc:date>
    </item>
  </channel>
</rss>

