cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-780630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%C2%BFLa%20plataforma%20de%20partici%C3%B3n%20requiere%20una%20variaci%C3%B3n%20igual%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ETengo%20datos%20muy%20sesgados%20a%20la%20derecha%20(ver%20la%20distribuci%C3%B3n%20Fugas%2Fmi%20A%C3%B1o%20adjunto)%2C%20solo%20alrededor%20de%20400%20fugas%20en%20~4.000.000%20de%20segmentos%20de%20tuber%C3%ADas.%20Uso%20la%20plataforma%20de%20partici%C3%B3n%20para%20identificar%20factores%20para%20nuestro%20modelo%20con%20diferencias%20en%20las%20tasas%20de%20fugas.%20Pero%20mis%20datos%20indican%20una%20varianza%20desigual%20(adjunto%20RefService2023wLeaks%20-%20FitY%20por%20X%2C%20falla%204%20de%205%20pruebas%20de%20varianza).%20%C2%BFLa%20plataforma%20de%20partici%C3%B3n%20requiere%20una%20varianza%20igual%3F%20Seg%C3%BAn%20el%20Teorema%20del%20Valor%20Central%2C%20%C2%BFpuedo%20asumir%20que%20este%20gran%20conjunto%20de%20datos%20dar%C3%A1%20resultados%20precisos%20para%20diferencias%20significativas%20en%20las%20medias%20(ver%20el%20ejemplo%20de%20partici%C3%B3n%20adjunto)%3F%3C%2FP%3E%3CP%3EGracias%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-780630%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAn%C3%A1lisis%20y%20modelado%20de%20datos%20b%C3%A1sicos%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780658%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%C2%BFLa%20plataforma%20de%20partici%C3%B3n%20requiere%20una%20variaci%C3%B3n%20igual%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780658%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E1%C2%BA-Este%20parece%20un%20conjunto%20de%20datos%20realmente%20divertido.%3C%2FP%3E%0A%3CP%3EEl%20m%C3%A9todo%20de%20modelado%20que%20utiliza%20Partition%20tiene%20muy%20pocos%20supuestos.%20Es%20una%20herramienta%20de%20miner%C3%ADa%20de%20datos%20de%20nivel%20b%C3%A1sico%20muy%20buena%2C%20especialmente%20cuando%20se%20tiene%20una%20gran%20cantidad%20de%20datos%20con%20los%20que%20trabajar.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3ETambi%C3%A9n%20puedes%20consultar%20Analizar%26gt%3BCribado%26gt%3BCribado%20de%20predictores.%20Solo%20tienes%20que%20introducir%20tu%20variable%20de%20respuesta%20y%20tantas%20variables%20%22X%22%20como%20desees.%20Tal%20vez%20puedas%20ajustar%20la%20cantidad%20de%20%C3%A1rboles%20a%20500%2C%20solo%20por%20diversi%C3%B3n.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3ECrea%20un%20conjunto%20de%20%C3%A1rboles%20con%20una%20selecci%C3%B3n%20aleatoria%20de%20columnas%20y%20filas%20para%20cada%20%C3%A1rbol%2C%20por%20lo%20que%20es%20muy%20resistente%20a%20datos%20err%C3%B3neos%20y%20valores%20at%C3%ADpicos%2C%20as%C3%AD%20como%20a%20valores%20X%20que%20est%C3%A1n%20muy%20correlacionados%20con%20su%20respuesta.%20Nuevamente%2C%20muy%20pocas%20suposiciones.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780788%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ERe%3A%20%C2%BFLa%20plataforma%20de%20partici%C3%B3n%20requiere%20una%20variaci%C3%B3n%20igual%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780788%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EPara%20ampliar%20la%20excelente%20respuesta%20de%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4386%22%20target%3D%22_blank%22%3E%40Byron_JMP%3C%2FA%3E%20%2C%20Decision%20Tree%20es%20un%20algoritmo%20muy%20simple%20pero%20poderoso.%20Tiene%20varias%20ventajas%20que%20lo%20convierten%20en%20una%20opci%C3%B3n%20eficaz%20para%20la%20miner%C3%ADa%20de%20datos%3A%20f%C3%A1cil%20de%20entender%20e%20interpretar%2C%20manejo%20de%20entradas%20y%20salidas%20categ%C3%B3ricas%20y%20num%C3%A9ricas%2C%20puede%20manejar%20valores%20faltantes%2C%20es%20robusto%20a%20los%20valores%20at%C3%ADpicos%20y%20puede%20detectar%20relaciones%20no%20lineales%2C%20y%20permite%20realizar%20la%20selecci%C3%B3n%20y%20clasificaci%C3%B3n%20de%20caracter%C3%ADsticas%2Fpredictores.%3C%2FP%3E%0A%3CP%3ENo%20asume%20suposiciones%20param%C3%A9tricas%20tradicionales%2C%20pero%20hay%20algunos%20puntos%20que%20debes%20tener%20en%20cuenta%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3E%3CEM%3EVerifique%20la%20multicolinealidad%20y%20las%20correlaciones%20entre%20sus%20predictores%3C%2FEM%3E%3C%2FSTRONG%3E%20%3A%20como%20el%20%C3%A1rbol%20de%20decisiones%20crea%20divisiones%20en%20sus%20datos%20utilizando%20todos%20los%20predictores%20y%20eligiendo%20el%20que%20ofrece%20la%20mejor%20divisi%C3%B3n%20en%20sus%20valores%20Y%2C%20los%20predictores%20correlacionados%20y%20la%20multicolinealidad%20podr%C3%ADan%20ser%20un%20problema%2C%20ya%20que%20algunos%20predictores%20podr%C3%ADan%20quedar%20fuera%20y%20nunca%20considerarse%20porque%20comparten%20informaci%C3%B3n%20com%C3%BAn.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E%3CEM%3ECuidado%20con%20el%20sobreajuste%3C%2FEM%3E%3C%2FSTRONG%3E%20%3A%20los%20%C3%A1rboles%20de%20decisi%C3%B3n%20son%20propensos%20al%20sobreajuste%2C%20ya%20que%20se%20podr%C3%ADa%20expandir%20el%20%C3%A1rbol%20a%20una%20profundidad%20muy%20profunda%20para%20clasificar%20a%20la%20perfecci%C3%B3n%20o%20hacer%20una%20regresi%C3%B3n%20con%20los%20datos%20num%C3%A9ricos.%20Se%20recomienda%20tener%20una%20estrategia%20de%20validaci%C3%B3n%20(validaci%C3%B3n%20cruzada%20de%20K-folds%2C%20Leave-One-Out%20o%20un%20conjunto%20de%20validaci%C3%B3n%2C%20ya%20que%20la%20cantidad%20de%20datos%20no%20parece%20ser%20un%20problema%20en%20su%20caso)%20y%20asegurarse%20de%20que%20el%20modelo%20creado%20no%20sea%20demasiado%20complejo%20para%20la%20tarea%20en%20cuesti%C3%B3n%3A%20establecer%20una%20profundidad%20m%C3%A1xima%20(n%C3%BAmero%20de%20divisiones)%20y%20un%20tama%C3%B1o%20m%C3%ADnimo%20de%20divisi%C3%B3n%20permite%20reducir%20el%20riesgo%20de%20sobreajuste.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E%3CEM%3EMuestra%20y%20representatividad%20de%20los%20datos%20de%20entrenamiento%3C%2FEM%3E%3C%2FSTRONG%3E%20%3A%20como%20los%20%C3%A1rboles%20de%20decisi%C3%B3n%20son%20algoritmos%20voraces%20(dividen%20los%20datos%20para%20maximizar%20la%20ganancia%20de%20informaci%C3%B3n%20o%20reducir%20la%20entrop%C3%ADa)%2C%20son%20muy%20sensibles%20a%20los%20datos%20de%20entrenamiento%20utilizados.%20Peque%C3%B1os%20cambios%20en%20los%20datos%20podr%C3%ADan%20provocar%20cambios%20en%20las%20reglas%20proporcionadas%20por%20el%20%C3%A1rbol%20de%20decisi%C3%B3n.%20Se%20deben%20tener%20en%20cuenta%20las%20consideraciones%20sobre%20la%20representatividad%20y%20el%20ruido%20de%20los%20datos%20para%20garantizar%20que%20no%20se%20produzca%20un%20sobreajuste%20y%20que%20los%20resultados%20se%20puedan%20generalizar.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EComo%20lo%20sugiere%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4386%22%20target%3D%22_blank%22%3E%40Byron_JMP%3C%2FA%3E%20%2C%20a%20menudo%20es%20interesante%20usar%20Random%20Forest%20(disponible%20a%20trav%C3%A9s%20de%20la%20plataforma%20%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F17.2%2F%23page%2Fjmp%2Fbootstrap-forest.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EBootstrap%20Forest%3C%2FA%3E%20para%20JMP%20Pro%20o%20a%20trav%C3%A9s%20de%20%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F17.2%2F%23page%2Fjmp%2Fpredictor-screening.shtml%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPredictor%20Screening%3C%2FA%3E%20para%20JMP)%2C%20ya%20que%20esta%20t%C3%A9cnica%20reduce%20algunos%20inconvenientes%20del%20%C3%A1rbol%20de%20decisiones%20gracias%20a%20varios%20mecanismos%2Ft%C3%A9cnicas%3A%20creaci%C3%B3n%20de%20varios%20%C3%A1rboles%20independientes%20en%20paralelo%20entrenados%20en%20muestras%20bootstrap%20(para%20reducir%20la%20sensibilidad%20al%20conjunto%20de%20entrenamiento%2C%20asegurar%20la%20generalizaci%C3%B3n%20y%20permitir%20la%20verificaci%C3%B3n%2Fvalidaci%C3%B3n%20a%20trav%C3%A9s%20de%20resultados%20de%20muestra%20%22Out-Of-Bag%22)%20con%20cada%20divisi%C3%B3n%20considerando%20solo%20un%20subconjunto%20de%20los%20predictores%20(para%20permitir%20que%20cada%20predictor%2C%20incluso%20algunos%20correlacionados%20con%20otros%2C%20tengan%20las%20mismas%20posibilidades%20de%20ser%20seleccionados%20para%20la%20divisi%C3%B3n%2C%20lo%20que%20permite%20tener%20%C3%A1rboles%20m%C3%A1s%20diversos%20y%20un%20conjunto%20de%20%C3%A1rboles%20con%20buen%20rendimiento%20de%20generalizaci%C3%B3n).%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EEspero%20que%20esta%20respuesta%20complementaria%20te%20ayude.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
billboard
Level I

