<?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: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745433#M36314</link>
    <description>&lt;P&gt;What happens if you remove &lt;FONT face="courier new,courier"&gt;ADJUST=DUNNETT&lt;/FONT&gt;? Does this change give the same confidence intervals?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jun 2021 11:31:45 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-06-03T11:31:45Z</dc:date>
    <item>
      <title>Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745339#M36309</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am comparing the treatment difference and looking for the 95% CI by using Proc GLM. However it seems there are different CIs are produced from CLPARM and PDIFF.&amp;nbsp; Please see the code below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm data=xxx order=data;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;class usubjid treatment;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;model chg=treatment/solution clparm;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;lsmeans treatment/stderr pdiff cl adjust=dunnett;&lt;BR /&gt;&amp;nbsp; estimate 'Difference' treatment 1 -1;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From option of CLPARM, I got below:&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Estimate&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;StdErr&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;tValue&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Probt&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;LowerCL&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;UpperCL&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;-2.03825641&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3.79425842&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-0.54&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.5924&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-9.57081174&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5.49429892&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From option of PDIFF CL, I have,&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;LowerCL&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Difference&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;UpperCL&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;-11.177164&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-2.038256&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;7.100651&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The difference of treatment are same from these two options, but CIs are different. Does anyone know what is the reason and which one we should use? Thanks very much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nancy&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 21:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745339#M36309</guid>
      <dc:creator>Nancych</dc:creator>
      <dc:date>2021-06-02T21:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745433#M36314</link>
      <description>&lt;P&gt;What happens if you remove &lt;FONT face="courier new,courier"&gt;ADJUST=DUNNETT&lt;/FONT&gt;? Does this change give the same confidence intervals?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 11:31:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745433#M36314</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-03T11:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745437#M36315</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/193392"&gt;@Nancych&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess that variable &lt;FONT face="courier new,courier"&gt;treatment&lt;/FONT&gt; has more than two levels. In this case the PDIFF CL options have produced at least two differences and confidence intervals (headed "&lt;FONT face="courier new,courier"&gt;Simultaneous 95% Confidence Limits ...&lt;/FONT&gt;" in the original output) using an "&lt;FONT face="courier new,courier"&gt;Adjustment for Multiple Comparisons: Dunnett&lt;/FONT&gt;" -- as you requested with the ADJUST=DUNNETT option. Due to this adjustment the confidence intervals are wider in order to control the coverage probability of the intervals &lt;EM&gt;simultaneously&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're interested in only one preplanned comparison, you don't need the adjustment for multiple comparisons and the confidence interval obtained with CLPARM is sufficient. But if you deliberately decided that you need Dunnett's adjustment for comparing, say, both treatment B vs. A &lt;EM&gt;and&lt;/EM&gt; C vs. A, then it would only be consistent to use the PDIFF confidence limits.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 11:55:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745437#M36315</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-06-03T11:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745462#M36317</link>
      <description>&lt;P&gt;Thank you so much! This is exactly what I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got 4 treatments but need to compare individuals and pooled treatments vs placebo. The CIs for pooled one is not available from PDIFF (even without DUNNET). Please see below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm data=xxxx order=data;&lt;BR /&gt;class usubjid treatment ;&lt;BR /&gt;model chg=treatment /solution clparm;&lt;BR /&gt;lsmeans treatment /stderr pdiff cl ;&lt;BR /&gt;estimate 'trt1 vs pla' treatment 1 0 0 -1;&lt;BR /&gt;estimate 'trt2 vs pla' treatment 0 1 0 -1;&lt;BR /&gt;estimate 'trt3 vs pla' treatment 0 0 1 -1;&lt;BR /&gt;estimate '&lt;STRONG&gt;trt1&amp;amp;2&lt;/STRONG&gt; vs pla' treatment &lt;STRONG&gt;0.5 0.5 0 -1&lt;/STRONG&gt;;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, if I need CIs for all estimate above (4 of them), I have to consider the CIs from clparm?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nancy&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 13:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745462#M36317</guid>
      <dc:creator>Nancych</dc:creator>
      <dc:date>2021-06-03T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745470#M36318</link>
      <description>&lt;P&gt;Yes, you would have to use the output from CLPARM option for what you wanted.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745470#M36318</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-06-03T14:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745479#M36319</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;: Thanks for chiming in. Wouldn't it be an option to switch to PROC MIXED or PROC GLIMMIX and then use an &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glimmix_syntax14.htm" target="_blank" rel="noopener"&gt;LSMESTIMATE statement&lt;/A&gt; like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lsmestimate treatment 'trt1 vs pla' 1 0 0 -1 ,
                      'trt2 vs pla' 0 1 0 -1 ,
                      'trt3 vs pla' 0 0 1 -1 ,
                      'trt1&amp;amp;2 vs pla' 0.5 0.5 0 -1 / cl adjust=simulate;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(There is no DUNNETT adjustment available in LSMESTIMATE. On my random test data SIMULATE came closest to the DUNNETT results from LSMEANS.)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745479#M36319</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-06-03T14:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745485#M36320</link>
      <description>&lt;P&gt;Yes, if you wanted to obtain the adjusted CL's, this would be a good approach. Alternatively, you can fit your model in PROC GLM, add the STORE statement in there, then use PROC PLM to do what you wanted with the LSMESTIMATE statements.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745485#M36320</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-06-03T14:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals' difference from Proc GLM (CLPARM vs PDIFF CL)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745494#M36321</link>
      <description>Thank you very much!</description>
      <pubDate>Thu, 03 Jun 2021 15:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-Intervals-difference-from-Proc-GLM-CLPARM-vs-PDIFF-CL/m-p/745494#M36321</guid>
      <dc:creator>Nancych</dc:creator>
      <dc:date>2021-06-03T15:09:36Z</dc:date>
    </item>
  </channel>
</rss>

