<?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: Why is my lack of fit p-value very small? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937094#M109237</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/93738"&gt;@Chemist9&lt;/a&gt;&amp;nbsp;: Are the&amp;nbsp;"line of points" nested within something that is not included in the model? i.e., is each "line of points" from a "run" or some other such blocking factor or experimental unit?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 10:39:35 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2026-03-24T10:39:35Z</dc:date>
    <item>
      <title>Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936707#M109199</link>
      <description>&lt;P&gt;Hello, JMP community. I have recently finished my experiments following an RSM design. I have inputted the data in the software and ran the model (accounting for interactions and RS). I have excluded the factors and interactions that were irrelevant based on the Effect Summary table. However, the lack of fit p-value remains very small (see screenshot below). I'm afraid the model is overfitting because while this is the case, my RSq value is high at 0.97-0.98 (I also know for a fact that this may not be a good indicator since there are nonlinear interactions among my factors).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have also tried the Stepwise modelling, and the lack of fit p-value did not improve. May I ask for help on what to do from here or what I should try to find the model that fits my data? I'm stuck at the moment and can't find the optimal conditions I'm looking for. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-23 100416.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96758iAD050F548EBBA22E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-23 100416.png" alt="Screenshot 2026-03-23 100416.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 02:12:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936707#M109199</guid>
      <dc:creator>Chemist9</dc:creator>
      <dc:date>2026-03-23T02:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936767#M109202</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/93738"&gt;@Chemist9&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Welcome in the Community !&lt;BR /&gt;&lt;BR /&gt;The &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/lack-of-fit.shtml" target="_self"&gt;Lack of Fit&lt;/A&gt; test is helpful to evaluate if your model fits the data well.&lt;BR /&gt;It's very difficult to help you only with a screenshot of this model report. Can you share more screenshots from the different part of the report (actual by predicted plot, residuals, etc...) or even better, the anonymized dataset ? A statistically significant p-value for this test indicates that the model error is largely bigger than the pure error, and that your model may not be adequate. &lt;BR /&gt;&lt;BR /&gt;This situation may happen in your example for several reasons:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If your model is "too simple" for the results/data you have collected, for example if there are some missing terms to model curvature in your data (through 2nd order terms, interaction, quadratic effects, or higher order effects). Based on which info did you remove some terms from the model (p-values only) ? What are the behaviour and performances of the full assumed model ? Since you have done an RSM model, where the target is optimization and prediction, I would recommend using several metrics to refine your model, such as model RMSE (precision of the model) and an information criterion (AICc/BIC) to help you evaluate and balance the complexity vs. accuracy trade-off of your model.&lt;/LI&gt;
&lt;LI&gt;If your replicated points have extremely low variance compared to the model. Are your replicates experiments independent from the other experiments ? How did you run these experiments ? Are they "true" replicates : you have created AND measured these experiments independently (not just measured a second/third time the same experiment) ?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I would also recommend to check the adequacy of your regression model through &lt;A href="https://www.jmp.com/en_us/statistics-knowledge-portal/what-is-regression/simple-linear-regression-as" target="_self"&gt;residuals analysis&lt;/A&gt;, to check if regression assumptions are met and if any patterns are detected in the residuals that could indicate model's inadequacy. If a pattern is visible, that might confirm that either some terms are missing from the model, or that a &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/boxcox-y-transformation.shtml#" target="_self"&gt;transformation&lt;/A&gt; may be needed to fit your data correctly.&lt;BR /&gt;&lt;BR /&gt;Hope this answer will help you,&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 08:18:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936767#M109202</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2026-03-23T08:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936776#M109203</link>
      <description>&lt;P&gt;Thank you for your helpful response,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11568"&gt;@Victor_G&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To give you a preview of what I have already explored so far:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I tried running the model where all possible two-way interactions and quadratic terms were included. I then excluded some terms based on their p-values indicated in the Effect summary table. I removed terms with p-value &amp;gt; 0.05 (except for Temperature since it has other important interactions with other factors).&lt;/LI&gt;
