データに変化がない場合に管理図が警告する多数のパラメータの管理チャートを生成するスクリプトがあります。一部のパラメータでは、データに変化がありません (例: すべてのデータが検出限界以下)。変化のないこれらのパラメータでは、すべてのサンプルに警告が表示されます (例: テスト 1 (ゾーン A を 1 ポイント超える))。
これらの警告/アラームは、私たちの状況では意味がありません。データに変化がない場合に警告を回避できるような方法はありますか?
添付のスクリプトから生成された以下の管理図に例を示します。

// Make data table with no variation and set spec limits
dt = New Table( "Control chart data",
Add Rows( 20 ),
New Column( "x", Numeric, "Continuous")
);
ForEachRow(x=0.1);
dt:x << Set Property("Spec Limits", {LSL( 0 ), USL(1 ), Show Limits( 1 )} );
// Make Individual control chart with Test 1
dt << Control Chart Builder(
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Show Alarm Report( 1 ),
Variables( Y( :x ) ),
Chart(
Points( Statistic( "Individual" ) ),
Limits( Sigma( "Levey Jennings" ), Spec Limits( 0 ) ),
Warnings( Test 1( 1 ) )
)
);
JMP 15.0を使用しています。
ピーター
高度な統計モデリング自動化とスクリプト消費者および市場調査データのブレンドとクリーンアップ品質およびプロセスエンジニアリングRe: データに変動がない場合の管理図アラームありがとう。 これは機能します。
Re: データに変動がない場合の管理図アラームやあ@ピーター_t 、
これはソリューションの最も洗練された方法ではないかもしれませんが、これを実行しているプロセスごとに、標準偏差が 0 かどうかを確認できます。0 の場合は、テストの実行を示すブール値を設定します。および/またはアラームレポートを 0 にします。 テスト値が 0 の場合に管理図を実行しないように、管理図全体をブール値でラップすることもできます。 とにかく、以下のコードを見て、テスト値 Boolean TestV を代入する方法を確認してください。
Names Default To Here( 1 );
// Make data table with no variation and set spec limits
dt = New Table( "Control chart data", Add Rows( 20 ), New Column( "x", Numeric, "Continuous" ) );
dt:x << Set Each Value( 0.1 );
dt:x << Set Property( "Spec Limits", {LSL( 0 ), USL( 1 ), Show Limits( 1 )} );
//test if standard deviation is 0, if so, set test value to 0
xstdev = Col Std Dev( :x );
If( xstdev == 0,
TestV = 0,
TestV = 1
);
// Make Individual control chart with Test 1
dt << Control Chart Builder(
Show Two Shewhart Charts( 0 ),
Show Control Panel( 0 ),
Eval( Substitute( Expr( Show Alarm Report( _Test_V ) ), Expr( _TestV_ ), TestV ) ),
Variables( Y( :x ) ),
Eval(
Substitute(
Expr(
Chart(
Points( Statistic( "Individual" ) ),
Limits( Sigma( "Levey Jennings" ), Spec Limits( 0 ) ),
Warnings( Test 1( (Expr( _TestV_ )) ) )
)
),
Expr( _TestV_ ), TestV
)
)
);お役に立てれば!、
DS
PS コード内の Set Each Value コマンドを変更して、行が正しく入力されるようにする必要がありました。