<?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 How to pick independence parameters to optimize regression model in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928667#M108591</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;During performing Fit model, I found that picking different parameters will generate different outcomes. After having the model, I try to take a look on data points with high Studentized Residual and validate whether they are valid or not . I need to repeat the task of picking parameters a lot of time to get the proper model. Lets take a look on an example below&lt;/P&gt;
&lt;P&gt;Model 1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhamBao_0-1770115901201.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/92927iEA69FA83B14603C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhamBao_0-1770115901201.png" alt="PhamBao_0-1770115901201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Model 2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhamBao_1-1770115938423.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/92928i3DB79C6FBF36AB55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhamBao_1-1770115938423.png" alt="PhamBao_1-1770115938423.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see that, Model 2 has a lot of data points with high Studentized Residual compared to Model 1's. When I validated these data points with high Studentized Residual, these data points were data points&amp;nbsp; categorized as Bad. It seems that Model 2 is more robust&lt;BR /&gt;&lt;BR /&gt;My question is although 2 models have high RSquare scores, why Model 2 could screen out more bad data points. It could be because of parameters that I picked for creating the model&lt;BR /&gt;Questions:&lt;BR /&gt;-If I classify data points as Good/Bad in new column of data set, is there any method in JMP could suggest which parameters that I should pick, so that the model could be more robust to screen out Bad data points.&lt;BR /&gt;&lt;BR /&gt;-If I do not classify data points ,&amp;nbsp; is there any method in JMP could suggest which parameters that I should pick, so that the model could be more robust to screen out Bad data points.&lt;BR /&gt;&lt;BR /&gt;Hopefully I could get advice from the community&lt;BR /&gt;&lt;BR /&gt;Appreciates&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 11:02:37 GMT</pubDate>
    <dc:creator>PhamBao</dc:creator>
    <dc:date>2026-02-03T11:02:37Z</dc:date>
    <item>
      <title>How to pick independence parameters to optimize regression model</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928667#M108591</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;During performing Fit model, I found that picking different parameters will generate different outcomes. After having the model, I try to take a look on data points with high Studentized Residual and validate whether they are valid or not . I need to repeat the task of picking parameters a lot of time to get the proper model. Lets take a look on an example below&lt;/P&gt;
&lt;P&gt;Model 1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhamBao_0-1770115901201.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/92927iEA69FA83B14603C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhamBao_0-1770115901201.png" alt="PhamBao_0-1770115901201.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Model 2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhamBao_1-1770115938423.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/92928i3DB79C6FBF36AB55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhamBao_1-1770115938423.png" alt="PhamBao_1-1770115938423.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see that, Model 2 has a lot of data points with high Studentized Residual compared to Model 1's. When I validated these data points with high Studentized Residual, these data points were data points&amp;nbsp; categorized as Bad. It seems that Model 2 is more robust&lt;BR /&gt;&lt;BR /&gt;My question is although 2 models have high RSquare scores, why Model 2 could screen out more bad data points. It could be because of parameters that I picked for creating the model&lt;BR /&gt;Questions:&lt;BR /&gt;-If I classify data points as Good/Bad in new column of data set, is there any method in JMP could suggest which parameters that I should pick, so that the model could be more robust to screen out Bad data points.&lt;BR /&gt;&lt;BR /&gt;-If I do not classify data points ,&amp;nbsp; is there any method in JMP could suggest which parameters that I should pick, so that the model could be more robust to screen out Bad data points.&lt;BR /&gt;&lt;BR /&gt;Hopefully I could get advice from the community&lt;BR /&gt;&lt;BR /&gt;Appreciates&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 11:02:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928667#M108591</guid>
      <dc:creator>PhamBao</dc:creator>
      <dc:date>2026-02-03T11:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to pick independence parameters to optimize regression model</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928702#M108594</link>
      <description>&lt;P&gt;My advice is for you to provide more information.&amp;nbsp; Certainly your second model seems to fit the data better than the first, but I don't think that is sufficient to decide which model (if either) to use.&amp;nbsp; You say you picked different parameters but I think you mean you picked different variables as factors in your model.&amp;nbsp; Deciding what variables to use is a complicated question, only answered in part by how well the model fits the data.&amp;nbsp; It looks like both models are linear models, so there are a variety of nonlinear models you might want to try - especially if you are concerned about the outliers.&amp;nbsp; Regarding those large residuals, I have two thoughts.&amp;nbsp; First, with so much data I doubt that the large residuals influence the model much.&amp;nbsp; Second, you should explain why you are concerned with the large residuals (and one option to try would be a log transformation).&lt;/P&gt;
