<?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: Predicted values (yhat) using proc reg in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Predicted-values-yhat-using-proc-reg/m-p/769646#M244061</link>
    <description>&lt;P&gt;Look at the OUTPUT statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_reg_syntax10.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_reg_syntax10.htm&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=a;
   model y z=x1 x2;
   output out=b
      p=yhat zhat
      r=yresid zresid;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/360730"&gt;@georgel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to get the yhat as an extra column to my original data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the options that I have to use in proc reg?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you in advance&lt;/P&gt;
&lt;P&gt;george&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 18:47:50 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-09-22T18:47:50Z</dc:date>
    <item>
      <title>Predicted values (yhat) using proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Predicted-values-yhat-using-proc-reg/m-p/769643#M244058</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to get the yhat as an extra column to my original data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the options that I have to use in proc reg?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you in advance&lt;/P&gt;
&lt;P&gt;george&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 18:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Predicted-values-yhat-using-proc-reg/m-p/769643#M244058</guid>
      <dc:creator>georgel</dc:creator>
      <dc:date>2021-09-22T18:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Predicted values (yhat) using proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Predicted-values-yhat-using-proc-reg/m-p/769646#M244061</link>
      <description>&lt;P&gt;Look at the OUTPUT statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_reg_syntax10.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_reg_syntax10.htm&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=a;
   model y z=x1 x2;
   output out=b
      p=yhat zhat
      r=yresid zresid;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/360730"&gt;@georgel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to get the yhat as an extra column to my original data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the options that I have to use in proc reg?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you in advance&lt;/P&gt;
&lt;P&gt;george&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 18:47:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Predicted-values-yhat-using-proc-reg/m-p/769646#M244061</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-09-22T18:47:50Z</dc:date>
    </item>
  </channel>
</rss>

