<?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 How to display Regression Line and R-Squared value in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-display-Regression-Line-and-R-Squared-value/m-p/501786#M573</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I post this question because i didn't find the answer in internet.&lt;/P&gt;&lt;P&gt;I did a multiple linear regression and i would want to show the regression line and observated valus fit, but i don't know how to do this for&amp;nbsp;multiple variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this but i have error messages .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=house_decile lineprinter outest=residus_decile plots=fitplot ; 
model price = (lotsize bedrooms bathrms) ;
output out=prevres p=prev r=res ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Somebody knows how is the correct syntax ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you very much !&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 09:02:51 GMT</pubDate>
    <dc:creator>luciacossaro</dc:creator>
    <dc:date>2018-10-05T09:02:51Z</dc:date>
    <item>
      <title>How to display Regression Line and R-Squared value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-display-Regression-Line-and-R-Squared-value/m-p/501786#M573</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I post this question because i didn't find the answer in internet.&lt;/P&gt;&lt;P&gt;I did a multiple linear regression and i would want to show the regression line and observated valus fit, but i don't know how to do this for&amp;nbsp;multiple variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this but i have error messages .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=house_decile lineprinter outest=residus_decile plots=fitplot ; 
model price = (lotsize bedrooms bathrms) ;
output out=prevres p=prev r=res ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Somebody knows how is the correct syntax ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you very much !&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 09:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-display-Regression-Line-and-R-Squared-value/m-p/501786#M573</guid>
      <dc:creator>luciacossaro</dc:creator>
      <dc:date>2018-10-05T09:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Regression Line and R-Squared value</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-display-Regression-Line-and-R-Squared-value/m-p/501817#M578</link>
      <description>&lt;P&gt;With multiple regression, you can't really display the fitted line, in your case it would need 4 dimensions (three for X and one for Y). You can (and should) plot the residuals against each predictor variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also the PARTIAL option of the MODEL statement, which produces partial regression leverage plots, which are useful, but should not be interpreted as the plot of the fitted regression line.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 15:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-display-Regression-Line-and-R-Squared-value/m-p/501817#M578</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-05T15:07:35Z</dc:date>
    </item>
  </channel>
</rss>

