<?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 regression equation with gplot in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/regression-equation-with-gplot/m-p/616838#M29724</link>
    <description>&lt;P&gt;Hello again, I have another question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4. I run a&amp;nbsp; regression procedure using proc surveyreg and output residuals and predicted values which I was interested in. Now I want to obtain a predicted value of my dependent variable at a specific value of my independent variable. I thought about running regression again this time using the predicted values as my dependent valuable and use the intercept and slope from the table to manually calculate it but I am not sure this works. I used proc gplot to plot predicted values vs independent variable but could not obtain regression equation. What is the best way of doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data=Project1.DII_Q;&lt;BR /&gt;strata kstrata;&lt;BR /&gt;cluster psu;&lt;BR /&gt;weight pooled_wt;&lt;BR /&gt;model DII = N_EN;&lt;BR /&gt;output out=Project1.DII_Adj predicted=DII_pred residual = DII_resid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gplot data=Project1.DII_Adj ;&lt;BR /&gt;plot DII_pred* N_EN/regeqn;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 03:16:09 GMT</pubDate>
    <dc:creator>Prest</dc:creator>
    <dc:date>2020-01-13T03:16:09Z</dc:date>
    <item>
      <title>regression equation with gplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression-equation-with-gplot/m-p/616838#M29724</link>
      <description>&lt;P&gt;Hello again, I have another question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4. I run a&amp;nbsp; regression procedure using proc surveyreg and output residuals and predicted values which I was interested in. Now I want to obtain a predicted value of my dependent variable at a specific value of my independent variable. I thought about running regression again this time using the predicted values as my dependent valuable and use the intercept and slope from the table to manually calculate it but I am not sure this works. I used proc gplot to plot predicted values vs independent variable but could not obtain regression equation. What is the best way of doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data=Project1.DII_Q;&lt;BR /&gt;strata kstrata;&lt;BR /&gt;cluster psu;&lt;BR /&gt;weight pooled_wt;&lt;BR /&gt;model DII = N_EN;&lt;BR /&gt;output out=Project1.DII_Adj predicted=DII_pred residual = DII_resid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gplot data=Project1.DII_Adj ;&lt;BR /&gt;plot DII_pred* N_EN/regeqn;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 03:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression-equation-with-gplot/m-p/616838#M29724</guid>
      <dc:creator>Prest</dc:creator>
      <dc:date>2020-01-13T03:16:09Z</dc:date>
    </item>
    <item>
      <title>Regression equation on a gplot</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/regression-equation-with-gplot/m-p/616837#M29725</link>
      <description>&lt;P&gt;Hello again, I have another question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4. I run a&amp;nbsp; regression procedure using proc surveyreg and output residuals and predicted values which I was interested in. Now I want to obtain a predicted value of my dependent variable at a specific value of my independent variable. I thought about running regression again this time using the predicted values as my dependent valuable and use the intercept and slope from the table to manually calculate it but I am not sure this works. I used proc gplot to plot predicted values vs independent variable but could not obtain regression equation. What is the best way of doing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyreg data=Project1.DII_Q;&lt;BR /&gt;strata kstrata;&lt;BR /&gt;cluster psu;&lt;BR /&gt;weight pooled_wt;&lt;BR /&gt;model DII = N_EN;&lt;BR /&gt;output out=Project1.DII_Adj predicted=DII_pred residual = DII_resid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc gplot data=Project1.DII_Adj ;&lt;BR /&gt;plot DII_pred* N_EN/regeqn;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 03:14:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/regression-equation-with-gplot/m-p/616837#M29725</guid>
      <dc:creator>Prest</dc:creator>
      <dc:date>2020-01-13T03:14:22Z</dc:date>
    </item>
  </channel>
</rss>

