JMP 稳定性测试报告未显示两个规格限你好
我有一个响应,在列属性中输入为规格限制的两侧规格限制,并在“显示为图形参考线”中打勾。 当我进行可靠性和生存->退化->稳定性分析时,我得到最早的交叉时间 13.99,USL 被交叉。 但是,叠加图中未显示 USL - 仅显示 LSL。

我想在叠加图中看到两个规格限制,如下图所示(我手动更改了 y 轴)

您有什么技巧可以强制 JMP 在图中显示两个规格限吗? 我在脚本中使用图表,在其中循环遍历大量参数,因此我更愿意避免手动更改 y 轴。
附上数据和脚本。 我正在使用 JMP 15.0。
谢谢,
彼得
分析回复:JMP 稳定性测试报告未显示两个规格限你好@peter_t ,
感谢您参加 2021 年欧洲在线探索峰会的开发者见面会。 很高兴见到你。
我已将您在此处显示的问题作为错误报告,我们希望我们能够在未来的版本中解决它。
回复:JMP 稳定性测试报告未显示两个规格限谢谢。 很好的解决方法。 在我的脚本中完美运行。
彼得
回复:JMP 稳定性测试报告未显示两个规格限这看起来像一个错误。 请通过以下方式联系 JMP 技术支持支持@jmp.com
同时,一种解决方法是使用 JSL 调整轴,如果它在您的工作流程中可以接受的话。
看下面的代码。 最后,是通过硬编码轴的范围来调整轴的一种方法。 至少还有两种其他方法,但逐渐变得复杂。 如果此方法不适用于您的工作流程,请解释。 我们将看看有什么用。
Degradation(
Y( :result ),
Time( :Name("Timepoint (M)") ),
Label( :Batch ),
Application( Stability Test ),
Connect Data Markers( 1 ),
Show Fitted Lines( 1 ),
Show Spec Limits( 1 ),
Show Median Curves( 0 ),
Show Legend( 1 ),
No Tab List( 0 ),
Set Upper Spec Limit( 5.5 ),
Set Lower Spec Limit( 4.5 ),
Set Censoring Time( . ),
Show Residual Plot( 0 ),
Show Inverse Prediction Plot( 0 ),
Show Curve Interval( 1 ),
Inverse Prediction Interval( Confidence Interval ),
Inverse Prediction Alpha( 0.025 ),
Inverse Prediction Side( Lower One Sided ),
SendToReport(
Dispatch( {}, "Reports", OutlineBox, {Close( 1 )} ),
Dispatch(
{"Overlay"},
"2",
ScaleBox,
{Min( 4 ), Max( 6 ), Inc( 0.2 ), Minor Ticks( 1 )}
)
)
)回复:JMP 稳定性测试报告未显示两个规格限非常接近 txnelson 的解决方案:
Names Default To Here(1);
dt = Current Data Table();
deg = Degradation(
Y(:result),
Time(:Name("Timepoint (M)")),
Label(:Batch),
Application(Stability Test),
Connect Data Markers(1),
Show Fitted Lines(1),
Show Spec Limits(1),
Show Median Curves(0),
Show Legend(1),
No Tab List(0),
Set Upper Spec Limit(5.5),
Set Lower Spec Limit(4.5),
Set Censoring Time(.),
Show Residual Plot(0),
Show Inverse Prediction Plot(0),
Show Curve Interval(1),
Inverse Prediction Interval(Confidence Interval),
Inverse Prediction Alpha(0.025),
Inverse Prediction Side(Lower One Sided),
SendToReport(Dispatch({}, "Reports", OutlineBox, {Close(1)}))
);
//get upper spec limits from result column column properties
uslValue = (Column(dt, "result") << Get Property("Spec Limits"))["USL"];
//scaling to make limit visible
uslScaleFactor = 1.01;
//Degradation as report
rep = deg << Report;
//access y-axis
reportYAxis = rep[axisbox(1)];
//current max value
currentYMax = reportYAxis << Get Max;
//set as max of either old max or USL
reportYAxis << Max(Max(currentYMax, uslValue*uslScaleFactor));回复:JMP 稳定性测试报告未显示两个规格限这是我处理此类物品的方式

names default to here(1);
dt = current data table();
deg = dt << Degradation(
Y( :result ),
Time( :Name( "Timepoint (M)" ) ),
Label( :Batch ),
Application( Stability Test ),
Connect Data Markers( 1 ),
Show Fitted Lines( 1 ),
Show Spec Limits( 1 ),
Show Median Curves( 0 ),
Show Legend( 1 ),
No Tab List( 0 ),
Set Upper Spec Limit( 5.5 ),
Set Lower Spec Limit( 4.5 ),
Set Censoring Time( . ),
Show Residual Plot( 0 ),
Show Inverse Prediction Plot( 0 ),
Show Curve Interval( 1 ),
Inverse Prediction Interval( Confidence Interval ),
Inverse Prediction Alpha( 0.025 ),
Inverse Prediction Side( Lower One Sided ),
SendToReport( Dispatch( {}, "Reports", OutlineBox, {Close( 1 )} ) )
);
specs = dt:result << get property("spec limits");
degr = deg << report;
if(degr[AxisBox(1)]<<GET max="">< specs["USL"], degr[AxisBox(1)]<<MAX></MAX></GET>