cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
DualARIMACougar
Level III

Efficient RSM fitting and Stepwise Regression on large DoE datasets with minimal clicks in JMP Pro

Hello everyone,

I am working with a very large DoE dataset in JMP Pro and would like to evaluate it quickly with as few manual clicks as possible. I am still fairly new to JMP Pro, and until recently I have mainly analyzed DoE studies using standard Least Squares methods. Therefore, even after reading documentation and tutorials, I am still unsure about the most efficient workflow for my current task.

My design includes three factors and approximately 20 responses, grouped by different treatments. I would like to refit a Response Surface Model (RSM) for each response and analyze them consistently.

My main questions are:

  1. Is there a way to run Stepwise Regression or RSM fitting more efficiently without having to repeatedly click “Go” for each step?

  2. Are there tools or options in JMP that allow semi-automated or single-click workflows for multiple responses (e.g., Fit Definitive Screening / Fit Model presets, model dialogs, or other shortcuts)?

  3. As an additional question: if full automation is needed, would scripting (JSL) or batch processing be the best way to scale this up? If so, are there recommended starting points or templates for beginners?

My goal is to speed up the model evaluation and refitting steps as much as possible, ideally without heavy scripting.

Thank you in advance for your help and suggestions.

5 REPLIES 5
statman
Super User

Re: Efficient RSM fitting and Stepwise Regression on large DoE datasets with minimal clicks in JMP Pro

It is virtually impossible to provide specific advice on the information you provided.  Can you attach the experiment?  Or at least the experiment coded?

Sorry, I'm a bit confused by your query.  Your post suggests you have 1 large DOE data set.  Not sure I understand as you only have 3 factors? Why would you be setting up a workflow?  In any case the first step for any experiment is to determine if you created enough variation from a practical perspective.  Did the response variables vary enough to be interested in the analysis of the experiment?  If so, the next step is to do multivariate correlation of the many Y's.  At the same time check for any outliers using Mahalanobis outliers test.  Depending on the number of correlated Y's (if they correlate the analysis will be the same), you may have to fit Y's separately.  Stepwise is not a procedure for analysis of DOE.  It is for historical or observational data when you are searching for a model.  In DOE, you have a model in mind (or you should), so Fit Model is your platform.

"All models are wrong, some are useful" G.E.P. Box
DualARIMACougar
Level III

Re: Efficient RSM fitting and Stepwise Regression on large DoE datasets with minimal clicks in JMP Pro

Hi Statman,

thank you for the clarification. Let me explain my setup in more detail:

I am working with a three-factor RSM design, but for these three factors I have measured 25 different responses. These responses are grouped into five treatment groups (using the ‘By’ role). So while the factor space is small, the total number of response/treatment combinations is large. In addition, I have multiple datasets of this type (five DoEs in total), therefore the repetitive analysis steps add up significantly.

I fully understand that the dataset would be helpful and I love to share it but  I cannot share the data here due to CDAs, and anonymization is unfortunately not an option too.

I generated the designs using JMP’s Custom Designer and I am using the Fit Model platform for the analysis. My intention was to select the Stepwise personality rather than Standard Least Squares to introduce more objectivity using AIC/BIC criteria rather than p-value based selection,+ less clicks since I only have to click on the GO button. The stepwise personality still fits a polynomial model to my data but more automized, less bias and not only driven by p-value.

However, the practical issue is that for each response in each treatment group, I still need to repeatedly click the “Go” button. With many responses and multiple datasets, this becomes highly time-consuming. My question is simply whether this part of the workflow can be automated or accelerated.

My end goal is to fit all responses, evaluate them, and generate prediction profilers using the DOE fitting platform. I prefer not to remove outliers beforehand because I want to evaluate them after fitting and avoid biasing the analysis upfront.

So the core question remains:
Is there a way to run Stepwise (or Fit Model) across multiple responses and treatment groups without manually clicking “Go” for every response—either through existing UI shortcuts or via scripting/batch execution?

