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-523582%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E6%AF%94%E8%BC%83%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523582%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E9%80%99%E5%8F%AF%E8%83%BD%E6%98%AF%E5%9F%BA%E6%9C%AC%E7%9A%84%EF%BC%8C%E4%BD%86%E6%88%91%E6%AD%A3%E5%9C%A8%E5%8A%AA%E5%8A%9B%E5%9C%A8%20JMP%20%E4%B8%AD%E6%89%BE%E5%88%B0%E8%A7%A3%E6%B1%BA%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E7%9A%84%E6%96%B9%E6%B3%95%E3%80%82%20%E8%AB%8B%E5%8E%9F%E8%AB%92%E6%88%91%E4%B9%8B%E5%89%8D%E5%9C%A8%E9%80%99%E5%80%8B%E8%AB%96%E5%A3%87%E4%B8%8A%E8%A8%8E%E8%AB%96%E9%81%8E%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E3%80%82%20%E6%88%91%E5%9F%BA%E6%9C%AC%E4%B8%8A%E6%83%B3%E7%B5%B1%E8%A8%88%E6%AF%94%E8%BC%83%E5%9B%9E%E6%AD%B8%E7%B7%9A%E3%80%82%20%E7%84%B6%E8%80%8C%EF%BC%8C%E9%80%99%E4%BA%9B%E6%98%AF%E5%A4%9A%E9%A0%85%E5%BC%8F%E6%9B%B2%E7%B7%9A%E3%80%82%20%E9%BB%98%E8%AA%8D%E6%83%85%E6%B3%81%E4%B8%8B%EF%BC%8C%E6%88%91%E5%9C%A8%20JMP%20%E4%B8%AD%E5%98%97%E8%A9%A6%E9%81%8E%E7%9A%84%E6%89%80%E6%9C%89%E9%81%B8%E9%A0%85%E9%83%BD%E9%81%A9%E5%90%88%E7%B7%9A%E6%80%A7%E6%9B%B2%E7%B7%9A%EF%BC%8C%E9%80%99%E4%B8%8D%E5%A4%AA%E9%81%A9%E5%90%88%E6%95%B8%E6%93%9A%E3%80%82%3C%2FP%3E%3CP%3E%E7%B0%A1%E8%80%8C%E8%A8%80%E4%B9%8B%EF%BC%8C%E6%88%91%E6%83%B3%E5%9F%B7%E8%A1%8C%E4%B8%80%E5%80%8B%E5%81%87%E8%A8%AD%E6%AA%A2%E9%A9%97%E4%BE%86%E8%A9%95%E4%BC%B0%E6%88%91%E7%9A%84%E6%95%B8%E6%93%9A%E9%9B%86%E4%B8%AD%E7%9A%84%E9%A1%9E%E5%88%A5%E4%B9%8B%E9%96%93%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E5%B7%AE%E7%95%B0%E3%80%82%20%E6%88%91%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E2%80%9C%E6%93%AC%E5%90%88%E6%A8%A1%E5%9E%8B%E2%80%9D%E5%B0%8D%E8%A9%B1%E6%A1%86%E5%9F%B7%E8%A1%8C%E6%AD%A4%E6%93%8D%E4%BD%9C%E3%80%82%20%E4%BD%86%E6%88%91%E7%84%A1%E6%B3%95%E5%B0%87%E5%9B%9E%E6%AD%B8%E4%BD%9C%E7%82%BA%E4%B8%89%E9%9A%8E%E5%A4%9A%E9%A0%85%E5%BC%8F%E3%80%82%20%E5%9B%A0%E6%AD%A4%EF%BC%8CJMP%20%E8%87%AA%E5%8B%95%E6%87%89%E7%94%A8%E7%B7%9A%E6%80%A7%E6%93%AC%E5%90%88%E3%80%82%3C%2FP%3E%3CP%3E%E6%9C%89%E6%B2%92%E6%9C%89%E8%BE%A6%E6%B3%95%E5%91%8A%E8%A8%B4%20JMP%20%E5%9C%A8%E2%80%9C%E6%93%AC%E5%90%88%E6%A8%A1%E5%9E%8B%E2%80%9D%E5%B0%8D%E8%A9%B1%E6%A1%86%E4%B8%AD%E5%9F%B7%E8%A1%8C%E5%A4%9A%E9%A0%85%E5%BC%8F%E6%93%AC%E5%90%88%E3%80%82%3C%2FP%3E%3CP%3E%E6%84%9F%E8%AC%9D%E6%82%A8%E7%9A%84%E5%B9%AB%E5%8A%A9%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-523582%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E5%88%86%E6%9E%90%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E6%95%B8%E6%93%9A%E8%A1%A8%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-523913%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%AF%94%E8%BC%83%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523913%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E8%AA%8D%E7%82%BA%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9474%22%20target%3D%22_blank%22%3E%40%E5%96%AC%E6%B2%BB%3C%2FA%3E%E6%9C%89%E6%89%80%E5%B9%AB%E5%8A%A9%EF%BC%8C%E4%BD%86%E9%82%84%E4%B8%8D%E5%A4%A0%E3%80%82%20%E4%B9%9F%E5%B0%B1%E6%98%AF%E8%AA%AA%EF%BC%8C%E6%82%A8%E9%9C%80%E8%A6%81%E7%82%BA%E6%89%80%E6%9C%89%20X%20%E9%A0%85%E6%B7%BB%E5%8A%A0%E4%BA%A4%E4%BA%92%E9%A0%85%E3%80%82%20%E9%80%99%E6%98%AF%E5%90%8C%E4%B8%80%E5%80%8B%E4%BE%8B%E5%AD%90%EF%BC%8C%E4%BD%86%E6%89%80%E6%9C%89%20%3Aheight%20%E9%A0%85%E9%83%BD%E6%9C%89%E4%B8%80%E5%80%8B%E4%BA%A4%E4%BA%92%E9%A0%85%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22diff%20poly.PNG%22%20style%3D%22width%3A%20524px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22diff%20poly.PNG%22%20style%3D%22width%3A%20524px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22diff%20poly.PNG%22%20style%3D%22width%3A%20524px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44146i20FFBF560C8F405C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22diff%20poly.PNG%22%20alt%3D%22diff%20poly.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%E6%89%80%E4%BB%A5%E9%80%99%E5%80%8B%E6%A1%88%E4%BE%8B%E5%BE%97%E5%87%BA%E7%B5%90%E8%AB%96%EF%BC%8C%E4%B8%8D%E9%9C%80%E8%A6%81%E8%B7%A8%E6%80%A7%E5%88%A5%E7%9A%84%E5%94%AF%E4%B8%80%E6%88%AA%E8%B7%9D%E3%80%81%E4%B8%80%E9%9A%8E%E6%88%96%E4%BA%8C%E9%9A%8E%E9%A0%85%E3%80%82%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E8%AB%8B%E6%B3%A8%E6%84%8F%EF%BC%8C%E9%80%99%E4%BA%9B%E6%95%88%E6%9E%9C%E6%B8%AC%E8%A9%A6%E9%81%A9%E7%94%A8%E6%96%BC%E5%90%84%E7%B5%84%E5%8F%83%E6%95%B8%E4%BC%B0%E8%A8%88%E5%80%BC%E7%9A%84%E5%B7%AE%E7%95%B0%E3%80%82%20%E5%AE%83%E5%80%91%E4%B8%8D%E9%81%A9%E5%90%88%E7%AD%89%E6%95%88%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-523612%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%AF%94%E8%BC%83%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523612%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E6%83%B3%E8%A6%81%E4%B8%80%E5%80%8B%E6%AD%A3%E5%BC%8F%E7%9A%84%E7%B5%B1%E8%A8%88%E6%B8%AC%E8%A9%A6%E4%BE%86%E6%AF%94%E8%BC%83%E6%9B%B2%E7%B7%9A%EF%BC%8C%E9%82%A3%E9%BA%BC%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%B0%87%E5%88%86%E9%A1%9E%E8%AE%8A%E9%87%8F%E6%B7%BB%E5%8A%A0%E5%88%B0%E6%A8%A1%E5%9E%8B%E4%B8%AD%E3%80%82%20%E4%BD%BF%E7%94%A8%20Georg%20%E7%9A%84%E7%A4%BA%E4%BE%8B%EF%BC%8C%E6%82%A8%E7%9A%84%E6%A8%A1%E5%9E%8B%E5%B0%87%E6%98%AF%20Height%E3%80%81Height%5E2%E3%80%81Height%5E3%E3%80%81Sex%E3%80%81Sex*Height%E3%80%81Sex*Height%5E2%E3%80%81Sex*Height%5E3%E3%80%82%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E6%80%A7%E5%88%A5%E5%8F%83%E6%95%B8%E7%9A%84%E6%B8%AC%E8%A9%A6%E6%9C%83%E5%91%8A%E8%A8%B4%E6%82%A8%E6%88%AA%E8%B7%9D%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E5%B7%AE%E7%95%B0%E3%80%82%3C%2FP%3E%0A%3CP%3ESex*Height%20%E5%8F%83%E6%95%B8%E7%9A%84%E6%B8%AC%E8%A9%A6%E6%9C%83%E5%91%8A%E8%A8%B4%E6%82%A8%20Height%20%E7%9A%84%E6%96%9C%E7%8E%87%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E5%B7%AE%E7%95%B0%E3%80%82%3C%2FP%3E%0A%3CP%3ESex*Height%5E2%20%E7%9A%84%E6%AA%A2%E9%A9%97%E6%9C%83%E5%91%8A%E8%A8%B4%E6%82%A8%E4%BA%8C%E6%AC%A1%E5%8F%83%E6%95%B8%E4%BC%B0%E8%A8%88%E5%80%BC%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E5%B7%AE%E7%95%B0%E3%80%82%3C%2FP%3E%0A%3CP%3ESex*Height%5E3%20%E7%9A%84%E6%AA%A2%E9%A9%97%E6%9C%83%E5%91%8A%E8%A8%B4%E6%82%A8%E4%B8%89%E6%AC%A1%E5%8F%83%E6%95%B8%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8%E5%B7%AE%E7%95%B0%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-523610%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%AF%94%E8%BC%83%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523610%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%82%A8%E4%B9%9F%E5%8F%AF%E4%BB%A5%E5%9C%A8%E6%93%AC%E5%90%88%E6%A8%A1%E5%9E%8B%E5%B9%B3%E5%8F%B0%E4%B8%AD%E6%A7%8B%E5%BB%BA%E6%AD%A4%E6%A8%A1%E5%9E%8B%EF%BC%88%E5%AE%8F%20--%26gt%3B%20%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%88%B0%E5%BA%A6...%EF%BC%89%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E5%9C%A8%20By-role%20%E4%B8%AD%E4%BD%BF%E7%94%A8%E6%80%A7%E5%88%A5%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%93%AC%E5%90%88%E5%96%AE%E7%8D%A8%E7%9A%84%E5%9B%9E%E6%AD%B8%E6%A8%A1%E5%9E%8B%EF%BC%8C%E5%B0%87%E5%AE%83%E5%80%91%E4%BF%9D%E5%AD%98%E7%82%BA%E5%85%AC%E5%BC%8F%E4%B8%A6%E6%A0%B9%E6%93%9A%E9%9C%80%E8%A6%81%E9%80%B2%E8%A1%8C%E6%AF%94%E8%BC%83%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Georg_0-1658265240895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Georg_0-1658265240895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Georg_0-1658265240895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44136iE71D93EA905B76F3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Georg_0-1658265240895.png%22%20alt%3D%22Georg_0-1658265240895.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-523604%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%AF%94%E8%BC%83%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523604%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%E5%96%AC%E6%B2%BB%EF%BC%8C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E8%AC%9D%E8%AC%9D%EF%BC%8C%E4%BD%86%E9%80%99%E5%B0%8D%E6%88%91%E7%9A%84%E6%83%85%E6%B3%81%E6%B2%92%E6%9C%89%E5%B9%AB%E5%8A%A9%E3%80%82%20%E6%88%91%E6%9C%89%E5%85%A9%E5%80%8B%E9%A1%9E%E5%88%A5%E8%AE%8A%E9%87%8F%EF%BC%8C%E6%88%91%E9%9C%80%E8%A6%81%E9%80%9A%E9%81%8E%E5%AE%83%E5%80%91%E4%BE%86%E6%AF%94%E8%BC%83%E5%9B%9E%E6%AD%B8%E3%80%82%3C%2FP%3E%3CP%3E%E6%89%80%E4%BB%A5%20Fit%20Y%20by%20X%20%E6%B2%92%E6%9C%89%E5%B9%AB%E5%8A%A9%EF%BC%8C%E9%99%A4%E9%9D%9E%E6%9C%89%E6%9F%90%E7%A8%AE%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E7%9A%84%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E9%9C%80%E8%A6%81%E5%81%9A%E7%9A%84%E6%98%AF%E9%80%9A%E9%81%8E%E6%93%AC%E5%90%88%E6%A8%A1%E5%9E%8B%E5%B0%8D%E8%A9%B1%E6%A1%86%E6%93%AC%E5%90%88%E5%A4%9A%E9%A0%85%E5%BC%8F%E6%9B%B2%E7%B7%9A%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-523595%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%AF%94%E8%BC%83%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%E7%B7%9A%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523595%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%9C%A8%20platform%20fit%20y%20by%20x%20%E4%B8%AD%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9F%B7%E8%A1%8C%E5%A4%9A%E9%A0%85%E5%BC%8F%E5%9B%9E%E6%AD%B8%EF%BC%8C%E9%82%84%E5%8F%AF%E4%BB%A5%E9%A1%AF%E7%A4%BA%E7%BD%AE%E4%BF%A1%E5%8D%80%E5%9F%9F%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%E4%B9%9F%E8%A8%B1%E9%80%99%E6%9C%89%E5%B9%AB%E5%8A%A9%EF%BC%9F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Georg_0-1658262153553.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Georg_0-1658262153553.png%22%20style%3D%22width%3A%20325px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Georg_0-1658262153553.png%22%20style%3D%22width%3A%20325px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44134i9DFA535C3B38C24F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Georg_0-1658262153553.png%22%20alt%3D%22Georg_0-1658262153553.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%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Ben11
Level II

