管理図 - K シグマの設定こんにちは、
自動計算された係数で設定された 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 が適用されます...
誰かがこれで私を助ける考えを持っていますか?
よろしく、
セバスチャン
スクリプティングRe: 管理図 - K シグマの設定すごい! それは働いている! あなたの答えをどうもありがとう:)
Re: 管理図 - K シグマの設定おそらく次のようなものです:
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;