<?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: How to do an Inverse regression in SAS? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185578#M9630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hahaha Now I saw what you did. Just replace b1 by the maximum value of X.&lt;/P&gt;&lt;P&gt;Thanks a lot! Saving lives!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 15:23:45 GMT</pubDate>
    <dc:creator>marcioadg</dc:creator>
    <dc:date>2014-10-17T15:23:45Z</dc:date>
    <item>
      <title>How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185565#M9617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would someone help me on How to do an Inverse regression in SAS?&lt;/P&gt;&lt;P&gt;I actually need to generate Confidence interval of the response variable to a quadratic polynomial model,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 15:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185565#M9617</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-15T15:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185566#M9618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haven't done an inverse regression in years, but here goes on what I would do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Regress y on x and x*x&lt;/P&gt;&lt;P&gt;2. Get confidence bounds on predicted value of interest.&lt;/P&gt;&lt;P&gt;3. Plug in upper bound as Y, and solve for x (IML would be a big help here).&lt;/P&gt;&lt;P&gt;4. Repeat for lower bound, thus giving inverted confidence bounds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe somebody has a macro, or knows the right PROC, to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 18:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185566#M9618</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-15T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185567#M9619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, I appreciate your prompt response.&lt;/P&gt;&lt;P&gt;Could you elaborate on Step 3?&lt;/P&gt;&lt;P&gt;I only used IML for creating contrast coefficients for unequal spaced levels of treatments.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 15:17:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185567#M9619</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-16T15:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185568#M9620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a general regression model, you need to find the value of x that is mapped to a particular Y. For the general case you need to solve an inverse problem by using the &lt;A href="http://support.sas.com/documentation/cdl/en/imlug/66845/HTML/default/viewer.htm#imlug_langref_sect139.htm"&gt;FROOT function &lt;/A&gt;or the bisection method.&amp;nbsp; For a quadratic polynomial model I don't see the need for IML: just use the quadratic formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 19:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185568#M9620</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-10-16T19:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185569#M9621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick, &lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Could you expand on the "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;just use the quadratic formula", Do I use that on the FROOT function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Marcio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 19:39:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185569#M9621</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-16T19:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185570#M9622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wikipedia provides the formula&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Quadratic_equation" title="https://en.wikipedia.org/wiki/Quadratic_equation"&gt;Quadratic equation - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 20:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185570#M9622</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-10-16T20:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185571#M9623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paige, Thanks!&lt;/P&gt;&lt;P&gt;I know the formula for a quadratic equation.&lt;/P&gt;&lt;P&gt;My question is : How do I generate a Confidence interval of the response variable to a quadratic polynomial model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 20:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185571#M9623</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-16T20:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185572#M9624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upon re-reading your question, I see that you want confidence intervals, not just the x value that corresponds to the specified Y value. Although the mean model is quadratic, the unpper and lower prediction limits are not quadratic, so I retract my statement about using the quadratic equation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's use an example to see if I understand what I think you want to do. Please correct me if I am wrong. Suppose that you want to model WEIGHT in the sashelp.class data set by a quadratic function of HEIGHT.&amp;nbsp; You could run the following regression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;proc glm data=sashelp.class;&lt;/P&gt;&lt;P&gt;model weight = height height*height;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that you have a particular response value such as Weight=100. You want to find the top of the prediction limits and the bottom of the prediciton limits and use those values to find x_min and x_max. In the following image, x_min=55.5 and x_max=69.&amp;nbsp;&amp;nbsp; Is that correct?&amp;nbsp; Or do you want to use the mean prediction (the light blue band) to find x_min and x_max, which will result in a narrower interval?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="FitPlot.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/7643_FitPlot.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185572#M9624</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-10-17T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185573#M9625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick,&lt;/P&gt;&lt;P&gt;I appreciate your answer. I think we are getting to understand each other. See, in the image below, I am predicting the animal's requirement for a given nutrient. There requirement is at the level in which the nutrient maximizes growth. So say it the level of the nutrient is 0.20% (x axis). I would like to know the CI for that value, say 0.17-0.22%. Does that makes sense?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/7644_chart.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185573#M9625</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-17T13:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185574#M9626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh. That is different. One of the statisticians ought to be able to describe how to do this.&amp;nbsp; I think it uses the standard error of the estimate for the quadratic coefficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 14:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185574#M9626</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-10-17T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185575#M9627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simpler approach would be to reparameterize your quadratic equation so that the position of the maximum is one of the parameters. That way you would get your confidence interval as a result of the regression.&lt;/P&gt;&lt;P&gt;So, for example, replace your equation Y = a + b*X + c*X**2 by Y = a - 2*c*Xm*X + c*X**2 where Xm is the position of the maximum that will be estimated by the regression procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 15:00:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185575#M9627</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-10-17T15:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185576#M9628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PGStat,&lt;/P&gt;&lt;P&gt;Thanks ! It worked great. Now, do you know where I can find a reference for this information that you provided? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 15:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185576#M9628</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-17T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185577#M9629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basic calculus. Very old stuff. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 15:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185577#M9629</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-10-17T15:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to do an Inverse regression in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185578#M9630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hahaha Now I saw what you did. Just replace b1 by the maximum value of X.&lt;/P&gt;&lt;P&gt;Thanks a lot! Saving lives!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 15:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-an-Inverse-regression-in-SAS/m-p/185578#M9630</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-17T15:23:45Z</dc:date>
    </item>
  </channel>
</rss>

