みなさん、こんにちは。
私は次の問題について提案があります:
比較する2つの異なるプロセス(AとB)があり、AまたはBプロセスを使用してバッチエラーが発生する確率を理解しています。
バッチプロパティを2つのパラメーター(cおよびd)と比較します。
次に、「c」パラメータを1000以上にしたいのですが、「d」が70未満の場合、バッチエラーが発生します。
提案はありますか?
あなたが何を望んでいるかの詳細はよくわかりませんが、「ステップ1」は、次に来るものに備えてデータを形にすることです。
では、実際にどのくらいのデータを持っていますか?ここのデータのように見えますか?以下のJSLをカットしてコピーし、「ファイル」>「新規」>「新規スクリプト」を実行してコードを貼り付け、「編集」>「スクリプトを実行」を実行します。
NamesDefaultToHere(1);
// Make some dummy data
dt =
New Table( "Test Data",
Add Rows( 0 ),
New Column( "Process",
Numeric,
"Nominal",
Format( "Best", 12 ),
Formula( Random Integer( 0, 1 ) ),
Value Labels( {0 = "A", 1 = "B"} ),
Use Value Labels( 1 )
),
New Column( "Response c",
Numeric,
"Continuous",
Format( "Fixed Dec", 12, 1 ),
Formula(If( :Process == 1, Random Normal( 1100, 50 ), Random Normal( 1050, 100 ))),
Set Property(
"Response Limits",
{Goal( Maximize ), Importance( 1 ), Show Limits( 0 )}
),
Set Property( "Spec Limits", {LSL( 1000 ), Show Limits( 0 )} )
),
New Column( "Response d",
Numeric,
"Continuous",
Format( "Fixed Dec", 12, 1 ),
Formula(If( :Process == 1, Random Normal( 90, 20 ),Random Normal( 95, 25 ))),
Set Property(
"Response Limits",
{Goal( Maximize ), Importance( 1 ), Show Limits( 0 )}
),
Set Property( "Spec Limits", {LSL( 70 ), Show Limits( 0 )} )
)
);
dt << addRows(100);
// Make a graph
gb = dt <<
Graph Builder(
Size( 534, 448 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Variables( X( :Process ), Y( :Response c ), Y( :Response d ) ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 9 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 10 ) ) ),
SendToReport(
Dispatch(
{},
"Response c",
ScaleBox,
{Add Ref Line( 1000, "Dashed", "Medium Dark Green", "", 1 )}
),
Dispatch(
{},
"Response d",
ScaleBox,
{Add Ref Line( 70, "Dashed", "Medium Dark Green", "", 1 )}
)
)
);