cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.

Practice JMP using these webinar videos and resources. We hold live Mastering JMP Zoom webinars with Q&A most Fridays at 2 pm US Eastern Time. See the list and register. Local-language live Zoom webinars occur in the UK, Western Europe and Asia. See your country jmp.com/mastering site.

Choose Language Hide Translation Bar
Identifying Important Variables

See how to use simple statistical techniques help identify important variables and interactions in your data as a precursor to building high performing prediction models and uncovering additional insights.

 

 

See how to:

  • Understand prerequisites to consider before starting to ID important variables
  • Clean-up and prepare data using Column Viewer
  • ID and decide how to handle outliers and missing data using Explore Missing Values, Explore Outliers and Explore Patterns
  • Ensure dataset is the best representation of the system you plan to study<
  • Use Distributions in Column headers and Graph Builder to explore the data and visualize trends
  • Perform Multivariate Analysis to ID correlated variables
  • Use Response Screening to ID the most important variables that affect the response
  • Use Predictor Screening (decision  tree methods) to test many factors in predicting a response
  • Use Multivariate Analysis to ID variables with high correlation
  • Cluster variables to group correlated variables together and identifies the single variable that is most representative
  • Use Fit Model>Response Screening and Stepwise Regression to find interactions and higher-order terms based on your important and unique variables

 

Questions answered by Scott @scott_allen and @Byron_JMP during the June, 2023 live webinar.

 

Q: How did you "un-select" while in the graph builder?

A: Click on the white space in the graph, not on a marker.

 

Q: Could you further elaborate on your explanation around P value and its rank? What does it mean its high vs low, what to expect when we see certain values or trends, etc.

A: For p-value and most statistics, consider .  Also, when in JMP and you want help on a statistic (or anything else displayed).  Select Tools > ? and click the area (in this case, p-value column header)  that you want help with.  Also, see this explanation.

 

Q: How is predictor screening platform different from random forest model?

A: In JMP we call Random Forest Bootstrap Forest (because Random Forest is trademarked). It’s the same thing. Predictor Screening does not include a model, only the ranking.

 

Q: Since the predictor screen isn’t telling you the percent variation is attributed to each individual predictor, is there any other platform that does just that?

A: The Predictor Screening Report shows the list of predictors with their respective contributions and rank. Predictors with the highest contributions are likely to be important in predicting Y. The Contribution column shows the contribution of each predictor to the Bootstrap Forest model. The Portion column in the report shows the percent contribution of each variable.

 

Q: Can multivariate analysis have absolute correlation numbers instead of -1 to 1?

A: Yes and no. The table is a matrix of correlation coefficients that summarizes the strength of the linear relationships between each pair of response (Y) variables. See multivariate methods.

 

Q: How would you select the most important variables if you had continuous, binomial (yes/no) and ordered (low, middle, high) independent variables?

A: Yes, you can use all these methods: Predictor Screening and Response Screening.

 

Q: Do you ever use stepwise regression? Does JMP offer all possible subsets regression?

A: See details on Stepwise Regression.

 

Q: A lot of my data contains multiple responses, and I find it limits some of things I can do in JMP. Do you do any special cleaning of multiple response data, or do you work with it as-is? I am referring to a "Multiple Response" column property (a list of multiple data points). I'm assuming it is easier to just break these out into two different columns but wanted to see if there is a better way.

A: Yes, we let you store multiple responses in one cell as an, but to analyze them, splitting them into different columns is correct.

 

Q: How do Tree-Based methods compare to PLS or PCA?

A: With PCA or PLS, we are trying to represent all the data with this smaller number of latent variables.  You are trying to find a reduced number of dimensions that can represent all the data. That is different than tree-based methods, which help you nail down what actually explains something. Tree methods are supplanting PCA and PLS for building better. Tree-Based methods are fantastic for modeling data but are really sensitive to changes and they can over fit a lot. With the tree-based methods where you're taking a random sample of the rows and a random sample of the columns each time that you make a new tree, makes it really robust to outliers, and it's able to model like interactions and like quadratics or cubics, if they exist in the data. So, you don't have to make a bunch of assumptions.

 

Q: Can I use Predictor Screening and Response Screening for dependent variables that are  numerical and my independent variables are continuous, binomial and ordered.

A: Yes.

 

 

See how to:

  • Use JMP Partition to identify significant factors
  • Accurately and automatically any model interaction effects

 

Modeling Workflow with Factor SelectionModeling Workflow with Factor Selection

 

 

 

 

 

 

 

 

BONUS: Scott Allen @scott_allen and Byron Wingerd @Byron_JMP  answered questions after the 2022 demo, too!

 

Q: Is there a tutorial video for the outlier tools?

A: This is a good one that covers the Explore Outliers tool in JMP.  You can also work through the documentation and examples.

 

Q: Why wouldn't you get rid of the correlated variables first?

A: The presence of correlated variables often informs the modeling method. PLS for example, is more robust to correlated X’s. Also, the order may be a preference. You could do it both ways – predictor screening then clustering or vice versa.  Be aware that clustering can be a bit inaccurate when you have lots of missing values or columns that don’t change (like an instrument setting).  Sometimes additional data cleanup and preparation is needed if you want to start with clustering.

 

Q: How would you decide the prediction algorithm?

A: That’s a complicated question and the answer depends on your situation. Most of the time a linear model is going to be the most simple and informative. Other methods work around specific problems with the data, or analysis objectives.

 

Q: Why are the linear terms so strongly recommended?  If my correlation is Y=X^2, why does JMP keep trying to add the X term?

