<?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 does SAS calculate lower and upper bounds in proc reg? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693145#M33447</link>
    <description>just to understand how it is calculated. I am not doubting that SAS is right</description>
    <pubDate>Wed, 21 Oct 2020 12:56:03 GMT</pubDate>
    <dc:creator>adrfinance</dc:creator>
    <dc:date>2020-10-21T12:56:03Z</dc:date>
    <item>
      <title>How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/692917#M33431</link>
      <description>&lt;P&gt;In a proc reg code like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=data1 PLOTS(MAXPOINTS=none);&lt;BR /&gt;model var = var2 /noint;&lt;BR /&gt;where var3="var5" ;&lt;BR /&gt;OUTPUT OUT=data2 p=yhat r=resid1 rstudent=rstud1 ucl=yhatupper lcl=yhatlower;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How does sas calculate ucl and lcl? If I want to calculate these in Excel how can do it?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/692917#M33431</guid>
      <dc:creator>adrfinance</dc:creator>
      <dc:date>2020-10-20T15:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/692941#M33434</link>
      <description>Formulas are here:&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_details25.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_reg_details25.htm&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I wouldn't recommend trying to calculate it manually unless you have no choice. If you need estimates for new predictions you can get those from PROC PLM or SCORE if not directly from PROC REG.</description>
      <pubDate>Tue, 20 Oct 2020 16:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/692941#M33434</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-20T16:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693119#M33443</link>
      <description>&lt;P&gt;I don't mean to sound snarky, but asking how to calculate something in Excel when SAS already calculates it for you is like asking how to drive a chariot when you already own a Porsche.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693119#M33443</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-10-21T12:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693125#M33444</link>
      <description>&lt;P&gt;if you have to calculate it by yourself for your work then you have to try and understand it and be able to implement it in other software as well.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:18:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693125#M33444</guid>
      <dc:creator>adrfinance</dc:creator>
      <dc:date>2020-10-21T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693136#M33445</link>
      <description>&lt;P&gt;If you have SAS, why implement it in some other software? SAS has spent lots of man-hours debugging their code, and validating the code, and it has been tested in approximately 5,378,022 real-world applications, and it has also been validated by the FDA and probably others. If you write the code yourself, you aren't going to put the effort into it that SAS has put into it, and your self-written code can be more easily questioned and can be more easily incorrect.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693136#M33445</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-21T12:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693142#M33446</link>
      <description>&lt;P&gt;Then do it by hand.&amp;nbsp; The act of putting pencil to paper will do more to make this understandable than trying to write code that already exists in so many other places.&amp;nbsp; If you need the values for future computations in Excel, then learning to export the values via ODS and a libname would be more apt to be usable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693142#M33446</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-10-21T12:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693145#M33447</link>
      <description>just to understand how it is calculated. I am not doubting that SAS is right</description>
      <pubDate>Wed, 21 Oct 2020 12:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693145#M33447</guid>
      <dc:creator>adrfinance</dc:creator>
      <dc:date>2020-10-21T12:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How does SAS calculate lower and upper bounds in proc reg?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693216#M33449</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/300616"&gt;@adrfinance&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;if you have to calculate it by yourself for your work then you have to try and understand it and be able to implement it in other software as well.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;From an academic standpoint I agree, and you should especially understand the difference between a confidence interval and a prediction interval.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should do it at least once to understand it, that usually occurs in an introduction to linear regression math course. Regression CI are fairly standard so I wouldn't expect SAS implementation to be significantly different in any manner so using the formula's in any standard reference book is fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an R example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://rstudio-pubs-static.s3.amazonaws.com/195401_20b3272a8bb04615ae7ee4c81d18ffb5.html" target="_blank"&gt;https://rstudio-pubs-static.s3.amazonaws.com/195401_20b3272a8bb04615ae7ee4c81d18ffb5.html&lt;/A&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 15:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-does-SAS-calculate-lower-and-upper-bounds-in-proc-reg/m-p/693216#M33449</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-21T15:11:46Z</dc:date>
    </item>
  </channel>
</rss>

