<?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: Formula for polynomial function / Finding Area under the Curve in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62318#M33593</link>
    <description>When fitting a polynomial JMP will center the independent variable to reduce collinearity. That is why you see (time - 3) in the equation (it is not an equal sign).&lt;BR /&gt;You should still be able to work with the equation in this form. But if you must have an uncentered form you can save the prediction formula, open the formula in the formula editor, and select the simplify option under the red triangle menu.</description>
    <pubDate>Mon, 09 Jul 2018 11:17:19 GMT</pubDate>
    <dc:creator>Dan_Obermiller</dc:creator>
    <dc:date>2018-07-09T11:17:19Z</dc:date>
    <item>
      <title>Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62315#M33592</link>
      <description>&lt;P&gt;So, I would like to find the Area under some curves. Actually quite many of them, so using the Trapezoid method manually won't work, and can't imagine it would be valid enough. There is some kind of function for this for ROC-curves, but is it usable for finding the AUC in curves, measureing blood substances over time (five times)?&lt;BR /&gt;&lt;BR /&gt;However, if I get a formula for a fitted Curve, I can use it to find AUC (Integral) in other software. For example, a Sixth degree polynomial. Here, I get the the function but I can't make sense of it (pic 1).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AUCJMP.PNG" style="width: 412px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11407iF61E0670C70B497A/image-dimensions/412x443?v=v2" width="412" height="443" role="button" title="AUCJMP.PNG" alt="AUCJMP.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;Polynomial functions are:&lt;IMG src="https://wikimedia.org/api/rest_v1/media/math/render/svg/e90604c4b13e7695572308d60f7ecc889484108c" border="0" alt="a_{n}x^{n}+a_{n-1}x^{n-1}+\dotsb +a_{2}x^{2}+a_{1}x+a_{0}," /&gt;&lt;BR /&gt;But I can't make sense of the Formula JMP provides me. Using only Time=3?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;By using a flexible smoothing spline fit, I can get some coeffecients, but those won't help me (pic 2)?&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AUCJMP2.PNG" style="width: 671px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11408i0DB42FBE6D12FA8F/image-dimensions/671x265?v=v2" width="671" height="265" role="button" title="AUCJMP2.PNG" alt="AUCJMP2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Would be grateful for tips getting the equation integral-ready and/or finding the AUC easily, for many subjects/curves.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 10:52:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62315#M33592</guid>
      <dc:creator>JohanJakobsson</dc:creator>
      <dc:date>2018-07-09T10:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62318#M33593</link>
      <description>When fitting a polynomial JMP will center the independent variable to reduce collinearity. That is why you see (time - 3) in the equation (it is not an equal sign).&lt;BR /&gt;You should still be able to work with the equation in this form. But if you must have an uncentered form you can save the prediction formula, open the formula in the formula editor, and select the simplify option under the red triangle menu.</description>
      <pubDate>Mon, 09 Jul 2018 11:17:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62318#M33593</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2018-07-09T11:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62319#M33594</link>
      <description>&lt;P&gt;Thank you. Hmm so "26 - 1,3333333*Time - 1,25*(Time-3)^2 + 0,3333333*(Time-3)^3 + 0,25*(Time-3)^4 + 0*(Time-3)^5 + 0*(Time-3)^6" would be the predicted formula? Will try.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 11:48:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62319#M33594</guid>
      <dc:creator>JohanJakobsson</dc:creator>
      <dc:date>2018-07-09T11:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62337#M33595</link>
      <description>&lt;P&gt;Ok, seems like I had to change the commas to dots, then I got something out of it.&lt;BR /&gt;&lt;BR /&gt;(Forth degree, not sixth, would be enough btw)&lt;BR /&gt;&lt;BR /&gt;First:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11423iE42122084CCA2D6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Formula1.PNG" alt="Formula1.PNG" /&gt;&lt;/span&gt;Then efter simplify:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Formula2.PNG" style="width: 361px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11424i54FC5908CE1A2B88/image-size/large?v=v2&amp;amp;px=999" role="button" title="Formula2.PNG" alt="Formula2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Hm is that a valid polynomial function? Having trouble integrating it atleast.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 12:08:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62337#M33595</guid>
      <dc:creator>JohanJakobsson</dc:creator>
      <dc:date>2018-07-09T12:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62340#M33596</link>
      <description>&lt;P&gt;the Fit Special dialog has a check box for centering.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Uncheck to get the simpler looking form of the equation" style="width: 631px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11425i26CF84F80AC383DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Uncheck to get the simpler looking form of the equation" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Uncheck to get the simpler looking form of the equation&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It looks like this dialog stops at degree 5.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 12:11:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62340#M33596</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-07-09T12:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62341#M33597</link>
      <description>&lt;P&gt;Ah! Yeah, thank you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now I got the formula looking like:&amp;nbsp;26 - 11,833333*Time + 9,25*Time^2 - 2,6666667*Time^3 + 0,25*Time^4&lt;BR /&gt;Will try to exchange Time for X and integrate..&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 12:19:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62341#M33597</guid>
      <dc:creator>JohanJakobsson</dc:creator>
      <dc:date>2018-07-09T12:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62342#M33598</link>
      <description>Wow, seems like it might be solved. Via an integral calculator.&lt;BR /&gt;&lt;BR /&gt;However a little time consuming for multiple curves but could do. Thank you!</description>
      <pubDate>Mon, 09 Jul 2018 12:25:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62342#M33598</guid>
      <dc:creator>JohanJakobsson</dc:creator>
      <dc:date>2018-07-09T12:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62352#M33607</link>
      <description>&lt;P&gt;You only have to&amp;nbsp;symbolically integrate the polynomial once, then evaluate it with different sets of fitted parameter estimates.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 13:35:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62352#M33607</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-07-09T13:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62355#M33610</link>
      <description>&lt;P&gt;Hmm. I'm about to compare the mean-AUC for some parameters, for 20 subjects divided into two groups.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 13:44:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62355#M33610</guid>
      <dc:creator>JohanJakobsson</dc:creator>
      <dc:date>2018-07-09T13:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62358#M33613</link>
      <description>&lt;P&gt;Anyone wondering about the centering: I think it helps numerical accuracy, potentially a lot. JMP uses double precision floating point numbers that can represent 15-16 digits. In this example you can see the two formulas agree to about 9 digits.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Centered and uncentered formulas" style="width: 741px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11426i084C60F8FBD4FADB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Centered and uncentered formulas" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Centered and uncentered formulas&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For Katie (row 1) the calculations look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;term&lt;/TD&gt;
