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-803057%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EC%C3%A1lculo%20de%20promedio%20y%20desviaci%C3%B3n%20est%C3%A1ndar%20para%20m%C3%BAltiples%20columnas%20en%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-803057%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHola%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3ESoy%20bastante%20nuevo%20en%20JMP%20y%20estoy%20buscando%20algunos%20consejos%20sobre%20c%C3%B3mo%20realizar%20las%20siguientes%20tareas%3A%3CBR%20%2F%3E%201.%20%C2%BFPuede%20JMP%20combinar%20m%C3%BAltiples%20archivos%20con%20m%C3%BAltiples%20pesta%C3%B1as%20aleatorias%20en%20una%20sola%20tabla%20de%20datos%3F%3C%2FP%3E%3CP%3E2.%20En%20la%20tabla%20de%20datos%2C%20%C2%BFc%C3%B3mo%20calcular%20el%20promedio%20y%20la%20desviaci%C3%B3n%20est%C3%A1ndar%20de%20varias%20columnas%20(con%20el%20mismo%20nombre%20de%20columna%20y%20n%C3%BAmero%20de%20columna%20aleatorio)%20como%20dos%20nuevas%20columnas%3F%3C%2FP%3E%3CP%3E3.%20%C2%BFPuedo%20hacer%20un%20gr%C3%A1fico%20usando%20%2B-%203%20sigma%20como%20rango%20de%20especificaci%C3%B3n%20y%20otros%20datos%20de%20columnas%20sin%20procesar%20como%20gr%C3%A1fico%20de%20dispersi%C3%B3n%20para%20cuantificar%20si%20todo%20est%C3%A1%20dentro%20de%20la%20especificaci%C3%B3n%20o%20no%3F%3C%2FP%3E%3CP%3E4.%20%C2%BFEl%20informe%20JMP%20puede%20aprobarse%20o%20rechazarse%20si%20alg%C3%BAn%20dato%20no%20cumple%20con%20las%20especificaciones%3F%20%C2%BFIncluso%20para%20la%20regresi%C3%B3n%20lineal%20utilizando%20el%20modelo%20Fit%20Y%20by%20X%3F%20(Intent%C3%A9%20utilizar%20Fit%20Y%20by%20X%20pero%20no%20pude%20dibujar%20ninguna%20especificaci%C3%B3n%20correctamente%2C%20no%20pude%20encontrar%20esa%20funci%C3%B3n%20disponible)%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EHe%20adjuntado%204%20archivos%20de%20Excel%20y%20un%20archivo%20PNG%20para%20mostrar%20lo%20que%20estoy%20intentando%20hacer%20como%20referencia.%20Gracias%20de%20antemano%20por%20su%20ayuda.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-803057%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EModelado%20estad%C3%ADstico%20avanzado%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAutomatizaci%C3%B3n%20y%20scripting%3C%2FLINGO-LABEL%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-803127%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20C%C3%A1lculo%20de%20promedio%20y%20desviaci%C3%B3n%20est%C3%A1ndar%20para%20m%C3%BAltiples%20columnas%20en%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-803127%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOtros%20deber%C3%ADan%20participar%2C%20ya%20que%20mis%20respuestas%20pueden%20tener%20ideas%20que%20no%20se%20me%20hab%C3%ADan%20ocurrido.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E1)%20Supongo%20que%20est%C3%A1s%20intentando%20importar%20libros%20de%20Excel%2C%20ya%20que%20mencionaste%20varias%20pesta%C3%B1as.%20Sin%20duda%2C%20puedes%20importar%20un%20libro%20de%20Excel%20con%20varias%20pesta%C3%B1as%20en%20una%20sola%20tabla%20de%20datos.%20Puedes%20importar%20varios%20archivos%20de%20Excel%20a%20la%20vez%2C%20pero%20es%20posible%20que%20no%20est%C3%A9n%20en%20una%20sola%20tabla.%20No%20creo%20que%20puedas%20hacer%20ambas%20cosas%20al%20mismo%20tiempo.%20Pero%20podr%C3%ADas%20hacerlo%20como%20un%20proceso%20de%20dos%20pasos%3A%20incorporar%20cada%20archivo%20con%20varias%20pesta%C3%B1as%20y%20luego%20unir%20las%20tablas%20de%20datos%20JMP%20resultantes.%3C%2FP%3E%0A%3CP%3E2)%20Debes%20leer%20la%20publicaci%C3%B3n%20en%20las%20discusiones%20que%20indican%20que%20JMP%20no%20es%20una%20hoja%20de%20c%C3%A1lculo.%20Puedes%20calcular%20el%20promedio%20y%20la%20desviaci%C3%B3n%20est%C3%A1ndar%20para%20varias%20columnas%20usando%20el%20comando%20Tabla%20%26gt%3B%20Resumen.%20Esto%20colocar%C3%A1%20los%20resultados%20en%20una%20nueva%20tabla%20de%20datos.%20Si%20DEBES%20tener%20los%20resultados%20en%20la%20misma%20tabla%20de%20datos%20que%20los%20datos%20sin%20procesar%2C%20puedes%20usar%20f%C3%B3rmulas%20de%20columna%20para%20calcular%20promedios%20y%20desviaciones%20est%C3%A1ndar.%20Hay%20otras%20formas%20de%20lograr%20esta%20tarea%2C%20dependiendo%20de%20exactamente%20lo%20que%20quieras%20hacer%20y%20por%20qu%C3%A9.%20A%20veces%2C%20la%20mejor%20respuesta%20puede%20no%20ser%20siempre%20la%20que%20est%C3%A1s%20pensando%20hacer.%3C%2FP%3E%0A%3CP%3E3)%20Si%20ajusta%20un%20modelo%20lineal%2C%20%C2%BFqu%C3%A9%20%22sigma%22%20est%C3%A1%20utilizando%20para%20las%20bandas%3F%20Me%20preocupar%C3%ADa%20que%20los%20gr%C3%A1ficos%20fueran%20enga%C3%B1osos.%20No%20ser%C3%ADa%20adecuado%20utilizar%20la%20desviaci%C3%B3n%20est%C3%A1ndar%20de%20la%20respuesta.%20Parte%20de%20esa%20varianza%20se%20ha%20explicado%20mediante%20la%20variable%20X.%20Podr%C3%ADa%20utilizar%20el%20RMSE%20del%20ajuste%20del%20modelo%2C%20pero%20%C2%BFes%20ese%20realmente%20el%20error%20adecuado%3F%20%C2%BFQuiere%20formar%20un%20intervalo%20de%20confianza%20del%2099%2C7%20%25%20para%20el%20ajuste%3F%20%C2%BFIntervalo%20de%20confianza%20del%2099%2C7%20%25%20para%20la%20predicci%C3%B3n%3F%20Esas%20son%20las%20opciones%20que%20est%C3%A1n%20disponibles%20bajo%20el%20tri%C3%A1ngulo%20rojo%20para%20el%20modelo%20lineal%20que%20se%20ajust%C3%B3%20a%20los%20datos.%20En%20%C3%BAltima%20instancia%2C%20realmente%20depende%20de%20lo%20que%20est%C3%A9%20tratando%20de%20hacer%20con%20ese%20intervalo.%3C%2FP%3E%0A%3CP%3E4)%20S%C3%AD%2C%20se%20puede%20hacer.%20Probablemente%20quieras%20usar%20una%20columna%20de%20f%C3%B3rmula%20para%20determinar%20si%20un%20valor%20cumple%20con%20las%20especificaciones%20o%20no.%20Tener%20esa%20informaci%C3%B3n%20en%20una%20columna%20te%20permitir%C3%A1%20marcar%20f%C3%A1cilmente%20los%20puntos%20de%20datos%20como%20dentro%20o%20fuera%20de%20las%20especificaciones%20en%20Graph%20Builder.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EEspero%20que%20otros%20puedan%20aportar%20m%C3%A1s%20detalles.%20Puede%20ser%20mejor%20que%20cada%20pregunta%20est%C3%A9%20separada%20en%20un%20hilo%20independiente%2C%20ya%20que%20son%20bastante%20diferentes.%20De%20ese%20modo%2C%20se%20pueden%20hacer%20preguntas%20m%C3%A1s%20espec%C3%ADficas%20y%20responderlas.%20%C2%A1Buena%20suerte%20en%20tu%20camino%20de%20aprendizaje%20de%20JMP!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
qli107966
Level I