&lt;P&gt;In general, I would need to know much more about what your response variable is, what kind of data you have, and what the purposes of your analysis are.&amp;nbsp; The "best fitting model" is only one part of the analysis.&amp;nbsp; And most measures of "best fit" are looking at averages rather than particular kinds of observations - you concern about the large residuals seems to suggest that some points are more important than others to you.&amp;nbsp; If that is the case, then a linear regression model might not be the preferred model to use (those large residuals don't matter much - for example, a quantile regression might be more appropriate if you are concerned with the accuracy of your model in particular regions of observations rather than on average).&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 12:25:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928702#M108594</guid>
      <dc:creator>dlehman1</dc:creator>
      <dc:date>2026-02-03T12:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pick independence parameters to optimize regression model</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928732#M108601</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"what the purposes of your analysis are"&lt;BR /&gt;Typically, I have 5 factors ( temperature, force, height, thickness and time) in the recipe to make the product ( weight). My assumption that if I have the sufficient history data set of factors( temperature, force, height , thickness and time) and dependence variable (weight) considered as a product, I could make the model and get the formula of model like y=bo+b1x1+b2x2 +.... Then I apply this formula into my online process system to compare the actual weight and predicted weight from the model. Not sure I am correct or not, but I assumed that the higher residual is, the higher change that one factor or two among factors are abnormal, causing the high residual. That is the reason why I would like to use regression model for this purpose&lt;BR /&gt;Back to&amp;nbsp; my example above, as I have history data set and I definitely knew which output was bad. Then I performed the model to see whether regression model could screen out bad product or not. With 2 models above, the model 2 was one that I was looking for since it pointed out data points with high residual. However, to get this model 2, I spend lot of time to make different trials until I get the proper model&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 14:58:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928732#M108601</guid>
      <dc:creator>PhamBao</dc:creator>
      <dc:date>2026-02-03T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to pick independence parameters to optimize regression model</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928748#M108604</link>
      <description>&lt;P&gt;Developing models based on historical data is both challenging and dangerous. I suggest using the historical data to develop hypotheses that can be explored through experimental design. Historical data lacks context. For example, do you know the measurement errors associated with the value for each x and the Y? Do you know what other factors were doing during the data collection? Are there any data distortion issues? What about potential lagged factor effects? What about variation in raw materials? While your thinking is not wrong, it is dangerous. If you get a large residual value, that is indicative of a model problem, not "bad" data as you suggest. If you want tools to assess consistency of weight through time, sampling is a more effective tool.&lt;/P&gt;
&lt;P&gt;While there is no one right way, when building models from historical data, I usually suggest an additive approach. Also, this cannot be done without SME. Start with first order and add order as appropriate. There are a number of statistics that can help (e.g., R-sq Adj, R-sq Adj-R-sq, RMSE, p-values, residuals, AIC, BIC, etc.) Residuals are the actual- predicted (from the model). They are used to provide insight into basic assumptions (NID(0, constant Variance). They are useful for identifying outliers, where the model does a poor job of predicting specific data points. They can also assess problems with the assumption of random errors with a mean of 0, again this suggests issues with the model. They can often detect model inadequacies, where perhaps a nonlinear term should be introduced.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 16:04:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-independence-parameters-to-optimize-regression-model/m-p/928748#M108604</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2026-02-03T16:04:51Z</dc:date>
    </item>
  </channel>
</rss>

