<?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: Proc Reg;  How to predict new observation? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/275472#M58565</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2016 17:22:53 GMT</pubDate>
    <dc:creator>Jolly</dc:creator>
    <dc:date>2016-06-06T17:22:53Z</dc:date>
    <item>
      <title>Proc Reg;  How to predict new observation?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274767#M58517</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I was wondering, how in the Proc Reg procedure can you simply predict a value, with a prediction interval, for a new observation? &amp;nbsp;Such as, you run proc reg and get the regrssion equation, then I want to calculate the predicted value and prediction interval when x=5.5.&lt;BR /&gt;&lt;BR /&gt;I am using SAS 9.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=regression;&lt;/P&gt;
&lt;P&gt;model y= x&lt;/P&gt;
&lt;P&gt;run;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Jeff S. O.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274767#M58517</guid>
      <dc:creator>Jolly</dc:creator>
      <dc:date>2016-06-02T19:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg;  How to predict new observation?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274780#M58518</link>
      <description>&lt;P&gt;Easiest is often to include X (predictor)&amp;nbsp;value(s) of interest with missing for the dependent variables.&lt;/P&gt;
&lt;P&gt;Then either options on the Model Statement or create an output set:&lt;/P&gt;
&lt;P&gt;Output out=want p=Ypredicted LCL=ylowerin LCLM=ylowermean UCL=yupperin UCLM=yuppermean;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ypredicted would be the associated Predicted Y for any X, including the ones with missing Y, the LCL and LCLM do lower confidence limits for single obs or the mean and UCL UCLM for the upper.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274780#M58518</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-06-02T19:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg;  How to predict new observation?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274781#M58519</link>
      <description>&lt;P&gt;Look at Proc Score.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A quick and dirty method is to include the values in your original dataset but leave the dependent variable blank/missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use the output statement with the p= option to get the predicted values out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 19:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274781#M58519</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-02T19:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg;  How to predict new observation?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274818#M58520</link>
      <description>&lt;P&gt;To deploy a PROC REG model on new data , Look at PROC SCORE.&lt;/P&gt;
&lt;P&gt;SAS/STAT(R) 14.1 User's Guide&lt;/P&gt;
&lt;P&gt;The SCORE Procedure&lt;/P&gt;
&lt;DIV class="xis-clear"&gt;&lt;!--startindex--&gt;Example 100.2 Regression Parameter Estimates&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_score_examples02.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_score_examples02.htm&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;See also:&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;Usage Note &lt;I&gt;33307: &lt;/I&gt;Scoring (computing predicted values) for new observations or a validation data set&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;&lt;A href="http://support.sas.com/kb/33/307.html" target="_blank"&gt;http://support.sas.com/kb/33/307.html&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="xis-clear"&gt;Koen&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jun 2016 21:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/274818#M58520</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2016-06-02T21:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg;  How to predict new observation?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/275472#M58565</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 17:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Reg-How-to-predict-new-observation/m-p/275472#M58565</guid>
      <dc:creator>Jolly</dc:creator>
      <dc:date>2016-06-06T17:22:53Z</dc:date>
    </item>
  </channel>
</rss>

