<?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 I have a set of data and need help calculating the predicted values using regression analysis. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/I-have-a-set-of-data-and-need-help-calculating-the-predicted/m-p/541670#M7400</link>
    <description>&lt;P&gt;I have the following set of data, and I am trying to do a regression analysis to show a table of predicted values and residuals for the dataset and then plot the residuals versus x on a scatter plot. I have the following code so far and will greatly appreciate any help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA A;&lt;BR /&gt;INPUT x y;&lt;BR /&gt;cards;&lt;BR /&gt;10 8.04&lt;BR /&gt;8 6.95&lt;BR /&gt;13 7.58&lt;BR /&gt;9 8.81&lt;BR /&gt;11 8.83&lt;BR /&gt;14 9.96&lt;BR /&gt;6 7.24&lt;BR /&gt;4 4.26&lt;BR /&gt;12 10.84&lt;BR /&gt;7 4.82&lt;BR /&gt;5 5.68&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc reg data = A ; ods graphics on;&amp;nbsp;&lt;BR /&gt;MODEL y = x;&lt;BR /&gt;PLOT RESIDUAL. * x;&lt;BR /&gt;run; quit;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Mar 2019 07:11:54 GMT</pubDate>
    <dc:creator>Fara_I</dc:creator>
    <dc:date>2019-03-09T07:11:54Z</dc:date>
    <item>
      <title>I have a set of data and need help calculating the predicted values using regression analysis.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/I-have-a-set-of-data-and-need-help-calculating-the-predicted/m-p/541670#M7400</link>
      <description>&lt;P&gt;I have the following set of data, and I am trying to do a regression analysis to show a table of predicted values and residuals for the dataset and then plot the residuals versus x on a scatter plot. I have the following code so far and will greatly appreciate any help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA A;&lt;BR /&gt;INPUT x y;&lt;BR /&gt;cards;&lt;BR /&gt;10 8.04&lt;BR /&gt;8 6.95&lt;BR /&gt;13 7.58&lt;BR /&gt;9 8.81&lt;BR /&gt;11 8.83&lt;BR /&gt;14 9.96&lt;BR /&gt;6 7.24&lt;BR /&gt;4 4.26&lt;BR /&gt;12 10.84&lt;BR /&gt;7 4.82&lt;BR /&gt;5 5.68&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc reg data = A ; ods graphics on;&amp;nbsp;&lt;BR /&gt;MODEL y = x;&lt;BR /&gt;PLOT RESIDUAL. * x;&lt;BR /&gt;run; quit;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2019 07:11:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/I-have-a-set-of-data-and-need-help-calculating-the-predicted/m-p/541670#M7400</guid>
      <dc:creator>Fara_I</dc:creator>
      <dc:date>2019-03-09T07:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: I have a set of data and need help calculating the predicted values using regression analysis.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/I-have-a-set-of-data-and-need-help-calculating-the-predicted/m-p/541671#M7401</link>
      <description>&lt;P&gt;I believe this gives you all you describe &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
input x y;
cards;
10 8.04
8 6.95
13 7.58
9 8.81
11 8.83
14 9.96
6 7.24
4 4.26
12 10.84
7 4.82
5 5.68
;

ods graphics on; 
proc reg data = a; 
model y = x / r cli clm;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 09 Mar 2019 07:47:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/I-have-a-set-of-data-and-need-help-calculating-the-predicted/m-p/541671#M7401</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-03-09T07:47:45Z</dc:date>
    </item>
  </channel>
</rss>

