<?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: 95% CONFIDENCE INTERVALS FOR PROC GLM WITH CONTRASTS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/95-CONFIDENCE-INTERVALS-FOR-PROC-GLM-WITH-CONTRASTS/m-p/14584#M294</link>
    <description>You would be better off using LSMEANS rather than MEANS statement (under most circumstances). Then your request is also easy:&lt;BR /&gt;
lsmeans group / cl pdiff;&lt;BR /&gt;
will give you confidence limits and all possible pair-wise differences.</description>
    <pubDate>Thu, 16 Jun 2011 18:48:07 GMT</pubDate>
    <dc:creator>lvm</dc:creator>
    <dc:date>2011-06-16T18:48:07Z</dc:date>
    <item>
      <title>95% CONFIDENCE INTERVALS FOR PROC GLM WITH CONTRASTS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/95-CONFIDENCE-INTERVALS-FOR-PROC-GLM-WITH-CONTRASTS/m-p/14583#M293</link>
      <description>Hello there!&lt;BR /&gt;
&lt;BR /&gt;
i am using proc glm with contrast to compare three means (i.e., one-way anova). see my SAS code: &lt;BR /&gt;
&lt;BR /&gt;
SAS CODE&lt;BR /&gt;
proc glm data=ITT; class group; model BMD=group; means group;&lt;BR /&gt;
contrast 'A&amp;gt;B&amp;gt;C: A vs B'	group 1 -1  0;&lt;BR /&gt;
contrast 'A&amp;gt;B&amp;gt;C: B vs C' 	group 0  1 -1;&lt;BR /&gt;
contrast 'A&amp;gt;B&amp;gt;C: C vs A' 	group 1  0 -1; &lt;BR /&gt;
contrast 'A=B&amp;gt;C: A+B vs C' 	group 1  1 -2; run; quit;&lt;BR /&gt;
&lt;BR /&gt;
This produces output with: &lt;BR /&gt;
1) a p-value for the three-way comparison, &lt;BR /&gt;
2) means for each group and their corresponding SDs&lt;BR /&gt;
3) a mean square and p-value for each contrast&lt;BR /&gt;
&lt;BR /&gt;
I would also like to obtain:&lt;BR /&gt;
1) means for each group and their corresponding 95% confidence intervals (instead SDs)&lt;BR /&gt;
2) differences between the means and the corresponding 95% confidence intervals for the differences between the means. Is it possible to obtain this using contrasts? &lt;BR /&gt;
&lt;BR /&gt;
Please and thank you help me. Luba &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/95-CONFIDENCE-INTERVALS-FOR-PROC-GLM-WITH-CONTRASTS/m-p/14583#M293</guid>
      <dc:creator>Luba</dc:creator>
      <dc:date>2011-06-15T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: 95% CONFIDENCE INTERVALS FOR PROC GLM WITH CONTRASTS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/95-CONFIDENCE-INTERVALS-FOR-PROC-GLM-WITH-CONTRASTS/m-p/14584#M294</link>
      <description>You would be better off using LSMEANS rather than MEANS statement (under most circumstances). Then your request is also easy:&lt;BR /&gt;
lsmeans group / cl pdiff;&lt;BR /&gt;
will give you confidence limits and all possible pair-wise differences.</description>
      <pubDate>Thu, 16 Jun 2011 18:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/95-CONFIDENCE-INTERVALS-FOR-PROC-GLM-WITH-CONTRASTS/m-p/14584#M294</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2011-06-16T18:48:07Z</dc:date>
    </item>
  </channel>
</rss>