Does the partition platform require equal variance?

I have highly right skewed data (see distribution Leaks/mi Yr attached), only about 400 leaks on ~4,000,000 segments of pipe. I use the partition platform to identify factors for our model with differences in leak rates. But my data indicates unequal variance (attached RefService2023wLeaks - FitY by X, fails 4 of 5 variance tests). Does the partition platform require equal variance? By the Central Value Theorem can I assume this large data set will give accurate results for significant differences in means (see attached Partition example)?

Thank you

2 REPLIES 2
Byron_JMP
Staff

Re: Does the partition platform require equal variance?

1st- This looks like a really fun data set.

The modeling method partition uses has very few assumptions. It's a very good entry level data mining tool, especially when you have a lot of data to work with. 

 

Also look at Analyze>Screening>predictor screening.  Just enter your response variable and as many "X" variables as you like.   Maybe adjust the number of trees to 500, just for fun. 

 

It builds out a bunch of trees with a random selection of columns and rows for each tree, so its super robust to bad data and outliers as well as X's that are very correlated with your response. Again, very few assumptions.  

JMP Systems Engineer, Health and Life Sciences (Pharma)
Victor_G
Super User

Re: Does the partition platform require equal variance?

To expand on excellent response from @Byron_JMP, Decision Tree is a very simple yet powerful algorithm. It has several advantages that makes it an effective choice for data mining : easy to understand and interpret, handling of categorical and numerical inputs and outputs, can handle missing values, is robust to outliers and can detect non-linear relationships, and enable to do features/predictors selection and ranking.

