사양을 벗어난 테이블 요약안녕하세요,
속성으로 사양 제한이 있는 열이 많은 테이블이 있습니다.
열당 사양을 벗어난 비율의 테이블을 어떻게 생성할 수 있습니까?
그룹을 정의하기 위해 테이블 요약으로 옵션을 사용할 수 있는 경우 새 열은 %OOS가 됩니다.
* 또는 세 개의 열: LSL 미만, USL 초과 및 총 외부(분류도의 "장기 시그마" 테이블)
미리 감사드립니다!
아사프
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을 찾고 있고 매개변수 w/o 제한이 있을 때 - 빈 셀(".")을 반환할 것입니다.
Re: 사양을 벗어난 표 요약안녕,
내가 당신을 올바르게 이해했다면 분석>>품질 및 프로세스>>프로세스 기능만 사용하면 됩니다.
이 보고서 내에서 요약 보고서를 선택해야 합니다. 요약 보고서에는 요청된 데이터가 포함되어 있습니다. 그렇지 않은 경우 표 머리글을 마우스 오른쪽 버튼으로 클릭하여 수동으로 사용자 지정해야 합니다. "열" 아래에는 가능한 모든 옵션이 있습니다. 원하는 경우 이를 새 데이터 테이블로 변환할 수 있습니다.
그뤼세,
마빈
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 ) );