选择超出限制的零件我有多个已设置限制的列。 如何选择超出限制的行?
分析工具数据表回复:选择超出限制的零件我假设您想使用脚本进行此选择。
这是一个脚本,用于基于一个变量的规范限制之外的行来选择行
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
specs = dt:PNP1 << get property("spec limits");
dt << select where( dt:PNP1 <= specs["LSL"] | dt:PNP1 >= specs["USL"]);
这是多列的脚本
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
//colNames = dt << get column names( continuous, string );
colNames = { "PNP1", "PNP3"};
For( i = 1, i <= N Items( colNames ), i++,
specs = Column( dt, colNames[i] ) << get property( "spec limits" );
If( Try( Is Missing( specs["LSL"] ) ) == 0 & Try( Is Missing( specs["USL"] ) ) == 0,
found = dt << get rows where(
as Column( dt, colNames[i] ) <= specs["LSL"] | as Column( dt, colNames[i] ) >= specs["USL"]
);
If( N Rows( found ) > 0,
dt << select rows(found);
);
);
);回复:选择超出限制的零件您也可以通过Process Capability平台完成此任务。
dt=Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
Process Capability(
Process Variables( :NPN1, :PNP1, :PNP2 ),
Moving Range Method( Average of Moving Ranges ),
Overall Sigma Normalized Box Plots( 1 ),
Select Out of Spec Values( 1 ),
Goal Plot( 1 ),
Capability Index Plot( 1 ),
Process Performance Plot( 0 )
);
回复:选择超出限制的零件谢谢。 这可行。 有什么手动方法代替脚本吗?如果我已经选择了多列并绘制了分布图,是否有任何手动方法来选择失效零件?