Avg & SD caluclation for multiple columns in JMP

Hello,

 

I'm quite new to JMP and looking for some advise how to performance below tasks:
1. can JMP combine multiple files with multiple random tabs together into one data table?

2. in the data table, how to calculate multiple columns (with the same column name and column number is random) average and standard deviation as two new columns?

3. can I make a plot using +- 3 sigma as spec range, and other raw columns data as scatter plot to quantify if all within spec or not? 

4. Can JMP report pass or fail if any data point out of the spec? even for linear regression using Fit Y by X model? (I tried to use Fit Y by X but unable to draw any spec properly, unable to find that feature available)


I've attached 4 excel files and one png to show what I'm trying to do for your reference. Thank you for your help in advance.

1 REPLY 1

Re: Avg & SD caluclation for multiple columns in JMP

Others should chime in since my answers may have ideas that I did not think of.

 

1) I am assuming you are trying to import Excel workbooks since you mentioned several tabs. You can certainly import an Excel workbook with multiple tabs into a single data table. You can import multiple Excel files at once, but they may not be into a single table. I do not think you can do both at the same time. But you could do it as a two-step process: bring in each file with the multiple tabs and then join the resulting JMP data tables.

2) You should read the post in the discussions that state that JMP is not a spreadsheet. You can calculate the average and standard deviation for multiple columns using the Table > Summary command. This will put the results into a new data table. If you MUST have the results in the same data table as the raw data, then you can use column formulas to calculate averages and standard deviations. There are other ways that can accomplish this task depending on exactly what you would like to do and why. Sometimes the best answer may not always be what you are thinking of doing.

3) If you fit a linear model, what "sigma" are you using for the bands? I would worry about misleading graphs. Using the standard deviation of the response would not be appropriate. Some of that variance has been explained by the X-variable. You could use the RMSE of the model fit, but is that really the proper error? Are you wanting to form a 99.7% confidence interval for the fit? 99.7% confidence interval for the prediction? Those are options that are available under the red triangle for the linear model that was fit to the data. Ultimately, it really depends on what you are trying to do with that interval.

4) Yes, this can be done. You will likely want to use a formula column to determine if a value is in spec or not. Having that information in a column will allow you to easily mark the data points as in/out of spec in Graph Builder. 

 

I hope that others will chime in with more details. It may be better for you to have each question separated into a separate thread as they are quite different. More specific can then be asked and answered for each question. Best of luck on your JMP learning path!

Dan Obermiller