cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
%3CLINGO-SUB%20id%3D%22lingo-sub-796235%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%8A%A3%E5%8C%96%E5%AE%89%E5%AE%9A%E6%80%A7%E8%A9%A6%E9%A8%93%E3%81%8B%E3%82%89%E7%B8%A6%E6%96%B9%E5%90%91%E3%81%AE%E4%BF%A1%E9%A0%BC%E5%8C%BA%E9%96%93%E5%A2%83%E7%95%8C%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AF%E5%8F%AF%E8%83%BD%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-796235%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E7%A7%81%E3%81%AE%E3%83%81%E3%83%BC%E3%83%A0%E3%81%A7%E3%81%AF%E3%80%81%E5%8A%A3%E5%8C%96%E5%AE%89%E5%AE%9A%E6%80%A7%E3%83%86%E3%82%B9%E3%83%88%E5%88%86%E6%9E%90%E3%82%92%E9%A0%BB%E7%B9%81%E3%81%AB%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%80%81%E5%BF%9C%E7%AD%94%20(y%20%E5%80%A4)%20%E3%81%AE%E4%BA%88%E6%B8%AC%E5%80%A4%20(95%25%20%E4%BF%A1%E9%A0%BC%E5%BA%A6)%20%E3%81%A8%E4%B8%8A%E9%99%90%E3%81%8A%E3%82%88%E3%81%B3%E4%B8%8B%E9%99%90%E3%82%92%E6%B1%BA%E5%AE%9A%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%93%E3%81%AE%E6%99%82%E7%82%B9%E3%81%A7%E3%80%81%E5%90%84%20y%20%E5%A4%89%E6%95%B0%20(%E5%90%8C%E3%81%98%E4%B8%80%E9%80%A3%E3%81%AE%20x%20%E6%99%82%E7%82%B9%E5%80%A4)%20%E3%81%AB%E5%AF%BE%E3%81%97%E3%81%A6%E5%8A%A3%E5%8C%96%E5%AE%89%E5%AE%9A%E6%80%A7%E3%83%86%E3%82%B9%E3%83%88%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%97%E3%80%81%E7%B8%A6%E6%96%AD%E7%9A%84%E4%BA%88%E6%B8%AC%E6%99%82%E9%96%93%E3%82%92%E6%89%8B%E5%8B%95%E3%81%A7%E5%A4%89%E6%9B%B4%E3%81%97%E3%80%81%E4%BA%88%E6%B8%AC%E5%80%A4%E3%82%92%E6%96%B0%E3%81%97%E3%81%84%E3%83%87%E3%83%BC%E3%82%BF%20%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%97%E3%81%A6%E3%81%8B%E3%82%89%E3%80%81%E4%BA%88%E6%B8%AC%E5%80%A4%E3%80%81%E4%B8%8A%E9%99%90%E5%80%A4%E3%80%81%E3%81%8A%E3%82%88%E3%81%B3%E4%B8%8B%E9%99%90%E5%80%A4%E3%82%92%E5%88%A5%E3%81%AE%20Excel%20%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%AB%E6%8A%BD%E5%87%BA%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E4%BA%8B%E5%89%8D%E3%81%AB%E9%81%B8%E6%8A%9E%E3%81%97%E3%81%9F%E7%B8%A6%E6%96%AD%E7%9A%84%E4%BA%88%E6%B8%AC%E6%99%82%E7%82%B9%E3%81%AE%E6%95%B0%E3%81%AB%E5%AF%BE%E3%81%97%E3%81%A6%E5%AE%89%E5%AE%9A%E6%80%A7%E3%83%86%E3%82%B9%E3%83%88%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%97%E3%80%81%E3%81%99%E3%81%B9%E3%81%A6%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%20(%E4%BA%88%E6%B8%AC%E5%80%A4%E3%80%81%E4%B8%8A%E9%99%90%E5%80%A4%E3%80%81%E3%81%8A%E3%82%88%E3%81%B3%E4%B8%8B%E9%99%90%E5%80%A4)%20%E3%82%92%E6%96%B0%E3%81%97%E3%81%84%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AB%E4%BF%9D%E5%AD%98%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E7%B6%9A%E3%81%91%E3%80%81%E7%8F%BE%E5%9C%A8%E3%81%AE%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%AE%20JMP%20(v17.1.1)%20%E3%81%A7%E5%AE%9F%E7%8F%BE%E3%81%A7%E3%81%8D%E3%82%8B%E3%81%8B%E3%81%A9%E3%81%86%E3%81%8B%E3%82%8F%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E4%BB%A5%E4%B8%8B%E3%81%AB%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E6%B7%BB%E4%BB%98%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20Use%20the%20current%20data%20table%0Adt%20%3D%20Current%20Data%20Table()%3B%0A%0A%2F%2F%20Define%20the%20longitudinal%20prediction%20times%0AlongitudinalPredictionTimes%20%3D%20%7B18%2C%2024%2C%2036%2C%2048%2C%2060%7D%3B%0A%0A%2F%2F%20Create%20a%20new%20data%20table%20to%20store%20the%20results%0AresultsTable%20%3D%20New%20Table(%20%22Prediction%20Results%22%2C%0AAdd%20Rows(%20N%20Items(%20longitudinalPredictionTimes%20)%20)%2C%0ANew%20Column(%20%22Prediction%20Time%22%2C%20Numeric%2C%20%22Continuous%22%20)%2C%0ANew%20Column(%20%22Prediction%22%2C%20Numeric%2C%20%22Continuous%22%20)%2C%0ANew%20Column(%20%22Lower%20Bound%22%2C%20Numeric%2C%20%22Continuous%22%20)%2C%0ANew%20Column(%20%22Upper%20Bound%22%2C%20Numeric%2C%20%22Continuous%22%20)%0A)%3B%0A%0A%2F%2F%20Loop%20through%20each%20prediction%20time%20and%20perform%20the%20degradation%20analysis%0AFor(%20i%20%3D%201%2C%20i%20%26lt%3B%3D%20N%20Items(%20longitudinalPredictionTimes%20)%2C%20i%2B%2B%2C%0ApredictionTime%20%3D%20longitudinalPredictionTimes%5Bi%5D%3B%0A%0A%2F%2F%20Perform%20degradation%20analysis%0AdegradationReport%20%3D%20dt%20%26lt%3B%26lt%3B%20Degradation(%0AY(%20%3A%22Purity%20(%25)%22%20)%2C%0ATime(%20%3A%22Timepoint%20(days)%22%20)%2C%0ALabel(%20%3AFormulation%20)%2C%0AApplication(%20Stability%20Test%20)%2C%0AConnect%20Data%20Markers(%200%20)%2C%0AShow%20Fitted%20Lines(%201%20)%2C%0AShow%20Spec%20Limits(%201%20)%2C%0AShow%20Median%20Curves(%200%20)%2C%0AShow%20Legend(%201%20)%2C%0ANo%20Tab%20List(%200%20)%2C%0AUse%20Pooled%20MSE%20for%20Nonpoolable%20Model(%200%20)%2C%0ASet%20Censoring%20Time(%20.%20)%2C%0AShow%20Residual%20Plot(%201%20)%2C%0AShow%20Inverse%20Prediction%20Plot(%201%20)%2C%0AShow%20Curve%20Interval(%201%20)%2C%0ALongitudinal%20Prediction%20Time(%20predictionTime%20)%2C%0ALongitudinal%20Prediction%20Interval(%20Confidence%20Interval%20)%2C%0ALongitudinal%20Prediction%20Alpha(%200.05%20)%2C%0AInverse%20Prediction%20Interval(%20Confidence%20Interval%20)%2C%0AInverse%20Prediction%20Alpha(%200.05%20)%2C%0AInverse%20Prediction%20Side(%20Lower%20One%20Sided%20)%0A)%3B%0A%0A%2F%2F%20Extract%20the%20prediction%2C%20lower%20bound%2C%20and%20upper%20bound%20from%20the%20report%0ApredictionPlot%20%3D%20degradationReport%5BOutline%20Box(%20%22Diagnostics%20and%20Predictions%22%20)%5D%5BOutline%20Box(%20%22Prediction%20Plot%22%20)%5D%3B%0Aprediction%20%3D%20predictionPlot%5BNumber%20Col%20Box(%20%22Predicted%20value%20of%20Purity%20(%25)%20at%20Timepoint%20(days)%3D%22%20%7C%7C%20Char(%20predictionTime%20)%20)%5D%5B1%5D%3B%0AlowerBound%20%3D%20predictionPlot%5BNumber%20Col%20Box(%20%22Lower%2095%25%20Confidence%20Limit%22%20)%5D%5B1%5D%3B%0AupperBound%20%3D%20predictionPlot%5BNumber%20Col%20Box(%20%22Upper%2095%25%20Confidence%20Limit%22%20)%5D%5B1%5D%3B%0A%0A%2F%2F%20Add%20the%20results%20to%20the%20new%20table%0AresultsTable%3APrediction%20Time%5Bi%5D%20%3D%20predictionTime%3B%0AresultsTable%3APrediction%5Bi%5D%20%3D%20prediction%3B%0AresultsTable%3ALower%20Bound%5Bi%5D%20%3D%20lowerBound%3B%0AresultsTable%3AUpper%20Bound%5Bi%5D%20%3D%20upperBound%3B%0A)%3B%0A%0A%2F%2F%20Show%20the%20results%20table%0AresultsTable%20%26lt%3B%26lt%3B%20Show%20Window%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-796235%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%A8%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E5%9F%BA%E6%9C%AC%E7%9A%84%E3%81%AA%E3%83%87%E3%83%BC%E3%82%BF%E5%88%86%E6%9E%90%E3%81%A8%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-796262%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%E5%8A%A3%E5%8C%96%E5%AE%89%E5%AE%9A%E6%80%A7%E8%A9%A6%E9%A8%93%E3%81%8B%E3%82%89%E7%B8%A6%E6%96%B9%E5%90%91%E3%81%AE%E4%BF%A1%E9%A0%BC%E5%8C%BA%E9%96%93%E5%A2%83%E7%95%8C%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AF%E5%8F%AF%E8%83%BD%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-796262%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%84%E3%81%8F%E3%81%A4%E3%81%8B%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E3%81%82%E3%82%8B%E3%81%A8%E6%80%9D%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%81%8A%E3%81%9D%E3%82%89%E3%81%8F%E3%80%81%E6%AC%A1%E3%81%AE%E3%81%93%E3%81%A8%E3%82%92%E8%A1%8C%E3%81%86%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%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%22peng_liu_0-1725657121860.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22peng_liu_0-1725657121860.png%22%20style%3D%22width%3A%20934px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22peng_liu_0-1725657121860.png%22%20style%3D%22width%3A%20934px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68006iFA84ACE764512C36%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22peng_liu_0-1725657121860.png%22%20alt%3D%22peng_liu_0-1725657121860.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E3%81%BE%E3%81%9A%2059%20%E8%A1%8C%E7%9B%AE%E3%81%AB%E3%80%81%E3%83%97%E3%83%A9%E3%83%83%E3%83%88%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%8B%E3%82%89%E8%BF%94%E3%81%95%E3%82%8C%E3%81%9F%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E3%83%A9%E3%83%83%E3%83%97%E3%81%99%E3%82%8B%E3%80%8C%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%80%8D%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%A7%E3%81%99%E3%80%82%E3%81%93%E3%81%AE%E3%80%8C%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88%E3%80%8D%E3%81%AB%E3%82%88%E3%82%8A%E3%80%81%E3%82%A2%E3%82%A6%E3%83%88%E3%83%A9%E3%82%A4%E3%83%B3%20%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%20%E3%82%B5%E3%83%96%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%AA%E3%81%A9%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%83%8A%E3%83%93%E3%82%B2%E3%83%BC%E3%83%88%E3%81%A7%E3%81%8D%E3%82%8B%E8%A1%A8%E7%A4%BA%20true%20%E3%81%8C%E6%8F%90%E4%BE%9B%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E60%20%E8%A1%8C%E7%9B%AE%E3%81%A7%E3%81%AF%E3%80%81%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%8F%AF%E8%83%BD%E3%81%AA%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E8%BF%94%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%93%E3%81%AE%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AB%E3%80%81%E3%83%89%E3%83%AD%E3%83%83%E3%83%97%E3%83%80%E3%82%A6%E3%83%B3%20%E3%83%A1%E3%83%8B%E3%83%A5%E3%83%BC%E3%81%AB%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%82%8B%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%92%E9%80%81%E4%BF%A1%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%E6%AC%A1%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%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%22peng_liu_1-1725657293247.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22peng_liu_1-1725657293247.png%22%20style%3D%22width%3A%20363px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22peng_liu_1-1725657293247.png%22%20style%3D%22width%3A%20363px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68007i5B5F10FC70DB0ADC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22peng_liu_1-1725657293247.png%22%20alt%3D%22peng_liu_1-1725657293247.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E61%20%E8%A1%8C%E7%9B%AE%E3%81%A7%E3%81%AF%E3%80%81%E3%83%A1%E3%83%8B%E3%83%A5%E3%83%BC%E9%A0%85%E7%9B%AE%E3%82%92%E3%82%AF%E3%83%AA%E3%83%83%E3%82%AF%E3%81%97%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%A8%E5%90%8C%E3%81%98%E3%82%88%E3%81%86%E3%81%AB%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%92%E9%80%81%E4%BF%A1%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E62%20%E8%A1%8C%E7%9B%AE%E3%81%A7%E3%81%AF%E3%80%81%E5%BF%85%E8%A6%81%E3%81%AA%E6%95%B0%E5%80%A4%E3%81%AB%E5%AF%BE%E3%81%97%E3%81%A6%E4%BD%95%E3%82%89%E3%81%8B%E3%81%AE%E5%87%A6%E7%90%86%E3%82%92%E8%A1%8C%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%9C%80%E5%BE%8C%E3%81%AB%E3%80%81%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%AE%E6%93%8D%E4%BD%9C%E3%81%AF%E5%AE%8C%E4%BA%86%E3%81%97%E3%81%9F%E3%81%AE%E3%81%A7%E3%80%81%E4%BD%95%E3%82%82%E4%BF%9D%E5%AD%98%E3%81%9B%E3%81%9A%E3%81%AB%E9%96%89%E3%81%98%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%E5%8A%A3%E5%8C%96%E5%AE%89%E5%AE%9A%E6%80%A7%E8%A9%A6%E9%A8%93%E3%81%8B%E3%82%89%E7%B8%A6%E6%96%B9%E5%90%91%E3%81%AE%E4%BF%A1%E9%A0%BC%E5%8C%BA%E9%96%93%E5%A2%83%E7%95%8C%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%AF%E5%8F%AF%E8%83%BD%E3%81%A7%E3%81%99%E3%81%8B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%9D%E3%81%AE%E5%BE%8C%E3%80%81%E4%BA%8C%E5%A4%89%E9%87%8F%E9%96%A2%E6%95%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%2095%25%20%E4%BF%A1%E9%A0%BC%E5%8C%BA%E9%96%93%E3%81%AE%E5%80%A4%E3%82%92%E8%A8%88%E7%AE%97%E3%81%99%E3%82%8B%E5%9B%9E%E9%81%BF%E7%AD%96%E3%82%92%E8%A6%8B%E3%81%A4%E3%81%91%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
yaroslaw
Level I