Compare polynomial regression lines

This may be basic but I'm struggling to find a way around this in JMP. Pardon me if this has been discussed previously on this forum. I essentially want to statistically compare regression lines. However, these are polynomial curves. All the options I have tried in JMP fits a linear curve by default which is not a good fit for the data.

Briefly, I want to perform a hypothesis test to assess whether there are differences among the categories within my dataset. I am able to do this using the 'Fit Model' dialog. But I am unable to the regression as 3rd order polynomials. Hence, JMP automatically applies a linear fit.

Is there a way to tell JMP to perform polynomial fitting in the "Fit Model" dialog. 

Your help is appreciated.

3 ACCEPTED SOLUTIONS

Accepted Solutions
Georg
Level VII

Re: Compare polynomial regression lines

You can build this model as well in fit model platform (Macros --> Polynomial to degree ...),

using sex in By-role you can fit separate regression models, save them as formula and compare them as you need.

Georg_0-1658265240895.png

 

 

Georg

View solution in original post

Re: Compare polynomial regression lines

If you want a formal statistical test to compare the curves, then you would add the categorical variable into the model. Using Georg's example, your model would be Height, Height^2, Height^3, Sex, Sex*Height, Sex*Height^2, Sex*Height^3.

 

The test of the parameter for Sex would tell you if there are differences in the intercepts. 

