Tableau récapitulatif pour les produits hors spécificationsBonjour,
J'ai une table avec de nombreuses colonnes avec des limites de spécifications comme propriétés.
Comment puis-je créer un tableau de % hors spécifications par colonne.
Si possible avec option comme tableau récapitulatif (pour définir les groupes) et la nouvelle colonne sera %OOS.
* Ou trois colonnes : en dessous de LSL, au dessus de USL et total extérieur (comme le tableau "Sigma long terme" dans le graphique de tribution)
Merci d'avance!
Assaf
Re : Tableau récapitulatif pour les hors spécificationsBonjour,
Nouveau chez JMP. Je vois que le résultat du script sera très utile. Le script mentionné dans l'article est très spécifique à une table de données spécifique, avez-vous un script dans lequel je peux sélectionner des colonnes pour la même analyse. (Spécifiez les limites des propriétés de colonne)
Merci
Re : Tableau récapitulatif pour les hors spécifications
Salut,
Avec quelques modifications ça marche bien
Merci pour votre soutien rapide et efficace !
Assaf
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 : Tableau récapitulatif pour les hors spécificationsEssayez ce script, il produit le résultat suivant

Voici le scénario
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 : Tableau récapitulatif pour les hors spécificationsSalut,
Merci pour votre aide!
cette option peut en effet répondre à ma demande.
Mais (et je ne le mentionne pas au début), j'ai beaucoup de colonnes et pour certaines, il n'y a pas de limites - donc la capacité du processus ne prend en charge que si j'ajoute les limites.
Je recherche (probablement) du JSL qui remplacera le tableau récapitulatif et lorsque le paramètre sans limite - renverra une cellule vide ("".")
Re : Tableau récapitulatif pour les hors spécificationsSalut,
si je vous comprends bien, il vous suffit d'utiliser la capacité Analyse>>Qualité et Processus>>Processus.
Dans ce rapport, vous devez sélectionner les rapports de synthèse. Le rapport de synthèse contient les données demandées. Sinon, vous devez le personnaliser manuellement avec un clic droit sur l'en-tête du tableau. Sous « Colonnes », vous trouverez toutes les options possibles. Si vous le souhaitez, vous pouvez le convertir en un nouveau tableau de données.
Merci,
Marvin