It doesn't assume traditional parametric assumptions, but there are a few points you should care about :

  • Check multicollinearity and correlations among your predictors : As the Decision Tree creates splits in your data using all predictors and choosing the one offering the best split in your Y values, correlated predictors and multicollinearity could be a problem, as some predictors could be left out and never considered as they share some common information.
  • Beware of Overfitting : Decision Tree are prone to overfitting, as you could expand the tree very deep to perfectly classify or do a regression with your numerical data. It is recommended to have a validation strategy (K-folds cross-validation, Leave-One-Out or validation set, as the data quantity doesn't seem to be an issue in your case) and to ensure the model created is not too complex for the task at hand : setting a maximum depth (number of splits) and a minimum size split enable to reduce the risk of overfitting.
  • Training data sample and representativeness : As Decision Tree are greedy algorithms (they split the data in order to maximize information gain, or reduce entropy), they are very sensitive to the training data used. Small changes in the data could cause changes in the rules provided by the decision tree. Considerations about data representativeness and noise should be adressed to ensure avoiding overfitting and ensuring generalization of the results.

 

As suggested by @Byron_JMP, it is often interesting to use Random Forest (available through Bootstrap Forest platform for JMP Pro or through Predictor Screening for JMP), as this technique reduce some drawbacks of Decision Tree thanks to various mechanisms/techniques : creation of several independent trees in parallel trained on bootstrapped samples (to reduce sensitivity to training set, ensure generalization and enable checking/validation through "Out-Of-Bag" sample results) with each split considering only a subset of the predictors (to enable each predictor, even some correlated with others, to have the same chances to be selected for the split, which enable to have more diverse trees and an ensemble of trees with good generalization performances).

 

Hope this complementary answer will help you,

Victor GUILLER

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