The test of the Sex*Height parameter would tell you if there are differences in the slopes of Height.

The test of Sex*Height^2 would tell you if there are differences in the quadratic parameter estimates.

The test of Sex*Height^3 would tell you if there are differences in the cubic parameters.

Dan Obermiller

View solution in original post

Re: Compare polynomial regression lines

I think @Georg helped but didn't go far enough. That is to say, you need to add interaction terms for all the X terms. Here is the same example, but with an interaction term for all the :height terms:

 

diff poly.PNG

 

So this case concludes that there is no need for a unique intercept, first-order, or second-order term across sexes.

 

 

Note that these effect tests are appropriate for a difference in the parameter estimates across groups. They are not appropriate for equivalence.

View solution in original post

5 REPLIES 5
Georg
Level VII

Re: Compare polynomial regression lines

In platform fit y by x you can perform polynomial regression, and you can also show confidence region,

maybe this helps?

 

Georg_0-1658262153553.png

 

Georg
Ben11
Level II

Re: Compare polynomial regression lines

Hello Georg,

 

Thanks but this doesn't help my situation. I have two categorial variables by which I need to compare the regressions. 

So the Fit Y by X doesn't help, unless there's some way around this that I don't know.

What I need to do is fit a polynomial curve through the Fit Model dialogue.

 

