JMP 穩定性測試報告未顯示兩個規格限你好
我有一個響應,其中兩側規格限在“列屬性”中輸入為“規格限”,並在“顯示為圖形參考線”中勾選標記。 當我進行可靠性和生存 -> 退化 -> 穩定性分析時,我得到的最早交叉時間為 13.99,即 USL 被交叉的時間。 然而,USL 未顯示在疊加圖中 - 僅顯示 LSL。

我希望在疊加圖中看到兩個規格限制,如下圖所示(我已手動更改 y 軸)

您有什麼技巧可以強制 JMP 在圖表中顯示兩個規格限值嗎? 我在腳本中使用該圖表,在其中循環訪問許多參數,因此我更願意避免手動更改 y 軸。
附上數據和腳本。 我正在使用 JMP 15.0。
謝謝,
彼得
可靠度分析回覆:JMP 穩定性測試報告未顯示兩個規格限你好@彼得_t ,
感謝您參加 2021 年歐洲探索高峰會線上開發者見面會。 很高興見到你。
我已將您在此處顯示的問題報告為錯誤,我們希望能夠在未來的版本中解決它。
回覆:JMP 穩定性測試報告未顯示兩個規格限謝謝。 很棒的工作。 在我的腳本中完美運行。
彼得
回覆: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 穩定性測試報告未顯示兩個規格限非常接近 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>