&lt;LI&gt;For the model where I removed the "insignificant" interactions, I got a normalized RMSE of 5.66%, which I believe is still acceptable for metallurgical processes that I am currently exploring. But let me know if we have a different standard on gauging a good or bad RMSE.&lt;/LI&gt;
&lt;LI&gt;I have not yet explored the&amp;nbsp;information criterion (AICc/BIC) you mentioned. Can I get this from modelling using the Stepwise personality?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Yes, my replicates were performed and measured independently. Is it possible that the model is already nitpicking because of the small variance?&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To further aid us in this discussion, here are the relevant plots you mentioned:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Actual by predicted: I personally do not see a pattern (S, etc.) but it looks like most points are concentrated at the upper right region&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-23 161004.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96796i699421CB5B211FD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-23 161004.png" alt="Screenshot 2026-03-23 161004.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Residual by predicted: I am unsure if there is a pattern on the plot, but I don't think it is randomly distributed.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-23 161254.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96797i21A747D8E10C73AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-23 161254.png" alt="Screenshot 2026-03-23 161254.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Studentized residuals: Based on my current understanding, since all the points lie inside the green and red boundaries, there are no outliers in my data that I need to remove.&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-23 161435.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96798i7CE12723DFB91A5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-23 161435.png" alt="Screenshot 2026-03-23 161435.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My problem now is I do not know where to go from here since I have very limited knowledge on these tools.&lt;/P&gt;
&lt;P&gt;As a new member of the community and JMP user, your response was really helpful. Looking forward to our discussion. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 08:19:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936776#M109203</guid>
      <dc:creator>Chemist9</dc:creator>
      <dc:date>2026-03-23T08:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936782#M109204</link>
      <description>&lt;P&gt;Ok, this is helpful.&lt;BR /&gt;Looking at the actual vs. predicted plot, it seems that some low values may be overestimated, and some high values may be underestimated. I'm also very curious about some "line of points" in these plots: are they replicates, or different points where a term is missing in the model to differentiate them ? &lt;BR /&gt;&lt;BR /&gt;The information criterion is an additional metric available in Fit Least Squares report in the &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/summary-of-fit.shtml#" target="_self"&gt;Summary of Fit&lt;/A&gt; panel.&lt;/P&gt;
&lt;P&gt;Yes, in cases where variance from replicated points is very small, you may get statistically significant lack-of-fit test, with an appropriate model (hence my question about "true" replicates, to make sure you have done them correctly and not underestimate natural experimental variation). You may also have statistically significant lack of fit test more easily with high number of centre points : &lt;A href="https://statease.com/blog/importance-center-points-central-composite-designs/#:~:text=The%206%20center%20point%20design,making%20the%20test%20almost%20meaningless" target="_blank" rel="noopener"&gt;https://statease.com/blog/importance-center-points-central-composite-designs/#:~:text=The%206%20center%20point%20design,making%20the%20test%20almost%20meaningless&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Please check the Box-cox transformation panel accessible in the Factor Profiling options, to make sure you don't need a small transformation to better fit your data. Percentage values responses usually need a &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/construct-model-effects.shtml" target="_self"&gt;LogitPct or LogisticPct&lt;/A&gt; transformation to make sure predicted values stay in the range from 0 to 100. These transformations should help reduce S patterns in the residuals and actual by predicted plots.&lt;BR /&gt;&lt;BR /&gt;Hope this follow-up will help you,&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 11:36:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/936782#M109204</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2026-03-23T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937001#M109225</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11568"&gt;@Victor_G&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;I tried doing your recommendations, and I think there has been some improvements in the model. However, I am still unsure if this is the best-fit model for my data.&lt;/P&gt;
&lt;P&gt;Those "line of points" you are referring to are true replicates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did the LogitPct and LogisticPct, and it seems that LogitPct works better for my set of data. I had a more realistic prediction profiler and a lower value for AICc compared to the LogisticPct. Doing this also limited the maximum Y response to 100%, which I was encountering previously. However, my lack of fit p-value is still very small, although the RMSE improved. Is it possible that I am still getting low LOF p-value because of my center points? I designed my experiments to follow Central composite design-RSM.&lt;/P&gt;
&lt;P&gt;I am also thinking of applying a higher-order model. Is there a way that JMP can suggest the possible higher-order interactions? Or is it done in the Fit model window manually?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-24 085616.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96883i6B44639EB7AD560B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-24 085616.png" alt="Screenshot 2026-03-24 085616.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-24 085622.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96884i2DB0892F7A5392B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-24 085622.png" alt="Screenshot 2026-03-24 085622.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-03-24 085630.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/96885i371F56F7CD10D415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-03-24 085630.png" alt="Screenshot 2026-03-24 085630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you very much for your helpful inputs!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 01:06:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937001#M109225</guid>
      <dc:creator>Chemist9</dc:creator>
      <dc:date>2026-03-24T01:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937066#M109232</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/93738"&gt;@Chemist9&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Ok, the model looks indeed much better from the screenshots you send.&lt;/P&gt;
