不符合規格的表摘要你好,
我有一個包含許多列的表,其中規格限製作為屬性。
如何建立每列超出規格百分比的表格。
如果可能的話,使用選項作為表格摘要(定義群組),新欄位將為 %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,它將取代匯總表,並且當參數沒有限制時 - 將返回空單元格(“。”)
回覆:超出規格的表格摘要你好,
如果我理解正確的話,那麼您只需要使用分析>>品質和過程>>過程能力。
在此報告中,您必須選擇摘要報告。 摘要報告包含所請求的資料。 如果沒有,您必須右鍵單擊表標題來手動自訂它。 在“列”下有所有可能的選項。 如果您願意,可以將其轉換為新的資料表。
格呂瑟,
馬文