<?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 Question Related to Tolerance Intervals in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267433#M14087</link>
    <description>&lt;P&gt;I am trying to compute the percentage of a normal population with unknown mean and unknown variance which lies outside of specified limits at a specified level of confidence. The SAS software computes the tolerance interval which gives&amp;nbsp;the limits of a speficied&amp;nbsp;percentage of the population at a specified level of confidence but does not seem to do the reverse&amp;nbsp;as best as I can tell. Also&amp;nbsp;in my case, the limits are an input and the percentage of the population is an output. Can anyone provide guidance on making this computation correctly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 Apr 2016 17:44:32 GMT</pubDate>
    <dc:creator>Maury_Hull</dc:creator>
    <dc:date>2016-04-30T17:44:32Z</dc:date>
    <item>
      <title>Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267433#M14087</link>
      <description>&lt;P&gt;I am trying to compute the percentage of a normal population with unknown mean and unknown variance which lies outside of specified limits at a specified level of confidence. The SAS software computes the tolerance interval which gives&amp;nbsp;the limits of a speficied&amp;nbsp;percentage of the population at a specified level of confidence but does not seem to do the reverse&amp;nbsp;as best as I can tell. Also&amp;nbsp;in my case, the limits are an input and the percentage of the population is an output. Can anyone provide guidance on making this computation correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 17:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267433#M14087</guid>
      <dc:creator>Maury_Hull</dc:creator>
      <dc:date>2016-04-30T17:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267449#M14089</link>
      <description>&lt;P&gt;I haven't computerd tolerance intervals myself, but it looks like if you have SAS/QC software, you can &lt;A href="http://support.sas.com/documentation/cdl/en/qcug/63922/HTML/default/viewer.htm#qcug_capability_a0000001551.htm" target="_self"&gt;use the INTERVALS statement in PROC CAPABILITY to obtain tolerance intervals&lt;/A&gt;. Looks like METHOD=3 is what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have SAS/QC, the documentation gives the formula in terms of the sample mean (xbar), sample&amp;nbsp;standard deviation&amp;nbsp;(s), sample size (n), the proportion (p), and the significance level (alpha).You can use the DATA step to implement the formula by using&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/67960/HTML/default/viewer.htm#n0uhywbqfucg6qn18woziy41flqp.htm" target="_self"&gt; the QUANTILE function&lt;/A&gt;, which computes percentiles (=quantiles) of standard distribution.&amp;nbsp; For example, the quantity&lt;/P&gt;
&lt;P&gt;z = quantile("normal", (1+p)/2);&lt;/P&gt;
&lt;P&gt;gives the quantile for the standard normal distribution with parameter (1+p)/2.&amp;nbsp; Similarly,&lt;/P&gt;
&lt;P&gt;chi2 = quantile("chisq", alpha, n-1);&lt;/P&gt;
&lt;P&gt;gives the quantile for the chi-square distribution with df=n-1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thus if you know the sample statistics, then I think the following DATA step gives you what you want, or at least will point you in the right direction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data limits;
/* input sample statistics and parameters */
xbar = 0;
s = 1;
n = 50;
p = 0.95;
alpha = 0.05;
/* compute Lower &amp;amp; Upper tolerance limits using QC formula */
z = quantile("normal", (1+p)/2);
chi2 = quantile("chisq", alpha, n-1);
delta = s*z*(1 + 1/(2*n))*sqrt( (n-1)/chi2 ); 
Lower = xbar - delta;
Upper = xbar + delta;
run;

proc print;run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Apr 2016 20:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267449#M14089</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-04-30T20:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267471#M14091</link>
      <description>Many thanks for your reply. However I am not interested in computing a tolerance interval but rather the percentage of the population that exceeds a specified limit to a specified level of confidence.&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2016 02:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267471#M14091</guid>
      <dc:creator>Maury_Hull</dc:creator>
      <dc:date>2016-05-01T02:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267490#M14093</link>
      <description>&lt;P&gt;Please provide data and expected output. Also a reference or example would be nice.&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 10:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/267490#M14093</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-01T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/878813#M43455</link>
      <description>&lt;P&gt;Presumably the limits were computed based on n samples: something like xbar +/- k(n,1-alpha,p)*s, where k-is a 2-sided tolerance factor (or 2-sided equal tailed tolerance factor) based on n samples, 1-alpha confidence, and p is minimum proportion of population captured by the interval.&amp;nbsp; Then no more than 1-p is outside the interval with 1-alpha confidence.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 19:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-Related-to-Tolerance-Intervals/m-p/878813#M43455</guid>
      <dc:creator>ScottNLong</dc:creator>
      <dc:date>2023-06-01T19:56:51Z</dc:date>
    </item>
  </channel>
</rss>