Possible to extract longitudinal confidence interval bounds from degradation stability test?

My team frequently uses the Degradation Stability Test analysis to determine the predicted (95% confidence) values and upper and lower bounds for a response (y value). At this point we've been running the degradation stability test for each y variable (same series of x time point values) and then manually changing the longitudinal prediction time, saving the predictions into a new data window and then extracting the predicted, upper, and lower bound values into a separate Excel file. I'm trying to write a script that can run the stability test for a number of pre-selected longitudinal prediction time points and save all of the data (predicted value, upper, and lower bound values) into a new data table. However, I keep running into errors and I'm not sure whether what I'm trying to achieve is possible in the current version of JMP (v17.1.1). I've attached my script below.

// Use the current data table
dt = Current Data Table();

// Define the longitudinal prediction times
longitudinalPredictionTimes = {18, 24, 36, 48, 60};

// Create a new data table to store the results
resultsTable = New Table( "Prediction Results",
Add Rows( N Items( longitudinalPredictionTimes ) ),
New Column( "Prediction Time", Numeric, "Continuous" ),
New Column( "Prediction", Numeric, "Continuous" ),
New Column( "Lower Bound", Numeric, "Continuous" ),
New Column( "Upper Bound", Numeric, "Continuous" )
);

// Loop through each prediction time and perform the degradation analysis
For( i = 1, i <= N Items( longitudinalPredictionTimes ), i++,
predictionTime = longitudinalPredictionTimes[i];

// Perform degradation analysis
degradationReport = dt << Degradation(
Y( :"Purity (%)" ),
Time( :"Timepoint (days)" ),
Label( :Formulation ),
Application( Stability Test ),
Connect Data Markers( 0 ),
Show Fitted Lines( 1 ),
Show Spec Limits( 1 ),
Show Median Curves( 0 ),
Show Legend( 1 ),
No Tab List( 0 ),
Use Pooled MSE for Nonpoolable Model( 0 ),
Set Censoring Time( . ),
Show Residual Plot( 1 ),
Show Inverse Prediction Plot( 1 ),
Show Curve Interval( 1 ),
Longitudinal Prediction Time( predictionTime ),
Longitudinal Prediction Interval( Confidence Interval ),
Longitudinal Prediction Alpha( 0.05 ),
Inverse Prediction Interval( Confidence Interval ),
Inverse Prediction Alpha( 0.05 ),
Inverse Prediction Side( Lower One Sided )
);

// Extract the prediction, lower bound, and upper bound from the report
predictionPlot = degradationReport[Outline Box( "Diagnostics and Predictions" )][Outline Box( "Prediction Plot" )];
prediction = predictionPlot[Number Col Box( "Predicted value of Purity (%) at Timepoint (days)=" || Char( predictionTime ) )][1];
lowerBound = predictionPlot[Number Col Box( "Lower 95% Confidence Limit" )][1];
upperBound = predictionPlot[Number Col Box( "Upper 95% Confidence Limit" )][1];

// Add the results to the new table
resultsTable:Prediction Time[i] = predictionTime;
resultsTable:Prediction[i] = prediction;
resultsTable:Lower Bound[i] = lowerBound;
resultsTable:Upper Bound[i] = upperBound;
);

// Show the results table
resultsTable << Show Window
2 REPLIES 2
peng_liu
Staff

Re: Possible to extract longitudinal confidence interval bounds from degradation stability test?

I believe there are some programming errors.

Following is probably what you need to do.

peng_liu_0-1725657121860.png

First on Line 59, you need a "report" call, wrapping around the object returned from platform calling. This "report" gives you a display true, which you can navigate using outline box subscription, etc.

On Line 60, it returns a scriptable object, to which you can send commands that you see in the drop down menu. Such as this:

peng_liu_1-1725657293247.png

Line 61, send such a command, as if you clicked the menu item.

Line 62, you do something with the numbers that you need.

Last, you close that data table without saving anything, because you have done with it.

 

yaroslaw
Level I

Re: Possible to extract longitudinal confidence interval bounds from degradation stability test?

I've since found a workaround that calculates the 95% confidence interval values using the bivariate function.