不符合规格的表摘要你好,
我有一个包含许多列的表,其中规格限制作为属性。
如何创建每列超出规格百分比的表格。
如果可能的话,使用选项作为表摘要(定义组),新列将为 %OOS。
* 或三列:低于 LSL、高于 USL 和外部总计(如贡献图中的“长期西格玛”表)
提前致谢!
阿萨夫
回复:超出规格的表摘要你好,
JMP 新手。 我看到脚本的输出将非常有用。 帖子中提到的脚本非常特定于特定的数据表,您是否有一个脚本,我可以选择列进行相同的分析。 (来自色谱柱属性的规格限制)
谢谢
回复:超出规格的表摘要
你好,
只需少量修改即可正常工作
感谢您的快速和大力支持!
阿萨夫
Col_names = Current Data Table() << Get Column Names();
Num_of_cols = N Items( Col_names );
columnsWithLimList = {};
For( i = 1, i <= Num_of_cols, i++,
Spec_Lims = Column( Char( Col_Names[i] ) ) << Get Property( "Spec Limits" );
//Spec_USL_num = Num (Word(1,Word (2,Char(Spec_Lims[2]),"("),")"));
//Spec_LSL_num = Num (Word(1,Word (2,Char(Spec_Lims[1]),"("),")"));
If( //is missing (Spec_USL_num)!=0 || is missing (Spec_LSL_num)!=0,
Is Empty( Spec_Lims )
,
Continue()
);
Insert Into( columnsWithLimList, Char( Col_Names[i] ) );
);
PC = Expr(
"Process Capability(
invisible,
Process Variables( "
);
For( i = 1, i <= N Items( columnsWithLimList ), i++,
PC = PC || ",:" || Char( columnsWithLimList[i] )
);
PC = PC ||
"),
Capability Box Plots( 0 ),
Within Sigma Summary Report( 1 ),
Goal Plot( 0 ),
Capability Index Plot( 0 )
)";
Eval( Parse( PC ) );回复:超出规格的表摘要尝试这个脚本,它会产生以下输出

这是脚本
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
// Get all of the continuous columns
colList = dt << get column names( string, continuous );
// For use as an example, delete some spec limits
For( i = 3, i <= N Items( colList ), i = i + 6,
Column( dt, colList[i] ) << delete property( "Spec Limits" )
);
// Create the Process Capability Summary Report
PC = Process Capability(
invisible,
Process Variables( Eval( colList ) ),
Spec Limits Dialog( "No (skip columns with no spec limits)" ),
Capability Box Plots( 0 ),
Within Sigma Summary Report( 1 ),
Goal Plot( 0 ),
Capability Index Plot( 0 )
);
// Get a list of columns processed
processedColList = report(PC)["Within Sigma Capability Summary Report"][String Col Box( 1 )] << get;
// Create an output table
dt2 = Report( PC )["Within Sigma Capability Summary Report"][Table Box( 1 )] << make into data table( invisible );
PC << close window;
// Create a new column that will allow the original order
// of the columns to be listed
dt2 << New Column( "roworder" );
// Process through the data table, and if the column is not found
// in the processed data, add it to the data table
For( i = 1, i <= N Items( colList ), i++,
If( N Rows( Loc( ProcessedColList, colList[i] ) ) == 1,
dt2:roworder[Loc( ProcessedColList, colList[i] )[1]] = i,
dt2 << add rows( 1 );
dt2:Process[N Rows( dt2 )] = colList[i];
dt2:roworder[N Rows( dt2 )] = i;
)
);
// Sort the data into the original order
dt2 = dt2 << sort( by( :roworder ), order( ascending ), replace table( 1 ) );
// Get rid of the no longer needed roworder column
dt2 << delete columns( "roworder" );
// Create the new report
nw = New Window( "Summary Report", <<JOURNAL></JOURNAL>
回复:超出规格的表摘要你好,
感谢您的支持!
这个选项确实可以支持我的要求。
但是(我在开始时没有提到),我有很多专栏,其中一些没有限制 - 因此除非我添加限制,否则流程能力不支持。
我正在寻找(可能)JSL,它将取代汇总表,并且当参数没有限制时 - 将返回空单元格(“。”)
回复:超出规格的表摘要你好,
如果我理解正确的话,那么您只需要使用分析>>质量和过程>>过程能力。
在此报告中,您必须选择摘要报告。 摘要报告包含所请求的数据。 如果没有,您必须右键单击表标题来手动自定义它。 在“列”下有所有可能的选项。 如果您愿意,可以将其转换为新的数据表。
格吕瑟,
马文