&lt;TD&gt;centered&lt;/TD&gt;
&lt;TD&gt;uncentered&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;^0&lt;/TD&gt;
&lt;TD&gt;-100.391805727981&lt;/TD&gt;
&lt;TD&gt;-3850.46871657937&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;^1&lt;/TD&gt;
&lt;TD&gt;190.861948723194&lt;/TD&gt;
&lt;TD&gt;11664.6866311208&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;^2&lt;/TD&gt;
&lt;TD&gt;2.9439683570111&lt;/TD&gt;
&lt;TD&gt;-11635.8007229098&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;^3&lt;/TD&gt;
&lt;TD&gt;-0.852640295610253&lt;/TD&gt;
&lt;TD&gt;3914.14427943114&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Sum&lt;/TD&gt;
&lt;TD&gt;92.5614710566141&lt;/TD&gt;
&lt;TD&gt;92.5614710627333&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the uncentered column, the most significant digits in all of the terms are much bigger than the sum, and those most significant digits mean there is no room to represent more least significant digits.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:14:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62358#M33613</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-07-09T14:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for polynomial function / Finding Area under the Curve</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62359#M33614</link>
      <description>&lt;P&gt;Good point, Craige.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The centering also minimizes the correlations between the estimates. Otherwise, the correlations increase the standard errors of the estimates. The larger standard errors produce wider confidence interval estimates and smaller t-ratios for the same estimate. The smaller t-ratio will have a higher p-value. So correlations compromise the power of the decision about the estimate being significantly different from zero.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:20:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-for-polynomial-function-Finding-Area-under-the-Curve/m-p/62359#M33614</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-07-09T14:20:16Z</dc:date>
    </item>
  </channel>
</rss>

