本地数据过滤器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 ) ) )
);
谢谢
克里斯
回复:本地数据过滤器为了获得适合您的分析的脚本,您需要做的是首先以交互方式运行分析,然后一旦您按照您想要的方式进行设置......包括本地数据过滤器,然后就可以了到控制图生成器的红色小三角,单击它,然后选择
保存脚本==>到脚本窗口
它会给你完整的脚本。