<?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 get 95% CI output by editing the following code? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668637#M200458</link>
    <description>&lt;P&gt;I think you are making your life difficult by trying to do these calculations inside a text string. Assuming you have a simple T-test here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lcl=estimate-1.96*stderr;
ucl=estimate+1.96*stderr;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then you have three variables, ESTIMATE, LCL and UCL that you can print or format any way you want.&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jul 2020 11:12:20 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-07-12T11:12:20Z</dc:date>
    <item>
      <title>How to get 95% CI output by editing the following code?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668629#M200453</link>
      <description>&lt;P&gt;Hi I am trying to get the output as Mean (95% CI) instead of Mean (SE), but I am struggling with how to edit the code. Please help!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;set tt; if domain="zone=1";
Mean_SE = compress(put(round(Estimate, 0.001),8.3)) || " (" || compress(put(round(StdErr, 0.001), 8.3)) || ")";
proc print data=test;
var year Estimate stderr mean_se;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 12 Jul 2020 02:53:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668629#M200453</guid>
      <dc:creator>AllSunday</dc:creator>
      <dc:date>2020-07-12T02:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 95% CI output by editing the following code?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668636#M200457</link>
      <description>You can just use the below code &lt;BR /&gt;&lt;BR /&gt;Mean = compress(put(round(Estimate, 0.001),8.3)) ;</description>
      <pubDate>Sun, 12 Jul 2020 09:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668636#M200457</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2020-07-12T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 95% CI output by editing the following code?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668637#M200458</link>
      <description>&lt;P&gt;I think you are making your life difficult by trying to do these calculations inside a text string. Assuming you have a simple T-test here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lcl=estimate-1.96*stderr;
ucl=estimate+1.96*stderr;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then you have three variables, ESTIMATE, LCL and UCL that you can print or format any way you want.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 11:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-95-CI-output-by-editing-the-following-code/m-p/668637#M200458</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-12T11:12:20Z</dc:date>
    </item>
  </channel>
</rss>