A: This relates to effect heredity. Some of the time your higher order terms are significant but not the main effect. So, you want to keep in the main effect.  For example, if you removed the main effect,  then in the Prediction Filer you would not see the slope changing, you would just see the curvature and get not as good a prediction.

 

Q: For Predictor Screening, should the data of the factors and the responses be gathered in the same order (paired) or can randomly gathered data (unpaired) can be used.

A: Order doesn't really matter, but for Multivariate Analysis, we often like to throw in Ys in one group.  The order that you add them to Y is the order it will be shown in the matrix.

 

Q: Would multi-linear regression analysis of x-factors (600 columns) help in finding which x columns are higher contributors to yield?

A: If you just do linear regression on 600 columns, you're really diluting what's explaining your Y. Tree methods like Partition work great for trying to nail down which of those 600 columns are getting you there. When Scott showed Predictor Screening, it took a random sample of the rows and columns and it builds a tree, does that 100 times and averages across those hundred trees to gives you the result.  With Partition, you  can force things to happen, you can force decisions to happen in different places or follow something as it is getting split. You could then look at the Variance Importance Report, or

the split history and R-Square changes.  This example is too large to do that, but will give you and idea of how to use Partition.

 

Q: If the 600 separate linear regressions dilute the explanatory power of your model, is this why Response Screening employs the FDR (False Discovery Rate) correction in those summary statistics (that Scott showed and shorted ascending before) to try and compensate for this?

A: By chance alone you're going to find things that are really good, you want to try and filter those. We don't want to find things by chance, alone, so FDR helps correct for that.  I emphasize HELPS, because no model is perfect. Likewise, all tree-based models, in situations where you have multiple linearity are best when first you try to separate out variance and find those variables that are really the most important instead of throwing everything into the model.  Sometimes you can build ensemble models using JMP Pro

 

Q: Are thre other methods for doing this with JMP Pro?

A; Yes, including using the XGBoost Add-In.  See below.

 

 

Comments

Nick Shelton @nick_shelton , JMP SE manager, presented this topic in the past and I retired the older videos.  I borrowed a comment he made to  viewer @HelenaG because it may be relevant to anyone viewing this video and Q&A by JMP SEs Scot Allen @scott_allen and Byron Wingerd @Byron_JMP :

 

Helena asked:

I would like to better understand the following: all the steps linked with interactions identification and assessment (with response screening and stepwise regression tools) are based on a linear assumption - is this correct? If yes, is there any suggestion to check for non-linear interactions?

 

Nick wrote:

The identification of interactions is best done through domain expertise and a known scientific/physical understanding of the variables under analysis.

When interactions between variables are not well understood the "Response Screening" model personality in Fit Model works well at quantifying the strength between individual interaction terms and the response variable.

The "Stepwise Regression" model personality in Fit Model works well at identifying the best combination of terms (Ex: Main effects, interactions..) to use for a potential model.

 

The term "linear" model refers to how the formula of the model is structured but both the "Response Screening" & "Stepwise Regression" model personalities in Fit Model can also be used to explore non-linear relationships.

We can include non-linear effects and interactions into an analysis by adding polynomial terms.

In Fit Model you can explore any polynomial relationships (non-linear) by adding the corresponding term in the Model effects box (Ex: Quadratic Relationship (x1*x1), Cubic Relationship (x1*x1*x1), Quadratic Interaction (x1*x1*x2)...)

 

For more information on polynomials and how they can assist with understanding relationships among variables please watch the quick video below:

https://community.jmp.com/t5/Short-Videos/Fitting-Polynomial-Models/ta-p/271953

 

HelenaG

Hi @nick_shelton,

 

Due to this presentation of yours, I have been using Predictor screening and I am really satisfied with the results. Concerning this platform, I now ask your deep expertise on the following:

1. How is calculated the portion that is presented in the JMP results for predictor screening? I mean, in terms of Bootstrap Forest (BF) what this portion means and how the specific value is achieved? (I am writing a scientific paper using this and I would need this detail).

2. In terms of interpretation I understood that portion explains the percentage of variability of a response (yield) explained by a predictor. Is this correct? 

3. Still in predictor screening platform, what "contribution column" means? How is it calculated in terms of BF algorithm?

 

Thank you in advance, Nick!

 

 

HelenaG

In relation to my previous post, I noticed that Scot Allen @scott_allen and Byron Wingerd @Byron_JMP are now presenting this theme. Therefore, I would like your help with the above questions!

 

Best regards,

Helena Grangeia

Hi @HelenaG 

 

Thanks for the questions. I think Predictor Screening is a great tool and I'm glad you are finding it helpful. Instead of answering your individual question, let me explain in a little more detail what is going on in this analysis.

 

The Predictor Screening analysis runs a Bootstrap Forest partition model (with a default 100 decision trees) and then ranks the predictors based on their contribution to the model. In short, the Bootstrap Forest analysis is averaging together many decision trees. To create a tree, it takes a bootstrap sample of observations and recursively fits a model by making splits with a random set of predictors. This continues until a stopping rule is met. Then another tree is created with a new set of bootstrapped observations and random predictor splits. Once all the trees have been created, they are averaged into a "forest" of trees (thus the name). 

 

Back to Predictor Screening output, the Contribution Column provides the sum of squares for a continuous numeric response and G^2 for a categorical response. The portion column is the individual predictor contribution divided by the sum of all the contributions. This is not the same as the variance explained by each individual predictor.

 

To learn more about these platforms, I recommend reading the Partition Model and Boostrap Forest overviews in the documentation.

 

-Scott

Recommended Articles