<?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: Question Related to Tolerance Intervals in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/278134#M58834</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;for your answer, and how to&amp;nbsp;use&amp;nbsp;it with GML.&lt;/P&gt;
&lt;P&gt;As you see from my plot from Wednesday last week, I had some implementation too.&lt;/P&gt;
&lt;P&gt;(I did not make a literature search, Young's paper, which I quoted, is one out of (possibly) many, and probably several possible approximate formulae exist; so it is not clear to me, which paper/approximation/formula to use, e.g., STDP or STDI, or use other definitions of n_i etc.?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My original intention by the&amp;nbsp;click on the button "software suggestion" on the SAS-webside was, that&amp;nbsp;&lt;BR /&gt;I thought that SAS could implement a "reference TI for regression" like&amp;nbsp;they have for "TI of samples" in PROC CAPABILITY.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2016 08:48:35 GMT</pubDate>
    <dc:creator>boehrer</dc:creator>
    <dc:date>2016-06-17T08:48:35Z</dc:date>
    <item>
      <title>Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275674#M58584</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder why there is no tolerance interval for linear regression (GLM) and for nonlinear regression (NLIN).&lt;/P&gt;
&lt;P&gt;I tried with the paper of Young DS (2010) used in R-project.&lt;/P&gt;
&lt;P&gt;But I am not sure, there seem to be more papers on tolerance intervals with different (aproximate) formulae;&lt;/P&gt;
&lt;P&gt;so if SAS had one, this would be a nice reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.&lt;/P&gt;
&lt;P&gt;NOTE: SAS (r) Proprietary Software 9.4 (TS1M1)&lt;/P&gt;
&lt;P&gt;NOTE: This session is executing on the X64_7PRO platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275674#M58584</guid>
      <dc:creator>boehrer</dc:creator>
      <dc:date>2016-06-07T14:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275710#M58587</link>
      <description>&lt;P&gt;The &lt;A href="https://support.sas.com/documentation/cdl/en/statugglm/61789/PDF/default/statugglm.pdf" target="_self"&gt;SAS PROC GLM guide&lt;/A&gt; mentions the TOLERANCE option on page 2472. See also options for generating confidence intervals, on that same page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might have to play around with it a bit. If TOLERANCE doesn't produce the intervals you are looking for, you might have to use ALPHA=p and customize the p value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also tolerance intervals for the CAPABILITY procedure; see &lt;A href="http://support.sas.com/documentation/cdl/en/qcug/63922/HTML/default/viewer.htm#qcug_capability_a0000001549.htm" target="_self"&gt;here&lt;/A&gt; and &lt;A href="http://www.okstate.edu/sas/v8/saspdf/qc/chap6.pdf" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275710#M58587</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-06-07T15:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275718#M58588</link>
      <description>Hello, in your references TOLERANCE and PROC CAPABILITY, the intervals are for samples, but nor for regression.&lt;BR /&gt;See below my try: some random data&lt;BR /&gt;Plotted are the data together with&lt;BR /&gt;The regression line (black), the confidence interval (green short dashed), prediction interval (red), tolerance interval (blue dashed).&lt;BR /&gt;I am not sure, if Young's formula is the best. If there was an implementation in SAS I would take these as being reliable...&lt;BR /&gt;Kind regards, Armin Böhrer&lt;BR /&gt;[Plot of plot_value by time identified by plot_ident]&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:50:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275718#M58588</guid>
      <dc:creator>boehrer</dc:creator>
      <dc:date>2016-06-07T15:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275723#M58590</link>
      <description>&lt;P&gt;Hi Armin, I understand now that PROC CAPABILITY is more for quality analysis, and not what you are looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The image isn't showing up... I'm not sure it uploaded correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 15:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275723#M58590</guid>
      <dc:creator>paulkaefer</dc:creator>
      <dc:date>2016-06-07T15:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275930#M58600</link>
      <description>&lt;P&gt;Figure added as an attachment&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12642iF94CBBAB0BA098DB/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="GLM_CIPITI_for_regressionYofX.png" title="GLM_CIPITI_for_regressionYofX.png" /&gt;</description>
      <pubDate>Wed, 08 Jun 2016 11:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/275930#M58600</guid>
      <dc:creator>boehrer</dc:creator>
      <dc:date>2016-06-08T11:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276081#M58619</link>
      <description>&lt;P&gt;Could you provide a full reference? Kind of hard to search for "Young DS (2010)"&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276081#M58619</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-08T19:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276086#M58620</link>
      <description>&lt;P&gt;The TOLERANCE option on the PROC GLM MODEL statement has nothing to do with statistical tolerance intervals. It refers to a quantity that is relevant&amp;nbsp;in numerical matrix computations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There was a similar question asked recently. See the reply by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh﻿&lt;/a&gt;&amp;nbsp;who mentions a SAS macro at&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Non-parametric-Tolerance-Interval-in-SAS-9-2/m-p/239541#M55533" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Non-parametric-Tolerance-Interval-in-SAS-9-2/m-p/239541#M55533&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:45:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276086#M58620</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-08T19:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276478#M58673</link>
      <description>&lt;P&gt;Hello, the Reference&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;„Young, D. S. (2010), tolerance: An R Package for Estimating Tolerance Intervals, Journal of Statistical Software, 36(5), 1–39.” &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is one among others of the references listed in the R-package ‘tolerance’.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 12:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276478#M58673</guid>
      <dc:creator>boehrer</dc:creator>
      <dc:date>2016-06-10T12:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276511#M58676</link>
      <description>&lt;P&gt;The formulas on p. 32 of your reference indicated that the tolerance limits can be derived from the GLM output by doing the following:&lt;/P&gt;
&lt;P&gt;1. Output the predicted values (P=y_hat) and the standard error of the individual predicted values (STDI=stdErr_yhat)&lt;/P&gt;
&lt;P&gt;2. Use ODS OUPUT to obtain the RMSE (sigma_hat), n (nonmissing obs), and p (number of regression parameters)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then write a DATA step to compute two-sided tolerance limits:&lt;/P&gt;
&lt;P&gt;1. Effective number of obs n_i = sigma_hat**2 / stdErr_yhat**2&lt;/P&gt;
&lt;P&gt;2. Use the QUANTILE function to obtain the Pth quantile of the noncentral chi-square distrib with 1 dof and noncentrality parameter 1/n_i&lt;/P&gt;
&lt;P&gt;3. Compute k_2i&lt;/P&gt;
&lt;P&gt;4. Form the tolerance limits as L = y_hat - sigma_hat * k_2i&amp;nbsp; and&amp;nbsp;U = y_hat&amp;nbsp;+ sigma_hat * k_2i&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To overlay the data, the predicted values, and the tolerance limits, use PROC SGPLOT with three statements:&lt;/P&gt;
&lt;P&gt;band x=x lower=L upper=U;&lt;/P&gt;
&lt;P&gt;scatter x=x y=y;&lt;/P&gt;
&lt;P&gt;series x=y y=y_hat;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/276511#M58676</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-06-10T14:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question Related to Tolerance Intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/278134#M58834</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;for your answer, and how to&amp;nbsp;use&amp;nbsp;it with GML.&lt;/P&gt;
&lt;P&gt;As you see from my plot from Wednesday last week, I had some implementation too.&lt;/P&gt;
&lt;P&gt;(I did not make a literature search, Young's paper, which I quoted, is one out of (possibly) many, and probably several possible approximate formulae exist; so it is not clear to me, which paper/approximation/formula to use, e.g., STDP or STDI, or use other definitions of n_i etc.?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My original intention by the&amp;nbsp;click on the button "software suggestion" on the SAS-webside was, that&amp;nbsp;&lt;BR /&gt;I thought that SAS could implement a "reference TI for regression" like&amp;nbsp;they have for "TI of samples" in PROC CAPABILITY.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 08:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Question-Related-to-Tolerance-Intervals/m-p/278134#M58834</guid>
      <dc:creator>boehrer</dc:creator>
      <dc:date>2016-06-17T08:48:35Z</dc:date>
    </item>
  </channel>
</rss>

