JMP稳定性测试报告未同时显示两个规范限制你好
我在列属性中输入了两个侧面规格限制作为规格限制,并在“显示为图形参考线”中打了勾。 当我进行“可靠性和生存期”->“性能下降”->“稳定性”分析时,我得到的最早穿越时间为13.99,这是经过USL穿越的时间。 但是,USL未在覆盖图中显示-仅显示LSL。

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

您有技巧吗,我可以强制JMP在图中显示两个规格限制? 我在脚本中使用图形,在脚本中循环使用许多参数,因此我希望避免手动更改y轴。
数据和脚本已附加。 我正在使用JMP 15.0。
谢谢,
彼得
分析工具回复: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>回复:JMP稳定性测试报告未同时显示两个规范限制这看起来像个错误。 请通过以下方式与JMP技术支持联系: support@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稳定性测试报告未同时显示两个规范限制谢谢。 伟大的工作。 在我的脚本中完美工作。
彼得
回复: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));