<?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 create 99.9% confidence interval using pctlpts from proc univariate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604177#M175121</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/266226"&gt;@jeremy4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Can someone please edit the code below in order to create a 99.9% confidence interval? Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Code&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;proc univariate data=all ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;by final_check;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var test;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;output out=aaa pctlpts=0.05, 99.95 pctlpre=ci;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q: Should the two percentiles be 0.05 and 99.95 as the difference would create a 99.9% confidence interval (99.95-0.05)?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;STOP RIGHT THERE!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Percenitle points are not confidence intervals. Confidence intervals are not percentile points. You can't compute one from the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what are you really trying to achieve with this analysis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As pointed out by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292097"&gt;@ed_sas_member&lt;/a&gt;&amp;nbsp;, you can get either confidence intervals from SAS, not via percentiles, but you have to be clear as to what exactly you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2019 17:38:16 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-11-14T17:38:16Z</dc:date>
    <item>
      <title>How to create 99.9% confidence interval using pctlpts from proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604131#M175100</link>
      <description>&lt;P&gt;Can someone please edit the code below in order to create a 99.9% confidence interval? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Code&lt;/U&gt;&lt;/P&gt;&lt;P&gt;proc univariate data=all ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;by final_check;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var test;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;output out=aaa pctlpts=0.05, 99.95 pctlpre=ci;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q: Should the two percentiles be 0.05 and 99.95 as the difference would create a 99.9% confidence interval (99.95-0.05)?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604131#M175100</guid>
      <dc:creator>jeremy4</dc:creator>
      <dc:date>2019-11-14T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create 99.9% confidence interval using pctlpts from proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604136#M175104</link>
      <description>&lt;P&gt;From the documentation:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;PCTLPTS=&lt;SPAN class=" aa-argument"&gt;percentiles&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;specifies one or more percentiles that are not automatically computed by the UNIVARIATE procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want other than a 95% confidence interval or limits you need to set the PROC&amp;nbsp;Univariate&amp;nbsp;ALPHA= option to something other than the default 0.05. Alpha = 0.01 would create a 99% confidence limit and Alpha=0.001 would create 99.9% limits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Percentiles are not affected by Alpha.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604136#M175104</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-14T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create 99.9% confidence interval using pctlpts from proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604140#M175105</link>
      <description>&lt;P&gt;You can use the following options in a proc means statement to retrieve confidence interval values:&lt;/P&gt;
&lt;DIV class="page" title="Page 11"&gt;
&lt;DIV class="layoutArea"&gt;
&lt;DIV class="column"&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=all mean uclm lclm alpha=0.001;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604140#M175105</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2019-11-14T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create 99.9% confidence interval using pctlpts from proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604161#M175114</link>
      <description>&lt;P&gt;Thanks for your reply! If I want to output the lower and upper confidence limits for the 99.9% confidence interval, should the code be&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc univariate data=all&amp;nbsp; &lt;SPAN&gt;Alpha=0.001&lt;/SPAN&gt;;&lt;BR /&gt;&amp;nbsp; by final_check;&lt;BR /&gt;&amp;nbsp; var test;&lt;BR /&gt;&amp;nbsp; output out=aaa pctlpts=0.05, 99.95 pctlpre=ci;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604161#M175114</guid>
      <dc:creator>jeremy4</dc:creator>
      <dc:date>2019-11-14T16:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create 99.9% confidence interval using pctlpts from proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604169#M175117</link>
      <description>&lt;P&gt;Thanks for your reply!&amp;nbsp;Should the code therefore be&lt;/P&gt;&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;proc means data=all mean uclm lclm alpha=0.001;&lt;/P&gt;&lt;P&gt;&lt;CODE class="  language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;by final_check;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var test;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q: Would the code I posted also technically create a 99.9% confidence interval, as I would like to see the lower and upper confidence limit outputs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc univariate data=all ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;by final_check;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var test;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;output out=aaa pctlpts=0.05, 99.95 pctlpre=ci;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604169#M175117</guid>
      <dc:creator>jeremy4</dc:creator>
      <dc:date>2019-11-14T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create 99.9% confidence interval using pctlpts from proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604177#M175121</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/266226"&gt;@jeremy4&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Can someone please edit the code below in order to create a 99.9% confidence interval? Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Code&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;proc univariate data=all ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;by final_check;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var test;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;output out=aaa pctlpts=0.05, 99.95 pctlpre=ci;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q: Should the two percentiles be 0.05 and 99.95 as the difference would create a 99.9% confidence interval (99.95-0.05)?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;STOP RIGHT THERE!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Percenitle points are not confidence intervals. Confidence intervals are not percentile points. You can't compute one from the other.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what are you really trying to achieve with this analysis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As pointed out by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292097"&gt;@ed_sas_member&lt;/a&gt;&amp;nbsp;, you can get either confidence intervals from SAS, not via percentiles, but you have to be clear as to what exactly you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 17:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-99-9-confidence-interval-using-pctlpts-from-proc/m-p/604177#M175121</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-14T17:38:16Z</dc:date>
    </item>
  </channel>
</rss>