This would substantially reduce the number of manual clicks required.

Does this additional context help to answer my workflow question?

Also I analyze DoEs now since several years with JMP, always using the old school way with standart least squares. Now I have the JMP Pro version and Iam still hoping to have some options here, which saves time.

Victor_G
Super User

Re: Efficient RSM fitting and Stepwise Regression on large DoE datasets with minimal clicks in JMP Pro

Did you try to use CTRL+click on "GO" ?
Using CTRL before an action help broadcast the action to every similar button/box. It can also be used to change the settings in the Fit Stepwise estimation for all responses at the same time.

However, Bill's remarks on Stepwise selection still remains. If you have build a DoE with Custom Design platform, that means you have an apriori model for this experimental scenario. You should use it first, and use other modeling methods (with caution) as competitor models to compare the performances and the pros and cons of each.

Victor GUILLER

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)
DualARIMACougar
Level III

Re: Efficient RSM fitting and Stepwise Regression on large DoE datasets with minimal clicks in JMP Pro

Hi Victor,

First of all thanks for your help as always!!

thanks this little combination helps here indeed. 
Regarding  your comment on the restriction of the fit model, I am a bit confused. 
From my understanding, both standart least square regression with manual p-value selection as well as stepwise regression fit a polynomial model to my data, the terms of the polynomial model are specified in the model dialog (in my case its a RSM with). 
I found this very nice video: (Mastering JMP) Deploying Stepwise Regression Methods in JMP and JMP Pro - YouTube.
and this explanation: 11.2 - Stepwise Regression | STAT 462

Here the differences between standart least square and stepwise regression are well explained and from my naiive conclusion its kind of the same+not only p value selection is used for stepwise but additionally BIC (or AIC) criterion is used, which makes sense, since the question, what variables are important for the model without increasing the complexity of the model (simply concluded :-)), avoids subjective p-value bias and automates the whole process of model building - giving more objectivity. Would you agree here? 

Still my question is not answered and I will repost my questions here and add some more:

1) Is there a practical and fast way to automize DoE model building in JMP Pro for huge datasets with tons of responses (simple Design done with custom designer, e.g. RSM, custom design, etc.)?
2) Is stepwise regression an option here?
3) Since I only need the final prediction profiler with all of my responses together, I face another problem: How to I safe the final prediction profiler without redoing the whole analysis. If I currently safe it as script, I have to redo everything, the prediction profiler after model building is not safed. 
4) In JMP Pro I have automatically in my script window the general regression option, which I also can use (And the hover explanation states, that this is the method of choice for all linear regression options). What is the advantage here over standart least square or stepwise regression? How can I automate the analysis in the general regression model builder the strg+click option does not work here)?

Thanks a lot for your helps in advance and I suppose that the question of automating DoE analysis and model building of huge datasets is not only an issue I face an dwould help a lot of people!


statman
Super User

Re: Efficient RSM fitting and Stepwise Regression on large DoE datasets with minimal clicks in JMP Pro

The best way to analyze a RSM is to use graphical contour plots.  If you are at the stage of optimization which is what RSM is intended for, then you should already know significance of first and second order model effects.

When doing Fit Model and assessing the model adequacy, p-value is only one of the statistics you should use (and only use it when you have some idea of what is being used to assess the MSE and that bit is representative).  Again before you do anything, assess the integrity of the data (multiple methods to do this).  Then the practical significance. You also need to assess R-square Adjusted (larger is better), delta between R-Square and R-Square adjusted (smaller is better otherwise you have an over specified model), RMSE (smaller is better).  And always assess the practical implications.  Is the model useable?

 

TBH, your situation is not very complex.  Handling the analysis shouldn't take very long (I had an experiment with 3281 responses once).

You can create a workflow, but the steps may be different depending on what you find as you go.

https://www.jmp.com/support/help/en/19.0/?os=mac&source=application#page/jmp/workflow-builder.shtml

 

"All models are wrong, some are useful" G.E.P. Box

Recommended Articles