<?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: Regression model does not provide correct quadratic equation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673439#M86095</link>
    <description>&lt;P&gt;Hello Victor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already completed the Design of Experiment Kit and will try to complete the STIPS course. Having said that, I also recently completed the DOE specialization from Arizona State University through Coursera.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These all are the questions which were not directly answered and where I had some confusion on how DOE would answer them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the previous example that I have shared, the linear factor by itself gave me R^2 adj of 0.967, and including the quadratic term bumped it up to 1. If this relation was not know why should someone include the quadratic term?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that&amp;nbsp;DOE is mainly used to identify the factors and interactions that are significant and other sophisticated modeling technique might be required to gain a better relationship between the response and factor especially if quadratic effects are present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Varun Katiyar&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2023 17:09:11 GMT</pubDate>
    <dc:creator>VarunK</dc:creator>
    <dc:date>2023-09-01T17:09:11Z</dc:date>
    <item>
      <title>Regression model does not provide correct quadratic equation</title>
      <link>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673330#M86089</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I created a 2^3 full factorial experiment with 4 center points. X1, X2 and X3&amp;nbsp; are the factors and Y is the response. X2 and X3 are just any random factor, but X1 is the radius and Y is the area. So mathematically relation is Y=3.14*X1^2&lt;/P&gt;&lt;P&gt;Below are the three scenarios where I computed regression equation based on just X1, both X1 and X1^2 and only X1^2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I only consider X1^2, it is no more significant. On further researching I came across Effect Heredity which states that we should have lower order effect included when we have higher order effect in our regression model. But than we will never be ale to find a relation that is pure quadratic as in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also mentioned the model details that I used to analyze the data. Does different setting give me a better answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if I have a serious flaw in my understanding and am doing a very basic mistake in understanding DOE.&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="VarunK_0-1693572401992.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56168i0EEFCFA885C633AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VarunK_0-1693572401992.png" alt="VarunK_0-1693572401992.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="VarunK_1-1693572513849.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56169i89108CB93AFD7650/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VarunK_1-1693572513849.png" alt="VarunK_1-1693572513849.png" /&gt;&lt;/span&gt;&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="VarunK_2-1693572524974.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56170iC1E94B5F38A172C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VarunK_2-1693572524974.png" alt="VarunK_2-1693572524974.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VarunK_3-1693572544270.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56171iCF3F7A9D7E8E3D11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VarunK_3-1693572544270.png" alt="VarunK_3-1693572544270.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="VarunK_4-1693572559003.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56172i5E5F17FDB0AF0EFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VarunK_4-1693572559003.png" alt="VarunK_4-1693572559003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Your help is highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Varun Katiyar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 12:50:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673330#M86089</guid>
      <dc:creator>VarunK</dc:creator>
      <dc:date>2023-09-01T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regression model does not provide correct quadratic equation</title>
      <link>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673394#M86091</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/49428"&gt;@VarunK&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Learning about DoE by yourself can be very difficult, and you'll very likely encounter a lot of questions or difficulties. I would highly encourage you to learn DoE and statistics with some basic hands-on free courses :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.jmp.com/en_us/events/getting-started-with-jmp/doe-intro-kit.html" target="_self"&gt;Design of Experiments Intro Kit&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://jmp.com/en_hk/online-statistics-course.html" target="_self"&gt;Statistical Thinking for Industrial Problem Solving&lt;/A&gt;&amp;nbsp;(there is a dedicated module for DoE)&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.jmp.com/t5/Design-of-Experiments-Club/DoE-Resources/m-p/635455" target="_self"&gt;Other ressources listed in the DoE Club&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Without some basic knowledge in stats and DoE, it will be very difficult to learn and understand how to use, define and apply DoE. It will also help you understand the &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/example-of-coded-doe-factors.shtml#" target="_self"&gt;factors coding&lt;/A&gt; seen in the prediction expressions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might also be better to practice on already defined use cases, as the one you create is not very representative on how a DoE would be used, it's more a mathematical/physical model than a research based on DoE, and may lack some attributes from DoE (effect heredity for example, no noise in the response, ...).&lt;/P&gt;
