本地數據過濾器Control Chart(
Sample Label( :C_LOT_NAME ),
Group Size( 1 ),
KSigma( 3 ),
Chart Col(
:Average Pigment Strength,
Individual Measurement( Show Zones( 1 ), Shade Zones( 1 ) ),
Capability(
Distribution(
Automatic Recalc( 1 ),
Continuous Distribution(
Column( :Average Pigment Strength ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Normal Quantile Plot( 1 ),
Capability Analysis( LSL( 13.5 ), USL( 14.5 ), Sigma( 0.0783611176186691 ) )
),
Local Data Filter( Add Filter( columns( :C_LOT_NAME ) ) )
)
)
)
);
你好
我正在嘗試添加一個腳本來運行本地數據過濾器來進行能力分析:
任何幫助將非常感激
我收到一條錯誤消息 -輸入意外結束,嘗試解析函數 |!"Chart Col |!" 的參數。"
謝謝
克里斯
回复:本地數據過濾器感謝伊恩的回复,我會嘗試一下。
問候
克里斯
回复:本地數據過濾器不確定這是否有幫助,克里斯。 但這是另一個示例(使用控製圖生成器)。 您應該能夠編輯前幾行,而不必更改其餘的行。
Names Default To Here( 1 );
// 'dt' references the table you want to use
dt = Open( "$SAMPLE_DATA/Quality Control/Coating.jmp" );
// 'yCol' references the column with your measurements
yCol = Column(dt, "Weight");
// 'sCol' references the column defining your samples
sCol = Column(dt, "Sample");
// 'fCol' references the column you want to filter by
fCol = Column(dt, "Weight2");
// In this case, also need to add some spec limits so we get a capability analysis
yCol << Set Property("Spec Limits", {LSL( 16 ), USL( 24 ), Target( 20 ), Show Limits( 0 )});
// Make the display
dt << Control Chart Builder(
Show Control Panel( 0 ),
Variables( Subgroup( sCol ), Y( yCol ) ),
Local Data Filter(Add Filter(columns( fCol )))
);回复:本地數據過濾器早上好
感謝您的回复。我以為我已經很接近了,因為不再出現錯誤,但是當我運行這個時,我得到了運行圖和分佈,但沒有數據過濾器(感覺就像我很接近!),我是一個植物化學家,而不是一個程序員如此善良不斷嘗試和犯錯。 嘗試使用您的建議,但不幸的是仍然沒有數據過濾器。 謝謝,總是感謝您的幫助,有時對我來說有點困難。
控製圖(
示例標籤(:C_LOT_NAME),
團體人數( 1 ),
克西格瑪( 3 ),
圖表欄(
:平均顏料強度,
單獨測量(顯示區域(1)、陰影區域(1));
能力(
分配(
自動重新計算( 1 ),
連續分佈(
列(:平均顏料強度),
分位數( 0 ),
統計匯總( 0 ),
離群值箱線圖( 0 ),
正態分位數圖( 1 ),
能力分析( LSL( 13.5 ), USL( 14.5 ), Sigma( 0.0783611176186691 ) )
),
本地數據過濾器( 添加過濾器( columns( :C_LOT_NAME ) ) )
) ) );
如果我在上面的腳本下方添加這段腳本,我會在一個單獨的窗口中獲得分佈和本地數據過濾器,而無需運行圖:
分配(
自動重新計算( 1 ),
連續分佈(
柱(:平均樣品電導率),
分位數( 0 ),
統計匯總( 0 ),
離群值箱線圖( 0 ),
正態分位數圖( 1 ),
能力分析(LSL(1.2)、USL(2.7)、Sigma(0.0690324131402561))
),
本地數據過濾器( 添加過濾器( columns( :C_LOT_NAME ) ) )
);
問候
克里斯
回复:本地數據過濾器哎呀,看起來吉姆已經回答了這個問題。
回复:本地數據過濾器試試這個,關鍵是 obj << Capability。 這是使用 JMP 示例數據表
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Coating.jmp" );
dt:Sample << Modeling type("Nominal");
obj = dt << Control Chart(
Sample Label( :Sample ),
Group Size( 1 ),
KSigma( 3 ),
Chart Col( :Weight),
Chart Type(Individual Measurement),
Show Zones( 1 ), Shade Zones( 1 )
);
obj << Capability(
Distribution(
Automatic Recalc( 1 ),
Continuous Distribution(
Column( :Weight ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Normal Quantile Plot( 1 ),
Capability Analysis( LSL( 16 ), USL( 24 ), Target(20) )
),
Local Data Filter( Add Filter( columns( :Sample ) ) )
)
);回复:本地數據過濾器嗨吉姆
感謝您的快速回复。
奇怪的是這個! 如果我只是按照您的建議運行功能並複制腳本,那麼一切看起來都很好,我會在同一窗口上獲得運行圖和功能分析。 如果我然後放置本地數據過濾器並檢查紅色三角形下的腳本,則本地過濾器和功能腳本都不會顯示!

僅能力
Control Chart(
Sample Label( :C_LOT_NAME ),
Group Size( 1 ),
KSigma( 3 ),
Chart Col(
:Average Pigment Strength,
Individual Measurement( Show Zones( 1 ), Shade Zones( 1 ) ),
Capability(
Distribution(
Continuous Distribution(
Column( :Average Pigment Strength ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Normal Quantile Plot( 1 ),
Capability Analysis( LSL( 13.5 ), USL( 14.5 ), Sigma( 0.092069130588337 ) )
)
)
)
)
)
+ 本地數據過濾器
Control Chart(
Sample Label( :C_LOT_NAME ),
Group Size( 1 ),
KSigma( 3 ),
Chart Col( :Average Pigment Strength, Individual Measurement( Show Zones( 1 ), Shade Zones( 1 ) ) )
)
我可以獲得的是“功能”紅色小三角中的相關功能和數據過濾器腳本,並將其粘貼到我的主腳本中,但這會在單獨的窗口上提供運行圖和功能/數據過濾器。 感覺我已經快到了,但還沒有完全實現。
Distribution(
Automatic Recalc( 1 ),
Continuous Distribution(
Column( :Average Pigment Strength ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Normal Quantile Plot( 1 ),
Capability Analysis( LSL( 13.5 ), USL( 14.5 ), Sigma( 0.092069130588337 ) )
),
Local Data Filter( Add Filter( columns( :C_LOT_NAME ) ) )
);
謝謝
克里斯
回复:本地數據過濾器為了獲得適合您的分析的腳本,您需要做的是首先以交互方式運行分析,然後一旦您按照您想要的方式進行設置......包括本地數據過濾器,然後就可以了到控製圖生成器的紅色小三角,單擊它,然後選擇
保存腳本==>到腳本窗口
它會給你完整的腳本。