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));