cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-600498%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%EB%B9%84%EC%84%A0%ED%98%95%20%EB%A7%9E%EC%B6%A4%20-%20%EC%84%B1%EA%B3%B5%20%EC%97%AC%EB%B6%80%EB%A5%BC%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-600498%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CSTRONG%3E%EA%B0%9C%EC%9A%94%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%EB%B9%84%EC%84%A0%ED%98%95%20%EC%A0%81%ED%95%A9%EC%9D%B4%20%EC%84%B1%EA%B3%B5%ED%96%88%EB%8A%94%EC%A7%80%20%ED%99%95%EC%9D%B8%ED%95%98%EB%A0%A4%EB%A9%B4%20%EC%96%B4%EB%96%BB%EA%B2%8C%20%ED%95%B4%EC%95%BC%20%ED%95%A9%EB%8B%88%EA%B9%8C%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E(%EC%8B%A4%EC%A0%9C%20%EB%8D%B0%EC%9D%B4%ED%84%B0%EA%B0%80%20%ED%95%AD%EC%83%81%20%EC%88%98%EB%A0%B4%EB%90%98%EB%8A%94%20%EA%B2%83%EC%9D%80%20%EC%95%84%EB%8B%88%EB%A9%B0%20%EC%9E%90%EB%8F%99%ED%99%94%2F%ED%85%8C%EC%8A%A4%ED%8A%B8%2F%EC%A0%9C%ED%92%88%20%EB%AC%B8%EC%A0%9C%EC%97%90%20%EB%8C%80%ED%95%9C%20%EC%88%98%EB%8F%99%20%EA%B2%80%ED%86%A0%EA%B0%80%20%ED%95%84%EC%9A%94%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%EC%84%B8%EB%B6%80%20%EC%82%AC%ED%95%AD%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%EB%B9%84%EC%84%A0%ED%98%95%20%EC%A0%81%ED%95%A9%EC%9D%B4%20%EC%88%98%EB%A0%B4%ED%95%98%EC%A7%80%20%EB%AA%BB%ED%95%9C%20%ED%9B%84%20%EC%9D%91%EB%8B%B5%EC%9D%84%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8C%85%ED%95%98%EA%B3%A0%20%EC%8B%B6%EC%8A%B5%EB%8B%88%EB%8B%A4.%EC%A0%81%ED%95%A9%ED%95%98%EC%A7%80%20%EC%95%8A%EC%9C%BC%EB%A9%B4%20%EB%8B%A4%EB%A5%B8%20%EB%B0%A9%EB%B2%95%EC%9C%BC%EB%A1%9C%20%EC%B2%98%EB%A6%AC%ED%95%98%EA%B1%B0%EB%82%98%20%EA%B2%B0%EA%B5%AD%20%EC%88%98%EB%8F%99%20%EA%B2%80%ED%86%A0%EB%A5%BC%20%EC%9C%84%ED%95%B4%20%EB%9D%BC%EB%B2%A8%EC%9D%84%20%EC%A7%80%EC%A0%95%ED%95%B4%EC%95%BC%20%ED%95%A9%EB%8B%88%EB%8B%A4.%20(%EC%A0%80%EB%8A%94%20%EB%AA%A8%EC%A7%91%EB%8B%A8%EC%9D%84%20%EC%83%98%ED%94%8C%EB%A7%81%ED%95%9C%20%EB%8B%A4%EC%9D%8C%20%EA%B0%81%20%EB%B6%80%EB%B6%84%EC%97%90%20%EB%8C%80%ED%95%B4%20%EB%B9%84%EC%84%A0%ED%98%95%20%EC%A0%81%ED%95%A9%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%A9%EB%8B%88%EB%8B%A4.%EC%9D%BC%EB%B0%98%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EC%88%98%EB%A0%B4%EC%97%90%20%EC%8B%A4%ED%8C%A8%ED%95%98%EB%A9%B4%20%EC%96%B4%EB%94%98%EA%B0%80%EC%97%90%20%ED%85%8C%EC%8A%A4%ED%8A%B8%20%EB%AC%B8%EC%A0%9C%EA%B0%80%20%EC%9E%88%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EB%82%98%EB%8A%94%20%EC%8B%A4%EC%A0%9C%EB%A1%9C%20%EC%88%98%EB%A0%B4%20%EA%B8%B0%EC%A4%80%EC%9D%84%20%EB%8A%90%EC%8A%A8%ED%95%98%EA%B2%8C%20%ED%95%98%EA%B3%A0%20%EC%8B%B6%EC%A7%80%20%EC%95%8A%EB%8B%A4.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E('%EC%8B%A4%ED%8C%A8'%20%EB%A9%94%EC%8B%9C%EC%A7%80%3A%20%22%EC%8B%A4%ED%8C%A8%3A%20%EB%AA%A9%EC%A0%81%20%ED%95%A8%EC%88%98%EB%A5%BC%20%EA%B0%90%EC%86%8C%EC%8B%9C%ED%82%AC%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%22)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F50091i16B5465CA55A7137%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Nonlinear%20Fail%20Screenshot.png%22%20alt%3D%22Nonlinear%20Fail%20Screenshot.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENumeric%20Derivatives%20Only%EC%97%90%EC%84%9C%20%EC%88%98%EC%A0%95%EB%90%9C%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8(%EB%8F%84%EC%9B%80%EB%A7%90%20%26gt%3B%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8C%85%20%EC%83%89%EC%9D%B8%20%26gt%3B%20%22%26lt%3B%26lt%3B%EB%B9%84%EC%84%A0%ED%98%95%22)%3C%2FP%3E%3CP%3E(%ED%98%84%EC%9E%AC%20JMP%2015.2.1%20%EC%8B%A4%ED%96%89%20%EC%A4%91)%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20Open(%0A%20%22%24SAMPLE_DATA%2FNonlinear%20Examples%2FUS%20Population.jmp%22%0A)%3B%0A%0A%2F%2F%20Random%2C%20intentionally%20divergent%2C%20formula%20on%20this%20dataset%0Adt%20%26lt%3B%26lt%3B%20New%20Column(%20%22Random%22%2C%20Numeric%2C%20Formula(%20Random%20LogLogistic(5)%20)%20)%3B%0A%0Adt%20%26lt%3B%26lt%3B%20New%20Column(%20%22FancyPredictionFormula%22%2C%0A%20Numeric%2C%0A%20Continuous%2C%0A%20Formula(%0A%20%20Parameter(%0A%20%20%20%7BRth0%20%3D%20735%2C%20n%20%3D%200.5%7D%2C%0A%20%20%20(%3Ayear%20%2F%20%3Apop)%20*%20((1%20-%20((n%20-%201)%20*%20%3Apop%20*%20Rth0)%20%2F%20(%3Ayear%0A%20%20%20%20*%20(300%20%2F%20%3Ayear)%20%5E%20n))%20%5E%20(-1%20%2F%20(n%20-%201))%20-%201)%0A%20%20)%0A%20)%0A)%3B%0A%0Anonlinear%20%3D%20dt%20%26lt%3B%26lt%3B%20Nonlinear(%0A%20Y(%20%20%3AName(%20%22Random%22%20)%20)%2C%0A%20X(%20%3AName(%22FancyPredictionFormula%22)%20)%2C%0A%20Expand%20Intermediate%20Formulas(%201%20)%2C%0A%20Numeric%20Derivatives%20Only(%201%20)%2C%0A%20QuasiNewton%20SR1%2C%0A%20Interation%20Limit(50)%2C%0A%20Finish%2C%0A%20Plot(%200%20)%2C%0A%20Confidence%20Limits%2C%0A%20Save%20Estimates%0A)%3B%0A%0A%2F%2F%20How%20to%20check%20if%20nonlinear%20fit%20succeeded%3F%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%EC%9D%B4%EC%83%81%EC%A0%81%EC%9D%B8.%3C%2FU%3E%3C%2FP%3E%3CP%3E%EC%84%B1%EA%B3%B5%20%EB%98%90%EB%8A%94%20%EC%8B%A4%ED%8C%A8%EB%A5%BC%20%EB%82%98%ED%83%80%EB%82%B4%EB%8A%94%20%EC%96%B4%EB%94%98%EA%B0%80%EC%97%90%20%EB%B9%84%EC%84%A0%ED%98%95%20%EC%A0%81%ED%95%A9%20%ED%94%8C%EB%9E%AB%ED%8F%BC%EC%97%90%20%EC%9D%98%ED%95%B4%20%EB%B0%98%ED%99%98%EB%90%9C%20bool%20%EC%83%81%ED%83%9C%20%EB%B3%80%EC%88%98%EA%B0%80%20%EC%9E%88%EB%8B%A4%EB%A9%B4%20%EA%B7%B8%EA%B2%83%EC%9D%B4%20%EC%84%B1%EA%B3%B5%EC%9D%84%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EC%9D%B4%EC%83%81%EC%A0%81%EC%9D%B8%20%EB%B0%A9%EB%B2%95%EC%9D%B4%20%EB%90%A0%20%EA%B2%83%EC%9D%B4%EB%9D%BC%EA%B3%A0%20%EC%83%9D%EA%B0%81%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%3CU%3E%EB%8C%80%EC%95%88%201.%3C%2FU%3E%3C%2FP%3E%3CP%3E%EB%98%90%ED%95%9C%20%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%A5%BC%20%ED%91%9C%EB%A1%9C%20%EB%A7%8C%EB%93%A4%EA%B1%B0%EB%82%98%20%EC%9A%94%EC%95%BD%ED%95%98%EC%97%AC%20%EB%AA%A8%EB%93%A0%3CFONT%20face%3D%22verdana%2Cgeneva%22%3E%20%3A%3CFONT%20color%3D%22%230000FF%22%3E%20%EC%9D%B4%EB%A6%84%3C%2FFONT%3E%20(%3CFONT%20color%3D%22%23993366%22%3E%20%22FancyPredictionFormula%22%3C%2FFONT%3E%20)%3C%2FFONT%3E%20%EA%B0%92%EC%9D%80%200%EC%9E%85%EB%8B%88%EB%8B%A4.(%EC%A0%81%ED%95%A9%EC%9D%B4%20%EC%8B%A4%ED%8C%A8%ED%95%98%EB%A9%B4%20%EA%B0%92%EC%9D%B4%200%EC%9D%B8%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.)%3C%2FP%3E%3CP%3E%3CU%3E%EB%8C%80%EC%95%88%202.%20%3C%2FU%3E%3C%2FP%3E%3CP%3EXML%EC%9D%84%20%ED%99%95%EC%9D%B8%ED%95%98%EA%B3%A0%20'%EC%8B%A4%ED%8C%A8'%20%EB%A9%94%EC%8B%9C%EC%A7%80%EB%A5%BC%20%EC%9D%BD%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%B4%20%EC%9E%88%EC%9D%84%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%EB%8B%B9%EC%8B%A0%EC%9D%98%20%EC%8B%9C%EA%B0%84%EA%B3%BC%20%EB%B0%B0%EB%A0%A4%EC%97%90%20%EA%B0%90%EC%82%AC%EB%93%9C%EB%A6%BD%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E-%20%EC%98%A4%EB%B8%8C%EB%A6%AC%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-600498%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8C%85%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-600622%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EB%B9%84%EC%84%A0%ED%98%95%20%EB%A7%9E%EC%B6%A4%20-%20%EC%84%B1%EA%B3%B5%20%EC%97%AC%EB%B6%80%EB%A5%BC%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-600622%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EB%8B%A4%EC%9D%8C%EC%9D%80%20%EB%8C%80%EC%95%88%202a(%EB%B3%B4%EA%B3%A0%EC%84%9C%EC%97%90%EC%84%9C%20%EB%8B%A8%EC%96%B4%20%EC%8A%A4%ED%81%AC%EB%9E%A9)%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%20%EC%A0%91%EA%B7%BC%20%EB%B0%A9%EC%8B%9D%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EC%B2%98%EC%9D%8C%20%EB%91%90%20%EC%A4%84%EC%9D%80%20%EC%8B%A4%EC%A0%9C%20%EC%9E%91%EC%97%85%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%98%EA%B3%A0%20%EC%84%B8%20%EB%B2%88%EC%A7%B8%20%EC%A4%84%EC%9D%80%20%EC%A0%95%EB%B3%B4%EB%A1%9C%20%EC%88%98%ED%96%89%ED%95%A0%20%EC%9E%91%EC%97%85%EC%97%90%20%EB%8C%80%ED%95%9C%20%EA%B0%84%EB%8B%A8%ED%95%9C%20%EC%98%88%EC%9D%BC%20%EB%BF%90%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EB%8B%B9%EC%8B%A0%EC%9D%80%20%EC%95%84%EB%A7%88%EB%8F%84%20%EC%9D%B4%20%EB%B6%80%EB%B6%84%EC%97%90%20%EB%8C%80%ED%95%B4%20%EB%8B%A4%EB%A5%B8%20%EA%B2%83%EC%9D%84%20%EC%97%BC%EB%91%90%EC%97%90%20%EB%91%90%EA%B3%A0%20%EC%9E%88%EC%9D%84%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20How%20to%20check%20if%20nonlinear%20fit%20succeeded%3F%0Ar%20%3D%20nonlinear%20%26lt%3B%26lt%3B%20report%3B%0Aalltext%20%3D%20r%5BOutline%20Box(%22Control%20Panel%22)%5D%20%26lt%3B%26lt%3B%20get%20text%3B%0Aif%20(contains(alltext%2C%20%22Cannot%20Decrease%22)%2C%20caption%20(%22Failed%3A%20Cannot%20Decrease%20...%22))%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-600846%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EB%B9%84%EC%84%A0%ED%98%95%20%EB%A7%9E%EC%B6%A4%20-%20%EC%84%B1%EA%B3%B5%20%EC%97%AC%EB%B6%80%EB%A5%BC%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-600846%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EA%B7%B8%EB%A0%87%EA%B2%8C%20%ED%95%98%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%EA%B3%A0%EB%A7%88%EC%9B%8C%EC%9A%94%20%EC%A0%9C%EB%93%9C!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601016%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EB%B9%84%EC%84%A0%ED%98%95%20%EB%A7%9E%EC%B6%A4%20-%20%EC%84%B1%EA%B3%B5%20%EC%97%AC%EB%B6%80%EB%A5%BC%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601016%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%ED%85%8D%EC%8A%A4%ED%8A%B8%EA%B0%80%20%EC%84%B1%EA%B3%B5%EC%9D%B4%20%EC%95%84%EB%8B%8C%20%EB%8B%A4%EB%A5%B8%20%EA%B2%83%EC%9D%B8%EC%A7%80%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9D%B4%20%EB%8D%94%20%EB%82%98%EC%9D%80%EC%A7%80%20%EA%B6%81%EA%B8%88%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EIf(%20Not(%20Contains(%20alltext%2C%20%22Converged%22%20)%20)%2C%0A%20%2F%2F%20trap%20failure%0A%20%2C%0A%20%2F%2F%20proceed%20after%20success%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601121%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EB%B9%84%EC%84%A0%ED%98%95%20%EB%A7%9E%EC%B6%A4%20-%20%EC%84%B1%EA%B3%B5%20%EC%97%AC%EB%B6%80%EB%A5%BC%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601121%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EB%8B%B9%EC%8B%A0%EC%9D%80%20%EB%82%B4%EA%B0%80%20%EA%B7%B8%EA%B2%83%EC%9C%BC%EB%A1%9C%20%ED%96%A5%ED%95%98%EA%B3%A0%20%EC%9E%88%EB%8A%94%20%EA%B3%B3%EC%97%90%20%EB%8D%94%20%EA%B0%80%EA%B9%9D%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%EB%82%98%EB%8A%94%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%ED%95%A8%EA%BB%98%20%EC%9D%BC%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eif%20(contains(alltext%2C%20%22Failed%22)%2C%20caption%20(%22Failed%3A%20Do%20additional%20action%20now%20...%22))%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EB%AA%A8%EB%93%A0%20%EA%B2%83%EC%9D%84%20%ED%8F%AC%EA%B4%84%ED%95%98%EC%A7%80%EB%A7%8C%20%EC%8B%A4%ED%8C%A8%20%EC%9D%B4%EC%9C%A0%EB%A5%BC%20%EA%B5%AC%EC%B2%B4%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EC%B2%98%EB%A6%AC%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EB%8D%94%20%EB%A7%8E%EC%9D%80%20case%20%EB%AC%B8(%EB%98%90%EB%8A%94%20%EC%97%AC%EB%9F%AC%20'if'%EB%A5%BC%20%EC%B6%94%EC%B8%A1)%EC%9D%84%20%EC%B6%94%EA%B0%80%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9D%84%20%EA%B3%A0%EB%A0%A4%ED%95%98%EA%B3%A0%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3CCODE%20class%3D%22%20language-jsl%22%3E%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%EC%98%88%EB%A5%BC%20%EB%93%A4%EC%96%B4%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%9D%80%20%EC%8B%A4%ED%8C%A8%20%EC%9D%B4%EC%9C%A0%EB%A5%BC%20%EB%B0%9C%EA%B2%AC%ED%95%98%EB%A9%B4%20%EB%8D%94%20%EB%86%92%EC%9D%80%20%EB%B0%98%EB%B3%B5%20%ED%9A%9F%EC%88%98%EB%A1%9C%20%EB%8B%A4%EC%8B%9C%20%EC%8B%A4%ED%96%89%ED%95%A0%20%EC%88%98%20%EC%9E%88%EC%8A%B5%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Econtains(alltext%2C%20%22Maximum%20Iteration%20Exceeded%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%EC%A7%84%EC%A0%95%ED%95%9C%20%EB%8F%99%EA%B8%B0%EB%8A%94%20'%EB%8C%80%EB%B6%80%EB%B6%84%EC%9D%98'%20%EB%B6%80%EB%B6%84%EC%9D%B4%20%EC%88%98%EC%B9%98%EC%A0%81%20%EC%A0%91%EA%B7%BC%20%EB%B0%A9%EC%8B%9D%EC%9C%BC%EB%A1%9C%20%EC%88%98%EB%A0%B4%EB%90%98%EC%A7%80%EB%A7%8C%20%EC%9D%BC%EB%B6%80%EB%8A%94%20%EB%B6%84%EC%84%9D%EC%9D%B4%20%ED%95%84%EC%9A%94%ED%95%9C%20%EA%B2%83%20%EA%B0%99%EC%8A%B5%EB%8B%88%EB%8B%A4.%EC%9D%B4%20%EC%9B%90%EC%9D%B8%EC%9D%B4%20%EB%AC%B4%EC%97%87%EC%9D%B8%EC%A7%80%20%EC%9E%98%20%EB%AA%A8%EB%A5%B4%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4.%EC%88%98%EB%A0%B4%20%EA%B8%B0%EC%A4%80%3F%EA%B7%B8%EB%9F%AC%EB%82%98%20'%EC%88%98%EC%A0%95'%EC%9D%80%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%9D%B4%20%EC%88%98%EC%B9%98%20%EB%AF%B8%EB%B6%84%20%EC%97%86%EC%9D%B4%20%EB%8B%A4%EC%8B%9C%20%EC%8B%A4%ED%96%89%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9E%85%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Enonlinear%20%3D%20dt%20%26lt%3B%26lt%3B%20Nonlinear(%0A%20Y(%20%20%3AName(%20%22Random%22%20)%20)%2C%0A%20X(%20%3AName(%22FancyPredictionFormula%22)%20)%2C%0A%20Expand%20Intermediate%20Formulas(%201%20)%2C%0A%20Newton%2C%0A%20Finish%2C%0A%20Plot(%200%20)%2C%0A%20Confidence%20Limits%2C%0A%20Save%20Estimates%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%EC%9E%A1%EC%9D%80%20%ED%9B%84%3A%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Econtains(alltext%2C%20%22Cannot%20Decrease%20Objective%20Function%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-601522%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%EB%B9%84%EC%84%A0%ED%98%95%20%EB%A7%9E%EC%B6%A4%20-%20%EC%84%B1%EA%B3%B5%20%EC%97%AC%EB%B6%80%EB%A5%BC%20%ED%99%95%EC%9D%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-601522%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%EC%88%98%EB%A0%B4%20%EC%8B%A4%ED%8C%A8%EC%9D%98%20%EC%9D%BC%EB%B0%98%EC%A0%81%EC%9D%B8%20%EC%9B%90%EC%9D%B8%EC%9D%80%20%EC%8B%9C%EC%9E%91%20%EB%A7%A4%EA%B0%9C%EB%B3%80%EC%88%98%20%EA%B0%92%EC%9E%85%EB%8B%88%EB%8B%A4.%20%EC%82%AC%EC%9A%A9%20%EA%B0%80%EB%8A%A5%ED%95%9C%20%EA%B2%BD%EC%9A%B0%20%EB%8F%84%EB%A9%94%EC%9D%B8%EB%B3%84%20%ED%9C%B4%EB%A6%AC%EC%8A%A4%ED%8B%B1%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EC%B4%88%EA%B8%B0%ED%99%94%ED%95%98%EB%8A%94%20%EA%B2%83%EC%9C%BC%EB%A1%9C%20%EC%B6%A9%EB%B6%84%ED%95%A9%EB%8B%88%EB%8B%A4.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
AApperson
Level II

Nonlinear Fit - How to check for success?

Overview:

How can I check to see a Nonlinear fit succeeded?

(Real-data doesn't always converge and may need manual review for automation/test/product issues.)

 

Detail:

I would like to script a response after a nonlinear fit fails to converge.  If the fit fails, I need to process another way, and/or eventually label for manual review. (I'm sampling a population, then for each part, doing a non-linear fit.  Generally if I fail convergence, there was a test issue somewhere; I don't actually want to loosen the convergence criteria.)

 

('Failed' message: "Failed: Cannot Decrease Objective Function")

Nonlinear Fail Screenshot.png

 

Modified script from Numeric Derivatives Only (Help > Scripting Index > "<<Nonlinear")

(Currently running JMP 15.2.1)

Names Default To Here( 1 );
dt = Open(
	"$SAMPLE_DATA/Nonlinear Examples/US Population.jmp"
);

// Random, intentionally divergent, formula on this dataset
dt << New Column( "Random", Numeric, Formula( Random LogLogistic(5) ) );

dt << New Column( "FancyPredictionFormula",
	Numeric,
	Continuous,
	Formula(
		Parameter(
			{Rth0 = 735, n = 0.5},
			(:year / :pop) * ((1 - ((n - 1) * :pop * Rth0) / (:year
			 * (300 / :year) ^ n)) ^ (-1 / (n - 1)) - 1)
		)
	)
);

nonlinear = dt << Nonlinear(
	Y(  :Name( "Random" ) ),
	X( :Name("FancyPredictionFormula") ),
	Expand Intermediate Formulas( 1 ),
	Numeric Derivatives Only( 1 ),
	QuasiNewton SR1,
	Interation Limit(50),
	Finish,
	Plot( 0 ),
	Confidence Limits,
	Save Estimates
);

// How to check if nonlinear fit succeeded?

 

 

 

Ideal.

If there is a bool status variable returned by the Nonlinear fit platform somewhere indicating success or failure, that would be the ideal method to verify success, I think.

Alternative 1.

I can also tabulate or take a summary of the data to see if all the :Name("FancyPredictionFormula") values are zero.  (Values seem to be 0 if the fit fails). 

Alternative 2.

There's probably a way to check the XML and read the 'failed' message. 

 

Thank you for your time and consideration.

-Aubrey

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Nonlinear Fit - How to check for success?

Here's an approach using Alternative 2a (scraping the words from the report). The first 2 lines do the actual work, and the third line is just a simple example of what to do with the information; you likely have something else in mind for this part.

 

// How to check if nonlinear fit succeeded?
r = nonlinear << report;
alltext = r[Outline Box("Control Panel")] << get text;
if (contains(alltext, "Cannot Decrease"), caption ("Failed: Cannot Decrease ..."));

View solution in original post

5 REPLIES 5

Re: Nonlinear Fit - How to check for success?

Here's an approach using Alternative 2a (scraping the words from the report). The first 2 lines do the actual work, and the third line is just a simple example of what to do with the information; you likely have something else in mind for this part.

 

// How to check if nonlinear fit succeeded?
r = nonlinear << report;
alltext = r[Outline Box("Control Panel")] << get text;
if (contains(alltext, "Cannot Decrease"), caption ("Failed: Cannot Decrease ..."));
AApperson
Level II

Re: Nonlinear Fit - How to check for success?

That'll do it.  Thanks Jed!

Re: Nonlinear Fit - How to check for success?

I wonder if a better check is if the text is anything other than success:

 

If( Not( Contains( alltext, "Converged" ) ),
	// trap failure
	,
	// proceed after success
);
AApperson
Level II

Re: Nonlinear Fit - How to check for success?

You are closer to where I am heading with it.

 

I've been working with:

 

if (contains(alltext, "Failed"), caption ("Failed: Do additional action now ..."));

As a catch all, but I'm considering adding more of a case statement (or I guess multiple 'ifs'), to specifically handle the fail reason.

e.g. I can run again with a higher iteration count if I catch this fail-reason:

 

contains(alltext, "Maximum Iteration Exceeded");

 

The real motivation is, 'most' parts will converge with a numerical approach, but some seem to require analytical.  I'm not sure what's happening to cause this.  Convergence criteria?  But the 'fix' is to run again without numerical derivatives, something like:

nonlinear = dt << Nonlinear(
	Y(  :Name( "Random" ) ),
	X( :Name("FancyPredictionFormula") ),
	Expand Intermediate Formulas( 1 ),
	Newton,
	Finish,
	Plot( 0 ),
	Confidence Limits,
	Save Estimates
);

After catching with:

contains(alltext, "Cannot Decrease Objective Function");

Re: Nonlinear Fit - How to check for success?

The usual culprit behind failing to converge is the starting parameter values. It is often sufficient to use domain-specific heuristics to initialize them when available.