控製圖 - K sigma 設置你好,
我想製作一個控製圖,其中 KSigma 通過自動計算的係數設定。
下面是我的程式碼:
graph = New Window( chart_title,
Control Chart(
Sample Label( :Numéro de lot ),
Sample Size( :N ),
KSigma( z_KSigmaZ ),
Sort by Row Order( 1 ),
Chart Col( :"Y1"n, P( Limits Precision( 1 ), LCL( -3 ) ) ),
…
但是,透過使用以下程式碼設定係數:
KSigma( z_KSigmaZ ),
它不起作用,並且 3 始終用作係數...
有人有想法可以幫助我解決這個問題嗎?
問候,
賽巴斯蒂安
品質和工藝工程回覆:控製圖 - K sigma 設置偉大的! 它正在工作! 非常感謝您的回答:)
回覆:控製圖 - K sigma 設置也許是這樣的:
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
ksVal = 2;
// 'Template' expression to make a Control Chart
makeCC = Expr(cc = dt << Control Chart( Sample Label( :age ), KSigma(TBD), Chart Col( :height, XBar, R ) ));
// Subsitite the required value into 'makeCC'
SubstituteInto(makeCC, Expr(TBD), ksVal);
// Evaluate the resulting expression
makeCC;