&lt;P&gt;How many centre points do you have in your RSM ? If you look at my &lt;A href="https://statease.com/blog/importance-center-points-central-composite-designs/#:~:text=The%206%20center%20point%20design,making%20the%20test%20almost%20meaningless" target="_self"&gt;previous link from StatEase&lt;/A&gt;, common number of centre points is usually around 3 to 5. If you have a higher number of centre points, it's possible that you have increased drastically the sensitivity of the lack-of-fit test, and that the small p-value found is a "false positive". You can try to "hide and exclude" some centre points to see if the test diagnostic is still the same or not.&lt;/P&gt;
&lt;P&gt;You can also try to add other terms in your model manually in the Fit Model window. Which type of Central Composite RSM design have you chosen ? Face-centered ? If this is the case, that means you have three different levels per factor, so the order of your model will be limited to 2. You can still try to add &lt;A href="https://www.jmp.com/support/help/en/19.0/#page/jmp/construct-model-effects.shtml#ww223605" target="_self"&gt;partial cubic&lt;/A&gt; terms in the model, which are interactions between main effects and quadratic effects. These terms are usually rare, but if one of them is active, it could significantly improve your model.&lt;BR /&gt;&lt;BR /&gt;Finally, think about how you validate your model:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;What is the purpose of this model ? Optimization, prediction, knowledge building, etc... ? What are your criteria for success ?&lt;/LI&gt;
&lt;LI&gt;Does the model behaviour match your domain knowledge and expectations ?&lt;/LI&gt;
&lt;LI&gt;Are the precision of the predictions practically acceptable ?&lt;/LI&gt;
&lt;LI&gt;Are you planning to validate your model over the entire experimental space (by testing new experiments in untested locations of the experimental space) ? Or are you interested only in the optimum found by the model ?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;These non exhaustive questions can help you define when to stop improving your model and start using it.&lt;BR /&gt;Hope this answer will help you,&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 07:55:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937066#M109232</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2026-03-24T07:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937073#M109233</link>
      <description>&lt;P&gt;I agree with Victor that maybe your quadratic model is not able to explain the full response variation; your model might be more compex so checking the effect of higher order terms is interesting. I assume that your RSM is generated with a CCD? Augmenting your DOE to get a 3rd order model could be interesting to check effect on lack of fit p-value.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 08:39:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937073#M109233</guid>
      <dc:creator>frankderuyck</dc:creator>
      <dc:date>2026-03-24T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my lack of fit p-value very small?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937094#M109237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/93738"&gt;@Chemist9&lt;/a&gt;&amp;nbsp;: Are the&amp;nbsp;"line of points" nested within something that is not included in the model? i.e., is each "line of points" from a "run" or some other such blocking factor or experimental unit?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 10:39:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-is-my-lack-of-fit-p-value-very-small/m-p/937094#M109237</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2026-03-24T10:39:35Z</dc:date>
    </item>
  </channel>
</rss>

