<?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 let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469358#M71317</link>
    <description>&lt;P&gt;I believe this is what you want to do.&amp;nbsp; If you take the prediction formula from the model and run it through the Simplify Expr() function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Simplify Expr( Expr( 50.5 + 6.25 * ((:E - 17) / 6) + -8.75 * (:M - 4) + ((:E - 17) / 6) * ((:M - 4) * -33.75) ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you get&lt;/P&gt;
&lt;PRE&gt;(-314.708333333333) + 23.5416666666667 * :E + 86.875 * :M + -5.625 * :E * :M&lt;/PRE&gt;
&lt;P&gt;Look in the Scripting Index for syntax and an example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also go to the red triangle in the Formula Editor, and Select Simplify&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1647122472611.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40775i6E8D360C6E8BD42E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1647122472611.png" alt="txnelson_0-1647122472611.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1647122515463.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40776i5D7FD164D1E2D6BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1647122515463.png" alt="txnelson_1-1647122515463.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Mar 2022 22:02:05 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-03-12T22:02:05Z</dc:date>
    <item>
      <title>How to let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469338#M71315</link>
      <description>&lt;P&gt;When I do a full factorial DOE, and get my model (variables are E and M, y is response).&amp;nbsp; When I let the model "&lt;SPAN&gt;show prediction expression", it gives me a equation like this:&amp;nbsp; &amp;nbsp;y=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Leehappyjourney_0-1647118825588.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40774i6D126F9D45DA9DDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Leehappyjourney_0-1647118825588.png" alt="Leehappyjourney_0-1647118825588.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a not finished equation, it need you to calculate and simplify it further. I don't know why JMP do this weird things like this since for a statistic software, to give a final simplified equation is not a difficult thing, and yet JMP let me to do those further calculation. Even in Minitab, I can get a simplified equation, like y=a*E+b*M+c*EM+d*M*M+e (a~d are coefficients, e is constant).&lt;/P&gt;&lt;P&gt;Does anybody know in JMP, how do you get the calculated (simplified) prediction expression?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 21:08:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469338#M71315</guid>
      <dc:creator>Leehappyjourney</dc:creator>
      <dc:date>2023-06-08T21:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469357#M71316</link>
      <description>&lt;P&gt;I attached the DOE&amp;nbsp;&lt;SPAN&gt;JMP file here of my posted question.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 21:25:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469357#M71316</guid>
      <dc:creator>Leehappyjourney</dc:creator>
      <dc:date>2022-03-12T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469358#M71317</link>
      <description>&lt;P&gt;I believe this is what you want to do.&amp;nbsp; If you take the prediction formula from the model and run it through the Simplify Expr() function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Simplify Expr( Expr( 50.5 + 6.25 * ((:E - 17) / 6) + -8.75 * (:M - 4) + ((:E - 17) / 6) * ((:M - 4) * -33.75) ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you get&lt;/P&gt;
&lt;PRE&gt;(-314.708333333333) + 23.5416666666667 * :E + 86.875 * :M + -5.625 * :E * :M&lt;/PRE&gt;
&lt;P&gt;Look in the Scripting Index for syntax and an example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also go to the red triangle in the Formula Editor, and Select Simplify&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1647122472611.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40775i6E8D360C6E8BD42E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1647122472611.png" alt="txnelson_0-1647122472611.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1647122515463.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40776i5D7FD164D1E2D6BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_1-1647122515463.png" alt="txnelson_1-1647122515463.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 22:02:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469358#M71317</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-03-12T22:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469411#M71325</link>
      <description>&lt;P&gt;Sorry. I misread the original response. You can ignore this message since I am unable to delete it.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2022 20:17:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469411#M71325</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2022-03-13T20:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469414#M71326</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Thank you for your answer.&amp;nbsp; But my JMP 15 didn't have the simplify choice when I right click (see below picture), and I don't know how to use to script by adding text orders to script.&amp;nbsp; I don't know how to open the script editor, and I didn't find "how to open script editor" in the help as well. Could you please teach me how to open script editor and add the "Simplify Expr"&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;function to the script?&amp;nbsp; Thank you!&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bbbbb.JPG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40782i4F35A6AD3711BF25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bbbbb.JPG" alt="bbbbb.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 01:38:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469414#M71326</guid>
      <dc:creator>Leehappyjourney</dc:creator>
      <dc:date>2022-03-14T01:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to let JMP give me a calculated (simplified) prediction equation (with coefficients calculated already)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469415#M71327</link>
      <description>&lt;P&gt;Sorry, I just figured out according to your answer after my last post.&amp;nbsp; Please forget my last post.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 00:55:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-let-JMP-give-me-a-calculated-simplified-prediction/m-p/469415#M71327</guid>
      <dc:creator>Leehappyjourney</dc:creator>
      <dc:date>2022-03-14T00:55:07Z</dc:date>
    </item>
  </channel>
</rss>

