Hi JMP experts,
I need your help to revise my code to automate stepwise model selection with p value threshold. This attached JSL can run stepwise automatically based on assigned effects and response. I need to add more functions to make my work more efficient.
1. I want to this script can generate interaction and quadratic automatically based on predictors (it's better to have it, but not necessary)
2. The script needs to generate model for each response in the response_col list.
3. After Run model, I want this response report has the following plots or tables:
{Summary of Fit( 1 ), Analysis of Variance( 1 ),
Parameter Estimates( 1 ), Effect Tests( 0 ), Effect Details( 0 ),
Lack of Fit( 0 ), Scaled Estimates( 0 ), Plot Actual by Predicted( 1 ),
Plot Regression( 0 ), Plot Residual by Predicted( 0 ),
Plot Studentized Residuals( 1 ), Plot Effect Leverage( 0 ),
Plot Residual by Normal Quantiles( 1 ), Box Cox Y Transformation( 0 ),
Press( 1 )}
4. I want to save this report into JMP table with an assigned name such as stepwise_response.
5. Save all those plots and table into separate graphs under an assigned folder, so that I don't need to copy the model results one by one into PowerPoint or word document.