仕様外のテーブルの概要こんにちは、
仕様制限をプロパティとして持つ多くの列を含むテーブルがあります。
列ごとに仕様外の % のテーブルを作成するにはどうすればよいですか。
可能であれば、(グループを定義するための) テーブルの概要としてオプションを使用すると、新しい列は %OOS になります。
* または 3 列: LSL より下、USL より上、および外側の合計 (分布プロットの「長期シグマ」テーブルとして)
前もって感謝します!
アサフ
Re: 規格外のテーブルの概要こんにちは、
JMP の初心者。 スクリプトの出力は非常に役立つことがわかります。 投稿で言及されているスクリプトは特定のデータ テーブルに非常に特化していますが、同じ分析の列を選択できるスクリプトはありますか。 (列プロパティからの仕様制限)
ありがとう
Re: 規格外のテーブルの概要
こんにちは、
いくつかの変更を加えれば正常に動作します
迅速かつ素晴らしいサポートに感謝します!
アサフ
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 ) );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: 規格外のテーブルの概要こんにちは、
私の理解が正しければ、「分析」>>「品質とプロセス」>>「プロセス能力」を使用するだけで済みます。
このレポート内で概要レポートを選択する必要があります。 概要レポートには、要求されたデータが含まれています。 そうでない場合は、テーブルのヘッダーを右クリックして手動でカスタマイズする必要があります。 「列」の下には、考えられるすべてのオプションがあります。 必要に応じて、これを新しいデータ テーブルに変換できます。
グリュース、
マーヴィン