cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-39270%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ETrazar%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39270%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%C2%A1Hola!%3C%2FP%3E%3CP%3ETengo%2010%20medidas%20de%20Y%2C%20todas%20contra%20una%20X%2C%20%C2%BFc%C3%B3mo%20comparo%20las%20respuestas%20en%20un%20gr%C3%A1fico%20usando%20las%20l%C3%ADneas%20de%20regresi%C3%B3n%20lineal%20(en%20los%20diagramas%20de%20dispersi%C3%B3n)%3F%20Las%20Y%20est%C3%A1n%20por%20triplicado.%20Adjunto%20el%20archivo%20Excel%20con%20los%20datos.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-302524%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-302524%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EEjecut%C3%A9%20algunos%20datos%20del%20mundo%20real%20a%20trav%C3%A9s%20de%20Matlab%20y%20el%20m%C3%A9todo%20en%20este%20hilo.%20El%20acuerdo%20es%20a%20m%C3%A1s%20de%20los%20d%C3%ADgitos%20significativos%20en%20los%20datos.%20Muchas%20gracias.%20Esto%20es%20excelente%20y%20muy%20f%C3%A1cil%20de%20usar.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-301687%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-301687%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELas%20estimaciones%20de%20par%C3%A1metros%20no%20muestran%20la%20estimaci%C3%B3n%20de%20par%C3%A1metros%20para%20la%20%C3%BAltima%20categor%C3%ADa%20de%20una%20variable%20categ%C3%B3rica%20debido%20a%20la%20forma%20en%20que%20se%20realiza%20la%20codificaci%C3%B3n%20de%20esa%20variable.%20Esa%20%C3%BAltima%20categor%C3%ADa%20es%20-1*(suma%20de%20las%20otras%20estimaciones%20de%20par%C3%A1metros).%20En%20el%20ejemplo%2C%2050%2C9%20%2B%20-11%2C9%20%3D%2039%2C0%20(con%20redondeo%2C%20por%20supuesto).%20Por%20lo%20tanto%2C%20matem%C3%A1ticamente%2C%20no%20necesita%20mostrar%20la%20estimaci%C3%B3n%20del%20%C3%BAltimo%20par%C3%A1metro%20(en%20realidad%2C%20no%20se%20muestra%20debido%20a%20la%20forma%20en%20que%20se%20realizan%20las%20matem%C3%A1ticas).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDe%20todos%20modos%2C%20esta%20es%20la%20raz%C3%B3n%20por%20la%20que%20JMP%20ofrece%20la%20opci%C3%B3n%20Ecuaci%C3%B3n%20de%20predicci%C3%B3n.%20Tambi%C3%A9n%20puede%20verlo%20en%20la%20tabla%20Estimaciones%20de%20par%C3%A1metros%20ampliadas%2C%20disponible%20en%20el%20men%C3%BA%20emergente%20rojo%20seleccionando%20Estimaciones%20%26gt%3B%20Estimaciones%20ampliadas.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-301251%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazar%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-301251%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELa%20tabla%20de%20estimaciones%20de%20par%C3%A1metros%20no%20muestra%20compensaci%C3%B3n%20de%20intercepci%C3%B3n%20para%20el%20pol%C3%ADmero%20%5BC%5D%2C%20pero%20la%20ecuaci%C3%B3n%20de%20predicci%C3%B3n%20implica%20que%20en%20realidad%20es%20-39.05458586.%20%C2%BFPor%20qu%C3%A9%20es%20eso%20por%20favor%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-301250%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-301250%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EGracias.El%20modelo%20que%20sugiere%20es%20el%20del%20ejemplo%20y%20vi%20las%20estimaciones%20de%20par%C3%A1metros%20en%20la%20parte%20inferior%20del%20ejemplo%2C%20pero%20no%20ten%C3%ADa%20sentido%20para%20m%C3%AD%20porque%20estoy%20acostumbrado%20a%20una%20salida%20donde%20el%20tercer%20par%C3%A1metro%20(pol%C3%ADmero%20en%20el%20ejemplo)%20etiqueta%20el%20conjunto%20de%20datos%20pero%20no%20se%20usa%20como%20compensaci%C3%B3n.Por%20lo%20tanto%2C%20creo%20que%20lo%20que%20est%C3%A1%20diciendo%20es%20que%2C%20al%20sumar%20la%20estimaci%C3%B3n%20de%20cada%20pol%C3%ADmero%20a%20la%20estimaci%C3%B3n%20de%20intercepci%C3%B3n%2C%20obtendr%C3%A9%20las%20intersecciones%20expl%C3%ADcitas%20que%20estoy%20acostumbrado%20a%20ver.%20As%C3%AD%2C%20el%20pol%C3%ADmero%20A%20tiene%20una%20intersecci%C3%B3n%20de%20-122%2C84%20%2B%2050%2C94%20%3D%20-71%2C90%20y%20el%20pol%C3%ADmero%20C%20tiene%20una%20intersecci%C3%B3n%20de%20-122%2C84%20%2B%200%20%3D%20-122%2C84.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfortunadamente%2C%20puedo%20verificar%20esto%20r%C3%A1pidamente%20con%20mis%20propios%20datos%20y%20comparar%20el%20resultado%20con%20el%20de%20Matlab.%C2%A1Ser%C3%A1%20mucho%20m%C3%A1s%20conveniente%20hacerlo%20todo%20en%20una%20sola%20herramienta!Una%20o%20dos%20oraciones%20que%20expliquen%20esto%20en%20el%20ejemplo%20de%20ayuda%20podr%C3%ADan%20beneficiar%20a%20muchos%20usuarios.Gracias%20de%20nuevo.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-301209%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-301209%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ECreo%20que%20lo%20que%20realmente%20quieres%20hacer%20es%20crear%20un%20modelo%20m%C3%A1s%20complicado%20que%20te%20permita%20ver%20este%20gr%C3%A1fico.%20Usar%C3%A9%20los%20datos%20de%20Limpieza%2C%20para%20ilustrar.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EElija%20Ajustar%20modelo.%3C%2FP%3E%0A%3CP%3EEspecifique%20Part%C3%ADculas%20de%20carb%C3%B3n%20como%20la%20Y.%3C%2FP%3E%0A%3CP%3ESeleccione%20pH%20y%20pol%C3%ADmero%20y%20haga%20clic%20en%20Agregar.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FitModel%20Dialog.JPG%22%20style%3D%22width%3A%20481px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FitModel%20Dialog.JPG%22%20style%3D%22width%3A%20481px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FitModel%20Dialog.JPG%22%20style%3D%22width%3A%20481px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26617i2BA697FD942B8AE1%2Fimage-dimensions%2F481x323%3Fv%3Dv2%22%20width%3D%22481%22%20height%3D%22323%22%20role%3D%22button%22%20title%3D%22FitModel%20Dialog.JPG%22%20alt%3D%22FitModel%20Dialog.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHaga%20clic%20en%20Ejecutar.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEl%20primer%20gr%C3%A1fico%20que%20ve%20es%20la%20imagen%20que%20desea.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Regression%20Plot.JPG%22%20style%3D%22width%3A%20435px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Regression%20Plot.JPG%22%20style%3D%22width%3A%20435px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Regression%20Plot.JPG%22%20style%3D%22width%3A%20435px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26618i6F6E740798CCFDF6%2Fimage-dimensions%2F435x220%3Fv%3Dv2%22%20width%3D%22435%22%20height%3D%22220%22%20role%3D%22button%22%20title%3D%22Regression%20Plot.JPG%22%20alt%3D%22Regression%20Plot.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEn%20cuanto%20a%20la%20pendiente%20de%20las%20l%C3%ADneas%2C%20puede%20obtenerla%20de%20las%20Estimaciones%20de%20par%C3%A1metros%2C%20pero%20creo%20que%20es%20m%C3%A1s%20f%C3%A1cil%20de%20ver%20yendo%20al%20tri%C3%A1ngulo%20rojo%20junto%20a%20Part%C3%ADculas%20de%20carb%C3%B3n%20de%20respuesta%20y%20seleccionando%20Estimaciones%20%26gt%3B%20Mostrar%20expresi%C3%B3n%20de%20predicci%C3%B3n.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PredExp.JPG%22%20style%3D%22width%3A%20496px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PredExp.JPG%22%20style%3D%22width%3A%20496px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PredExp.JPG%22%20style%3D%22width%3A%20496px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26619iBB484E4622EF72DA%2Fimage-dimensions%2F496x150%3Fv%3Dv2%22%20width%3D%22496%22%20height%3D%22150%22%20role%3D%22button%22%20title%3D%22PredExp.JPG%22%20alt%3D%22PredExp.JPG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ELa%20pendiente%20com%C3%BAn%20es%2054.294.%20Las%20estimaciones%20para%20cada%20pol%C3%ADmero%20son%20el%20ajuste%20que%20debe%20realizarse%20en%20la%20intercepci%C3%B3n%20general.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAh%2C%20y%20este%20es%20un%20modelo%2C%20por%20lo%20que%20minimiza%20el%20error%20en%20los%20tres%20pol%C3%ADmeros%20y%20el%20pH.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-300277%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-300277%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHola%20Jim%2C%3C%2FP%3E%0A%3CP%3EEncontr%C3%A9%20una%20imagen%20de%20c%C3%B3mo%20se%20ver%C3%ADa%20en%20JMP%20en%20el%20ejemplo%20de%20limpieza%20en%20la%20ayuda%20sobre%20regresi%C3%B3n.Vea%20c%C3%B3mo%20las%20l%C3%ADneas%20de%20ajuste%20para%20cada%20conjunto%20de%20datos%20tienen%20todas%20la%20misma%20pendiente.Sin%20embargo%2C%3CBR%20%2F%3E%20No%20puedo%20encontrar%20ninguna%20forma%20de%20obtener%20las%20ecuaciones%20reales%20de%20las%20l%C3%ADneas%20de%20este%20an%C3%A1lisis%20y%20no%20dice%20expl%C3%ADcitamente%20que%20la%20pendiente%20elegida%20minimiza%20el%20error%20en%20los%20tres%20conjuntos%20de%20datos.Si%20tuviera%20eso%20entonces%20esto%20servir%C3%ADa%20y%20es%20bastante%20f%C3%A1cil%20de%20conseguir.%3C%2FP%3E%0A%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jeff_Perkinson_0-1599268468866.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Jeff_Perkinson_0-1599268468866.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Jeff_Perkinson_0-1599268468866.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26620i802292661C4508F8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jeff_Perkinson_0-1599268468866.png%22%20alt%3D%22Jeff_Perkinson_0-1599268468866.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-299199%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-299199%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHola%20Jim%2C%3C%2FP%3E%3CP%3ERealmente%20no%20hay%20un%20gr%C3%A1fico%2C%20son%20solo%20ecuaciones.Si%20ejecuta%20su%20ejemplo%20con%20el%20primer%20m%C3%A9todo%20y%20obtiene%20el%20gr%C3%A1fico%2C%20cada%20conjunto%20de%20pares%20x%2Cy%20obtiene%20su%20propia%20l%C3%ADnea%20de%20ajuste%20LSQ.En%20cambio%2C%20quiero%20ajustar%20una%20l%C3%ADnea%20a%20cada%20conjunto%20de%20datos%2C%20pero%20las%20l%C3%ADneas%20tienen%20la%20misma%20pendiente.Hay%20casos%20en%20los%20que%20esto%20tiene%20sentido%20f%C3%ADsicamente.La%20pendiente%20corresponde%20a%20la%20desviaci%C3%B3n%20est%C3%A1ndar%20de%20la%20poblaci%C3%B3n%20de%20la%20cual%20solo%20puede%20haber%20un%20valor.%3C%2FP%3E%3CP%3EEl%20gr%C3%A1fico%20resultante%20mostrar%C3%ADa%20una%20l%C3%ADnea%20de%20ajuste%20a%20trav%C3%A9s%20de%20cada%20conjunto%20de%20pares%20x%2Cy%2C%20pero%20las%20pendientes%20son%20id%C3%A9nticas.Hay%20un%20ajuste%20LSQ%20que%20minimiza%20el%20error%20dada%20esta%20restricci%C3%B3n.%20(El%20error%20es%20mayor%20que%20dejar%20que%20cada%20l%C3%ADnea%20tenga%20su%20propia%20pendiente%20%C3%B3ptima%2C%20por%20supuesto).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEn%20matlab%2C%20especifica%20una%20ecuaci%C3%B3n%20lineal%20para%20cada%20conjunto%2C%20pero%20la%20variable%20de%20pendiente%20es%20la%20misma%20para%20ambos%20conjuntos.En%20lugar%20de%204%20grados%20de%20libertad%2C%20solo%20tienes%203.%20Intersecci%C3%B3n%201%2C%20intersecci%C3%B3n%202%20y%20la%20pendiente.Pero%20es%20muy%20tedioso%20obtener%20datos%20de%20una%20tabla%20de%20datos%20en%20Matlab%20y%20reformatearlos%20para%20que%20puedan%20ser%20procesados%20por%20la%20funci%C3%B3n%20lsqcurvefit.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-299198%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-299198%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%C2%BFPuedes%20pegar%20c%C3%B3mo%20se%20ve%20tu%20gr%C3%A1fico%20de%20Matlab%3F%20Me%20est%C3%A1%20costando%20entender%20c%C3%B3mo%20se%20ve.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-299197%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-299197%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EEsto%20est%C3%A1%20cerca%20de%20lo%20que%20necesito%2C%20pero%20quiero%20ajustar%20una%20sola%20pendiente%20a%20los%20dos%20conjuntos%20de%20pares%20x%2C%20y.%20Se%20puede%20hacer%20en%20matlab.%20%C2%BFC%C3%B3mo%20lo%20hago%20en%20JMP%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39281%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39281%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3COL%3E%0A%3CLI%3E1.%20Seleccione%3CSTRONG%3E%20Archivo%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20preferencias%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20fuentes%3C%2FSTRONG%3E%20.%3C%2FLI%3E%0A%3CLI%3EDepende%20de%20tu%20m%C3%A9todo.%3COL%3E%0A%3CLI%3E%3CSTRONG%3Ebivariado%3C%2FSTRONG%3E%20%3A%20la%20ecuaci%C3%B3n%20para%20cada%20grupo%20se%20proporciona%20en%20informes%20separados%20debajo%20de%20la%20gr%C3%A1fica.%3COL%3E%0A%3CLI%3EVer%3CSTRONG%3E%20Ayuda%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20Libros%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20An%C3%A1lisis%20b%C3%A1sico%3C%2FSTRONG%3E%20%26gt%3B%20cap%C3%ADtulo%205.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EAjustar%20m%C3%ADnimos%20cuadrados%3C%2FSTRONG%3E%20%3A%20este%20modelo%20es%20m%C3%A1s%20complejo%20por%20lo%20que%20no%20hay%20una%20ecuaci%C3%B3n%20separada%20para%20cada%20grupo.%20En%20cambio%2C%20hay%20par%C3%A1metros%20separados%20para%20cada%20grupo.%20Deber%C3%ADa%20estar%20claro%20en%20el%20informe%20de%20Estimaciones%20de%20par%C3%A1metros%2C%20pero%20tambi%C3%A9n%20puede%20verlo%20en%20la%20f%C3%B3rmula%20de%20la%20columna%20si%20hace%20clic%20en%20el%20tri%C3%A1ngulo%20rojo%20junto%20a%20Respuesta%20y%20selecciona%3CSTRONG%3E%20Guardar%20columnas%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20F%C3%B3rmula%20de%20predicci%C3%B3n%3C%2FSTRONG%3E%20.%3COL%3E%0A%3CLI%3EVer%3CSTRONG%3E%20Ayuda%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20Libros%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20Ajuste%20de%20modelos%20lineales%3C%2FSTRONG%3E%20%26gt%3B%20cap%C3%ADtulo%203.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EGenerador%20de%20gr%C3%A1ficos%3C%2FSTRONG%3E%20%3A%20las%20ecuaciones%20para%20las%20l%C3%ADneas%20de%20tendencia%20lineal%20est%C3%A1n%20disponibles%20en%20las%20propiedades%20del%20lado%20izquierdo%20debajo%20de%20la%20lista%20de%20columnas.%3COL%3E%0A%3CLI%3EVer%3CSTRONG%3E%20Ayuda%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20Libros%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20Gr%C3%A1ficos%20esenciales%3C%2FSTRONG%3E%20%26gt%3B%3CSTRONG%3E%20L%C3%ADnea%20de%20ajuste%3C%2FSTRONG%3E%20en%20el%20cap%C3%ADtulo%203.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39275%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39275%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EMuchas%20gracias%20ambos%20m%C3%A9todos%20han%20funcionado%20muy%20bien.%20Tengo%20dos%20preguntas%20m%C3%A1s%2C%3C%2FP%3E%3CP%3E1.%20%C2%BFC%C3%B3mo%20formateo%20los%20t%C3%ADtulos%20de%20los%20ejes%20Y%20y%20X%3F%20Pude%20cambiar%20el%20nombre%20pero%20no%20pude%20poner%20en%20negrita%20ni%20aumentar%20el%20tama%C3%B1o%20de%20la%20fuente.%20Formando%20la%20escala%20del%20eje%20Y%20y%20X%20que%20he%20logrado.%3C%2FP%3E%3CP%3E2.%20%C2%BFEs%20posible%20obtener%20la%20Ecuaci%C3%B3n%20de%20cada%20una%20de%20las%20rectas%20encajadas%20en%20el%20modelo%3F%20%C2%BFC%C3%B3mo%20puedo%20hacer%20eso%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-39272%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Trazado%20de%20una%20l%C3%ADnea%20de%20regresi%C3%B3n%20lineal%20m%C3%BAltiple%20en%20un%20gr%C3%A1fico%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-39272%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHay%20tres%20formas%20que%20utiliza%20para%20'comparar'%20las%2010%20regresiones.%20Primero%20debe%20apilar%20las%20diez%20columnas%20Y%20para%20que%20las%20diez%20funcionen.%20(Seleccione%20Tablas%20%26gt%3B%20Apilar)%20Pruebe%20estos%20m%C3%A9todos%20con%20la%20tabla%20de%20datos%20apilados%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EBivariante%3A%20Seleccione%20Analizar%20%26gt%3B%20Ajustar%20Y%20por%20X.%20Ingrese%20la%20columna%20de%20mediciones%20apiladas%20en%20el%20rol%20Y%20y%20el%20predictor%20en%20el%20rol%20X.%20Haga%20clic%20en%20Aceptar.%20Haga%20clic%20en%20el%20tri%C3%A1ngulo%20rojo%20en%20la%20parte%20superior%20de%20Bivariante%20y%20seleccione%20Agrupar%20por.%20Seleccione%20la%20columna%20de%20la%20etiqueta%20para%20identificar%20los%20grupos%20y%20haga%20clic%20en%20Aceptar.%20Ahora%20haga%20clic%20en%20el%20tri%C3%A1ngulo%20rojo%20nuevamente%20y%20seleccione%20Ajustar%20l%C3%ADnea.%3C%2FLI%3E%0A%3CLI%3EAjustar%20m%C3%ADnimos%20cuadrados%3A%20seleccione%20Analizar%20%26gt%3B%20Ajustar%20modelo.%20Ingrese%20la%20columna%20de%20medidas%20apiladas%20en%20el%20rol%20Y.%20Seleccione%20la%20columna%20del%20predictor%20X%20y%20la%20columna%20de%20la%20etiqueta.%20Haga%20clic%20en%20Macros%20y%20seleccione%20Factorial%20completo.%20Haga%20clic%20en%20Ejecutar.%3C%2FLI%3E%0A%3CLI%3EGenerador%20de%20gr%C3%A1ficos%3A%20seleccione%20Gr%C3%A1fico%20%26gt%3B%20Generador%20de%20gr%C3%A1ficos.%20Arrastre%20la%20columna%20de%20mediciones%20apiladas%20a%20la%20zona%20de%20colocaci%C3%B3n%20Y%20y%20la%20columna%20del%20predictor%20X%20a%20la%20zona%20X.%20Arrastre%20la%20columna%20de%20la%20etiqueta%20a%20la%20zona%20Superposici%C3%B3n.%20Elimine%20el%20elemento%20suave%20y%20agregue%20el%20elemento%20de%20regresi%C3%B3n%20(utilice%20los%20botones%20de%20elemento%20sobre%20el%20lienzo%20o%20haga%20clic%20con%20el%20bot%C3%B3n%20derecho%20en%20el%20lienzo%20y%20utilice%20los%20comandos%20de%20men%C3%BA).%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
achengula
Level I

