超出規格的表格摘要你好,
我有許多列的表,其中包含規格限製作為屬性。
如何創建每列不符合規格的百分比表。
如果可能,將選項用作表摘要(以定義組),新列將是 %OOS。
* 或三列:低於 LSL、高於 USL 和外部總計(作為貢獻圖中的“長期 Sigma”表)
提前致謝!
阿薩夫
回复:不合規格的表格摘要
你好,
只需少量修改即可正常工作
感謝您的快速和大力支持!
阿薩夫
Col_names = 當前數據表() << 獲取列名();
Num_of_cols = N 項(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( //缺少 (Spec_USL_num)!=0 || 缺少 (Spec_LSL_num)!=0,
isEmpty(Spec_Lims),
繼續();
);
插入 (columnsWithLimList, Char( Col_Names[i] ));
);
PC = Expr("過程能力(
無形的,
過程變量(“);
For( i = 1, i <= N 項 (columnsWithLimList), i++,
個人電腦 = 個人電腦 || ",:"||Char(columnsWithLimList[i]);
);
PC = PC|| "),
能力箱線圖(0),
在 Sigma 匯總報告 (1) 中,
目標圖(0),
能力指數圖( 0 )
)";
評估(解析(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,並且當參數沒有限制時 - 將返回空單元格(“。”)
回复:不合規格的表格摘要你好,
如果我理解你的話,那麼你只需要使用分析>>質量和過程>>過程能力。
在此報告中,您必須選擇摘要報告。 摘要報告包含請求的數據。 如果沒有,您必須通過右鍵單擊表格標題手動自定義它。 在“列”下有所有可能的選項。 如果您願意,可以將其轉換為新的數據表。
格魯瑟,
馬文