規格外の表の要約こんにちは、
プロパティとして仕様制限を持つ多くの列を持つテーブルがあります。
列ごとに仕様外 % のテーブルを作成するにはどうすればよいですか。
(グループを定義するための) 表の要約としてオプションを使用すると、可能であれば、新しい列は %OOS になります。
* または 3 つの列: LSL の下、USL の上、合計の外側 (トリビューション プロットの「長期シグマ」テーブルとして)
前もって感謝します!
アサフ
Re: 仕様外の表のまとめ
やあ、
わずかな変更で正常に動作します
迅速で素晴らしいサポートをありがとう!
アサフ
Col_names = 現在のデータ テーブル() << 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 プロパティ ("仕様制限");
//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),
続く();
);
Insert Into (columnsWithLimList, Char( Col_Names[i] ));
);
PC = Expr("工程能力(
見えない、
プロセス変数( ");
For( i = 1, i <= N アイテム (columnsWithLimList), i++,
PC = PC || PC ",:"||Char(columnsWithLimList[i]);
);
PC = PC|| ")、
能力箱ひげ図( 0 ),
Sigma Summary Report( 1 ) 内で、
ゴールプロット( 0 ),
能力指数プロット( 0 )
)";
Eval(パース(PC));
Re: 仕様外の表のまとめこのスクリプトを試すと、次の出力が生成されます

ここにスクリプトがあります
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>
Re: 仕様外の表のまとめやあ、
ご協力ありがとうございました!
このオプションは確かに私の要求をサポートできます。
しかし(最初は触れていませんが)、私は多くの列を持っており、制限がないものもあります。そのため、制限を追加しない限り、プロセス機能はサポートされません。
私は(おそらく)サマリーテーブルを置き換えるJSLを探しています。パラメーターが制限なしの場合、空のセル( "。")が返されます
Re: 仕様外の表のまとめやあ、
私の理解が正しければ、分析>>品質とプロセス>>プロセス能力のみを使用する必要があります。
このレポート内で、要約レポートを選択する必要があります。 概要レポートには、要求されたデータが含まれています。 そうでない場合は、テーブル ヘッダーを右クリックして手動でカスタマイズする必要があります。 「列」の下に、可能なすべてのオプションがあります。 必要に応じて、これを新しいデータ テーブルに変換できます。
グリューセ、
マーヴィン