Plotting Multiple linear regression line on one graph

Hi There!

I have 10 Y measurements all against one X, how do I compare the responses on one graph using the linear regression lines (on the scatterplots)? The Y are in triplicates.  I have attached the Excel file with the data.

12 REPLIES 12
owg
owg
Level III

Re: Plotting Multiple linear regression line on one graph

I ran some real world data through Matlab & the method in this thread. The agreement is to more than the significant digits in the data. Thanks so much. This is excellent and so easy to use.
owg
owg
Level III

Re: Plotting Multiple linear regression line on one graph

The parameter estimates table shows no intercept offset for polymer[C] but the prediction equation implies it is actually -39.05458586. Why is that please?

Re: Plotting Multiple linear regression line on one graph

The parameter estimates do not show the parameter estimate for the last category of a categorical variable due to the way the coding of that variable is done. That last category is -1*(sum of the other parameter estimates). In the example, 50.9 + -11.9 = 39.0 (with rounding, of course). Therefore, mathematically, you do not need to display the last parameter estimate (in actuality, it is not displayed because of the way the mathematics are done).

 

Anyhow, this is why JMP offers the Prediction Equation option. You can also see it in the Expanded Parameter Estimates table, available from the red popup menu choosing Estimates > Expanded Estimates.

Dan Obermiller

Recommended Articles