<?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 get nonlinear prediction with two variables in JMP? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17866#M16291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also found an example of fitting data to a Weibull Distribution via the Non-Linear platform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 13:32:43 GMT</pubDate>
    <dc:creator>DaveLee</dc:creator>
    <dc:date>2016-04-07T13:32:43Z</dc:date>
    <item>
      <title>How to get nonlinear prediction with two variables in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17863#M16288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to get nonlinear prediction with two variables in JMP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 19:40:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17863#M16288</guid>
      <dc:creator>hemi_timken_com</dc:creator>
      <dc:date>2016-04-06T19:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear prediction with two variables in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17864#M16289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hemi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My suggestions below are based on a best guess as to what you want to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option you can try is to transform either your response data or your inputs of interest or both.&amp;nbsp; Try using either a log, Ln, or square root transformation to try and to make the data more linear.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do all of this directly in the Fit Model platform.&amp;nbsp; By doing this in Fit Model you can use as many variables as you want to build the model.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can right click on any variable you want to transform in the column pick list and create a temporary transformation column to be used in the analysis.&amp;nbsp; If this transformation works you can then save the column to the data table by right clicking on the temporary column and choosing to save the column.&amp;nbsp; If you choose to transform your response data make sure to select the column as a response in the Fit Model platform, highlight the&amp;nbsp; "Y" column and then go to the Transform drop down in the lower middle of the dialogue box.&amp;nbsp; By setting the transformation this way your predicted response will be reported out in the original (not transformed) values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to build a formula in a new column that incorporates the variables of interest.&amp;nbsp; You can then use that formula for the "X" in the nonlinear platform to develop your model.&amp;nbsp; This is especially useful and important if you are using a first principles equation that has additional parameters associated with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever you choose to do make sure to save your prediction formula back to your data table.&amp;nbsp; Go to Graph &amp;gt; Profiler and select your prediction formula column for Y,Prediction Formula.&amp;nbsp; Be sure to select Expand Intermediate Formulas in the lower left and select OK.&amp;nbsp; This will allow you see how multiple variables influence the overall prediction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:05:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17864#M16289</guid>
      <dc:creator>Bill_Worley</dc:creator>
      <dc:date>2016-04-07T13:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear prediction with two variables in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17865#M16290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often use a non-linear model to fit data.&amp;nbsp; I'll attach a snippet of code with the hope that it will point you in a direction.&amp;nbsp; I create a formula column and then run a Non_linear Fit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fade=Current Data Table();&lt;/P&gt;&lt;P&gt;Fade&amp;lt;&amp;lt;New Column("Stretched Exponential", Numeric, Continuous, Formula(Parameter( {a=1, b=-0.01, c=0.2}, a*exp(b*:Hours^c))));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f=Fade&amp;lt;&amp;lt;Nonlinear(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y( :Name("Std Light Output1") ),&amp;nbsp; //This is our measure of light output for an OLED panel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X( :Name( "Stretched Exponential" ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Iteration Limit( 100000 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unthreaded( 1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Newton,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Finish,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; By( :Dev ID ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Custom Inverse Prediction( Response( 0.9, 0.95 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Term Value( Hours( . ) ) )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_rep = f &amp;lt;&amp;lt;report;&lt;/P&gt;&lt;P&gt;rep=Report( f[1] )[Outline Box (3)][Table Box(1)] &amp;lt;&amp;lt; Make Combined Data Table;&lt;/P&gt;&lt;P&gt;rep=current data table()&amp;lt;&amp;lt;Set Name("MSE Report");&lt;/P&gt;&lt;P&gt;rep=current data table();&lt;/P&gt;&lt;P&gt;rep&amp;lt;&amp;lt;Save(::results || " MSE Report.jmp");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;life=Report( f[1] )[Outline Box (6)][Table Box(1)] &amp;lt;&amp;lt; Make Combined Data Table;&lt;/P&gt;&lt;P&gt;life&amp;lt;&amp;lt;Current Data Table&amp;lt;&amp;lt;Set Name("Combined Life Predictions");&lt;/P&gt;&lt;P&gt;life=Current Data Table();&lt;/P&gt;&lt;P&gt;life&amp;lt;&amp;lt;New Column("Exp No", character, formula(Substr(&amp;nbsp; :Dev ID , 1, 10 )));&lt;/P&gt;&lt;P&gt;life&amp;lt;&amp;lt;Save(::results || " Combined T90 Predictions.jmp");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:25:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17865#M16290</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2016-04-07T13:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear prediction with two variables in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17866#M16291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also found an example of fitting data to a Weibull Distribution via the Non-Linear platform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:32:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-prediction-with-two-variables-in-JMP/m-p/17866#M16291</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2016-04-07T13:32:43Z</dc:date>
    </item>
  </channel>
</rss>

