<?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 Calculating 90% CI for specified percentile values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798407#M313871</link>
    <description>&lt;P&gt;I am trying to calculate a 90% confidence interval in proc univariate for the 2.5th and 97.5th percentiles. I added in pctlpts to calculate the percentiles as they are not in the default values, and the output gives me the values. After adding in ciquantdf to get the 90% CI's of these percentiles though, the output no longer lists these specified percentiles, only the defaults. Does anyone know how to calculate the 90% CI's for these specified percentiles, even if not in univariate? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc univariate data=itd ciquantdf(alpha=.1);&lt;BR /&gt;var res;&lt;BR /&gt;output out=per pctlpts = 97.5 2.5 pctlpre = P_;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 16:18:24 GMT</pubDate>
    <dc:creator>cloverhorizon</dc:creator>
    <dc:date>2022-02-24T16:18:24Z</dc:date>
    <item>
      <title>Calculating 90% CI for specified percentile values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798407#M313871</link>
      <description>&lt;P&gt;I am trying to calculate a 90% confidence interval in proc univariate for the 2.5th and 97.5th percentiles. I added in pctlpts to calculate the percentiles as they are not in the default values, and the output gives me the values. After adding in ciquantdf to get the 90% CI's of these percentiles though, the output no longer lists these specified percentiles, only the defaults. Does anyone know how to calculate the 90% CI's for these specified percentiles, even if not in univariate? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc univariate data=itd ciquantdf(alpha=.1);&lt;BR /&gt;var res;&lt;BR /&gt;output out=per pctlpts = 97.5 2.5 pctlpre = P_;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 16:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798407#M313871</guid>
      <dc:creator>cloverhorizon</dc:creator>
      <dc:date>2022-02-24T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating 90% CI for specified percentile values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798426#M313878</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look at this :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Compute confidence intervals for percentiles in SAS&lt;BR /&gt;By Rick Wicklin on The DO Loop May 6, 2013&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2013/05/06/compute-confidence-intervals-for-percentiles-in-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2013/05/06/compute-confidence-intervals-for-percentiles-in-sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 17:51:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798426#M313878</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-02-24T17:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating 90% CI for specified percentile values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798428#M313880</link>
      <description>&lt;P&gt;You would have to request those items in the output statement. Example (may not have values for your data though)&lt;/P&gt;
&lt;PRE&gt;output out=per pctlpts = 97.5 2.5 pctlpre = P_    
    ciquantdf=(lowerpre=LCL UpperPre= UCL);&lt;/PRE&gt;
&lt;P&gt;The statistic request is again Ciquantdf. The LowerPre and UpperPre options specify the prefix for the variable names like Pctlpre does. The number of values and ranges might mean that some of the intervals aren't calculated, just as in the table output.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 18:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculating-90-CI-for-specified-percentile-values/m-p/798428#M313880</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-02-24T18:02:30Z</dc:date>
    </item>
  </channel>
</rss>