Georg
Level VII

Re: Compare polynomial regression lines

You can build this model as well in fit model platform (Macros --> Polynomial to degree ...),

using sex in By-role you can fit separate regression models, save them as formula and compare them as you need.

Georg_0-1658265240895.png

 

 

Georg

Re: Compare polynomial regression lines

If you want a formal statistical test to compare the curves, then you would add the categorical variable into the model. Using Georg's example, your model would be Height, Height^2, Height^3, Sex, Sex*Height, Sex*Height^2, Sex*Height^3.

 

The test of the parameter for Sex would tell you if there are differences in the intercepts. 

The test of the Sex*Height parameter would tell you if there are differences in the slopes of Height.

The test of Sex*Height^2 would tell you if there are differences in the quadratic parameter estimates.

The test of Sex*Height^3 would tell you if there are differences in the cubic parameters.

Dan Obermiller

Re: Compare polynomial regression lines

I think @Georg helped but didn't go far enough. That is to say, you need to add interaction terms for all the X terms. Here is the same example, but with an interaction term for all the :height terms:

 

diff poly.PNG

 

So this case concludes that there is no need for a unique intercept, first-order, or second-order term across sexes.

 

 

Note that these effect tests are appropriate for a difference in the parameter estimates across groups. They are not appropriate for equivalence.

Recommended Articles