&lt;P&gt;Or you can also practice by using the &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/simulate-responses.shtml" target="_self"&gt;Simulate Response&lt;/A&gt; option in Custom design and specify a more complex model, with various degree of noise, and compare the model results with the theoritical simulated coefficients.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also your design doesn't have "centre points" as you mention, it's only &lt;STRONG&gt;middle points&lt;/STRONG&gt; &lt;STRONG&gt;for X1&lt;/STRONG&gt; (other factors X2 and X3 only have 2 levels) to estimate quadratic effects.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 14:55:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673394#M86091</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-09-01T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regression model does not provide correct quadratic equation</title>
      <link>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673439#M86095</link>
      <description>&lt;P&gt;Hello Victor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already completed the Design of Experiment Kit and will try to complete the STIPS course. Having said that, I also recently completed the DOE specialization from Arizona State University through Coursera.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These all are the questions which were not directly answered and where I had some confusion on how DOE would answer them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the previous example that I have shared, the linear factor by itself gave me R^2 adj of 0.967, and including the quadratic term bumped it up to 1. If this relation was not know why should someone include the quadratic term?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that&amp;nbsp;DOE is mainly used to identify the factors and interactions that are significant and other sophisticated modeling technique might be required to gain a better relationship between the response and factor especially if quadratic effects are present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Varun Katiyar&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 17:09:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673439#M86095</guid>
      <dc:creator>VarunK</dc:creator>
      <dc:date>2023-09-01T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regression model does not provide correct quadratic equation</title>
      <link>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673485#M86098</link>
      <description>&lt;P&gt;Actually, the regression coefficients are correct. You are not able to see it because of the default factor coding that JMP uses when analyzing a designed experiment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You see this prediction expression:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Obermiller_0-1693590711368.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56175iCDD17C5AED66FE3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Obermiller_0-1693590711368.png" alt="Dan_Obermiller_0-1693590711368.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice that we should not expect the slope parameter to be 3.14 because that is not what is multiplying X^2. Instead, the 706.5 is multiplying ((x1-25)/15)*((x1-25)/15)).&lt;/P&gt;
&lt;P&gt;If you save that prediction formula from the red triangle and open up that formula from the data table, you will see this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Obermiller_1-1693590959581.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56176i44104718C079F26E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Obermiller_1-1693590959581.png" alt="Dan_Obermiller_1-1693590959581.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now from the red triangle at the top (highlighted here), choose Simplify:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Obermiller_4-1693592226429.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56179iDB3BF4D450CA8014/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Obermiller_4-1693592226429.png" alt="Dan_Obermiller_4-1693592226429.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You will see the modified equation with the 3.14 that you expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Obermiller_5-1693592283729.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56180iF33D7FBF77708113/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Obermiller_5-1693592283729.png" alt="Dan_Obermiller_5-1693592283729.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The 3925-157*X1 appears because the model that I simplified only had the quadratic term in it. That leads to these "extra terms" that should not be part of what we know as the true model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now if we had fit the model following hierarchy (as recommended) and simplified this equation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Obermiller_0-1693592888094.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56181iECC570911542C99C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Obermiller_0-1693592888094.png" alt="Dan_Obermiller_0-1693592888094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;we will get exactly what you want (subject to round-off error)!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Obermiller_1-1693592944241.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56182i81681DE2BE57196D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dan_Obermiller_1-1693592944241.png" alt="Dan_Obermiller_1-1693592944241.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 18:29:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673485#M86098</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2023-09-01T18:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regression model does not provide correct quadratic equation</title>
      <link>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673932#M86139</link>
      <description>&lt;P&gt;Thank you, Dan:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was a great explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Varun Katiyar&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 03:27:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regression-model-does-not-provide-correct-quadratic-equation/m-p/673932#M86139</guid>
      <dc:creator>VarunK</dc:creator>
      <dc:date>2023-09-04T03:27:50Z</dc:date>
    </item>
  </channel>
</rss>

