topic Re: Identify "important variables" for partition trees regression in Discussions
https://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213214#M42658
<P>I'm no expert, but I've gone through that book as well (as an aside, I liked the examples and practice work). There are some good examples in later chapters that might be applicable to your particular situation, too.</P><P> </P><P>The VIF is certainly a way to determine which variables are over emphasized in the model. Examing the column contributions of the decision tree results can be quite helpful, too. Another approach could be to use principal component analysis (PCA), which can help to group the most important variables together and use those as PCs in modeling the response. <SPAN style="font-family: inherit;">The bootstrap forest platform is supposed to be robust against overfitting because it's randomized with both responses and factors. Both the bootstrap forest and boosted tree should "kick" out non-useful factors as it won't split along those factors and their contribution will drop to very low values.</SPAN></P><P> </P><P>If you have enough data to create a validation column with training, validation, and test data, this will help to simplify your model a lot. The validation portion helps to choose the most parsimonious model from the group, while the test data is used to see how well the model works with "blind" data. One note with this, you might want to consider if this should be stratified, randomized, or somehow otherwise chosen. This can be partially (or largely) based on the response your modeling. Is it continuous, or binary, etc?</P><P> </P><P>Lastly, comparing several different models (model comparison platform), such as NN, partition, boostrap forest, boosted tree, or generalized regression will also help to choose which one works best for your data. Be sure to compare your models on the "test" data only, or on any that were manually held back by hiding and excluding (i.e. you don't want to test on the training data).</P><P> </P><P>I'm not sure if there is a "standardized" method to determine this, but certainly approaching the problem from several different angles will help to see where the most overlap is, and help you in your decision in determing the "representative" variables.</P><P> </P><P>Hope this helps!,</P><P>DS</P>Fri, 14 Jun 2019 20:42:56 GMTDiedrichSchmidt2019-06-14T20:42:56ZIdentify "important variables" for partition trees regression
https://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213137#M42652
<P><SPAN class="tlid-translation translation"><SPAN class="">I am developing an analysis of partition trees regression, with JMP 13, I have 83 variables, I am identifying the variables that do not have colinearity with VIF, with the aim of being able to identify the most "representative" variables to develop the analysis of partition trees regression</SPAN> <SPAN class="">(The example I use is Bank Revenues</SPAN><BR /><SPAN class="">Multiple Linear Regression with Transformation / From Building Better Models with JMP Pro, Chapter 4, SAS Press (2015).</SPAN> <SPAN class="">Grayson, Gardner and Stephens.).</SPAN> <SPAN class="">My query, could this be an appropriate way?</SPAN> <SPAN class="">or there is a more specific protocol in JMP to identify these "important" variables to work with regression partition trees.</SPAN></SPAN></P>Fri, 14 Jun 2019 19:02:03 GMThttps://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213137#M42652H_arn2019-06-14T19:02:03ZRe: Identify "important variables" for partition trees regression
https://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213214#M42658
<P>I'm no expert, but I've gone through that book as well (as an aside, I liked the examples and practice work). There are some good examples in later chapters that might be applicable to your particular situation, too.</P><P> </P><P>The VIF is certainly a way to determine which variables are over emphasized in the model. Examing the column contributions of the decision tree results can be quite helpful, too. Another approach could be to use principal component analysis (PCA), which can help to group the most important variables together and use those as PCs in modeling the response. <SPAN style="font-family: inherit;">The bootstrap forest platform is supposed to be robust against overfitting because it's randomized with both responses and factors. Both the bootstrap forest and boosted tree should "kick" out non-useful factors as it won't split along those factors and their contribution will drop to very low values.</SPAN></P><P> </P><P>If you have enough data to create a validation column with training, validation, and test data, this will help to simplify your model a lot. The validation portion helps to choose the most parsimonious model from the group, while the test data is used to see how well the model works with "blind" data. One note with this, you might want to consider if this should be stratified, randomized, or somehow otherwise chosen. This can be partially (or largely) based on the response your modeling. Is it continuous, or binary, etc?</P><P> </P><P>Lastly, comparing several different models (model comparison platform), such as NN, partition, boostrap forest, boosted tree, or generalized regression will also help to choose which one works best for your data. Be sure to compare your models on the "test" data only, or on any that were manually held back by hiding and excluding (i.e. you don't want to test on the training data).</P><P> </P><P>I'm not sure if there is a "standardized" method to determine this, but certainly approaching the problem from several different angles will help to see where the most overlap is, and help you in your decision in determing the "representative" variables.</P><P> </P><P>Hope this helps!,</P><P>DS</P>Fri, 14 Jun 2019 20:42:56 GMThttps://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213214#M42658DiedrichSchmidt2019-06-14T20:42:56ZRe: Identify "important variables" for partition trees regression
https://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213241#M42664
<P><SPAN class="tlid-translation translation"><SPAN>Thanks for the suggestions, they clarified many issues to me, and I will work in that context.</SPAN> <SPAN>Although one of my limitations to be able to use and develop, for example some comparisons between models, is that I do not work in a JMP PRO version.</SPAN> <SPAN>However, I was able to identify the option: JMP to R Add-In Builder, which I understand could facilitate me the use of other algorithms for the development of analysis as it suggests;</SPAN> <SPAN class="">this last one that I indicate, it is because I am a person non-coder >.<</SPAN></SPAN></P><P><SPAN class="tlid-translation translation"><SPAN class="">Thanks!</SPAN></SPAN></P>Sat, 15 Jun 2019 07:00:00 GMThttps://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213241#M42664H_arn2019-06-15T07:00:00ZRe: Identify "important variables" for partition trees regression
https://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213307#M42677
<P>There will be some limitations in model generation when you don't have access to JMP Pro. On the other hand, you can still do ARIMA modeling (if appropriate) and a simplified NN and partition tree. Another platform that might help is the predictor screening, under Analyze -> Screening. This could help to also identify which of the many factors are likely to be important.</P><P> </P><P>Another thing you can try is in the Fit Model platform, to choose "stepwise" under "personality". This will also use different criteria to select which factors (and mixed terms) are needed and which aren't. Here, it helps a lot to have a pretty good idea of what kind of model to use. If you have lots of data, you could select all your factors and then choose response surface under the "macros" drop-down button. You just want to make sure your degrees of freedom are not reduced too far. If you know that there is some physical process governing the response, this can be a start in how to generate a model equation. One last thing you might want to look into is transforming your data before modeling it, especially if it's not normally distributed. Transforming the data can help the modeling process achieve a robust fit that has better predictive capabilities than it would otherwise.</P><P> </P><P>As far the validation column goes, I know standard JMP doesn't come with the GUI to generate it, but here's some JSL that will generate N (I have it set to 5) validation columns that are stratified. Some models are sensitive to the validation column, even when stratifying on a certain response, so testing out different validation columns can be helpful in evaluating the robustness of the model.</P><P> </P><PRE><CODE class=" language-jsl">Names Default To Here( 1 );
dt = Current Data Table();
For( i = 1, i <= 5, i++,
dt << Make Validation Column(
Training Set( 0.6 ),
Validation Set( 0 .2),
Test Set( 0.2 ),
Stratified Random( :Group )
)
);</CODE></PRE><P>In the above script, i runs from 1 to 5, so it generates 5 validation columns that are split 60% training, 20% validation and 20% test (you can change the values to what suits your data best), and it will be stratified random on whichever column(s) you choose in the :Group popup window. If you don't want to stratify, then you can replace that command with a random category formula.</P><P> </P><P>JSL is a pretty easy language to code in, so if you have time, I highly suggest testing out some scripts to become familiar with it. I find it quite helpful when performing the same tasks on different data sets -- it helps to automate things. You can also check out the Scripting Index under the Help menu.</P><P> </P><P>Good luck!,</P><P>DS</P>Mon, 17 Jun 2019 12:45:33 GMThttps://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213307#M42677DiedrichSchmidt2019-06-17T12:45:33ZRe: Identify "important variables" for partition trees regression
https://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213595#M42727
<P><SPAN class="tlid-translation translation"><SPAN class="">I am very grateful for the time it took to help me with the suggestions and recommendations developed</SPAN><BR /><SPAN class="">Likewise, good luck in everything!</SPAN></SPAN></P>Tue, 18 Jun 2019 18:54:32 GMThttps://community.jmp.com/t5/Discussions/Identify-quot-important-variables-quot-for-partition-trees/m-p/213595#M42727H_arn2019-06-18T18:54:32Z