<?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: 4th order polynomial fit with two variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472556#M121180</link>
    <description>thanks, i got the predicted result and residual in result, how can I add them directly into the original table as two new column?</description>
    <pubDate>Fri, 22 Jun 2018 17:57:24 GMT</pubDate>
    <dc:creator>leonzheng</dc:creator>
    <dc:date>2018-06-22T17:57:24Z</dc:date>
    <item>
      <title>4th order polynomial fit with two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472546#M121176</link>
      <description>&lt;P&gt;I have a parameter (let's call it power) with x y coordinates. Now I need to do a 4th order polynomial fit for power, with x and y, equation should includes below terms:&lt;/P&gt;&lt;P&gt;x, y, x^2, x*y, y^2, x^3, x^2*y, x*y^2, y^3, x^4, x^3*y, x^2*y^2, x*y^3, y^4&lt;/P&gt;&lt;P&gt;Is there a function in SAS doing this? I saw some examples about doing polynomial prediction in SAS online, but they usually only fit y = f(x).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 17:32:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472546#M121176</guid>
      <dc:creator>leonzheng</dc:creator>
      <dc:date>2018-06-22T17:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: 4th order polynomial fit with two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472547#M121177</link>
      <description>&lt;P&gt;PROC GLM will do this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to write x^2 as x*x and x*y^3 as x*y*y*y and so on&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 17:36:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472547#M121177</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-22T17:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: 4th order polynomial fit with two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472556#M121180</link>
      <description>thanks, i got the predicted result and residual in result, how can I add them directly into the original table as two new column?</description>
      <pubDate>Fri, 22 Jun 2018 17:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472556#M121180</guid>
      <dc:creator>leonzheng</dc:creator>
      <dc:date>2018-06-22T17:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: 4th order polynomial fit with two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472558#M121181</link>
      <description>got it, thx</description>
      <pubDate>Fri, 22 Jun 2018 18:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/4th-order-polynomial-fit-with-two-variables/m-p/472558#M121181</guid>
      <dc:creator>leonzheng</dc:creator>
      <dc:date>2018-06-22T18:03:12Z</dc:date>
    </item>
  </channel>
</rss>

