Process Screening
Example 1
Summary: Screens and analyzes price data by series, using process screening to identify trends and patterns in the data.
Code:
// Process Screening of Price by Series
// Open data table
dt = Open("data_table.jmp");
// Process Screening of Price by Series
Process Screening(
Y( :Price ),
Grouping( :Series ),
Time( :Date ),
Subgroup Sample Size( 3 ),
Recent Shift Up( 1 ),
Recent Shift Down( 1 ),
Shift Graph( 1 )
);
Code Explanation:
- Open data table.
- Perform process screening.
- Set response variable.
- Define grouping variable.
- Specify time variable.
- Set subgroup sample size.
- Enable recent shift up.
- Enable recent shift down.
- Display shift graph.
Example 2
Summary: Visualizes process screening data by applying the Process Screening platform in JMP to identify patterns and relationships among various variables.
Code:
// Process Screening
// Open data table
dt = Open("data_table.jmp");
// Process Screening
Process Screening(
Y(
:NPN1, :PNP1, :PNP2, :NPN2, :PNP3,
:IVP1, :PNP4, :NPN3, :IVP2, :NPN4,
:SIT1, :INM1, :INM2, :VPM3, :SPM1,
:NPN5, :EP2, :ZD6, :PBA, :PLG,
:CAP, :PBA3, :PLG2, :PNP5, :NPN6,
:PNP7, :NPN7, :PNP8, :IVP3, :IVP4,
:IVP5, :IVP6, :PNP9, :NPN8, :NPN9,
:IVP7, :NPN10, :N_1, :PBA1, :WPR1,
:B10, :PLY10, :VBE210, :VTN210,
:VTP210, :SIT2, :SIT3, :INV2,
:INV3, :INV4, :INV5, :FST1, :FST2,
:RES1, :RES2, :PNM1, :PPM1, :FNM1,
:FPM1, :FST3, :FST4, :RES3, :RES4,
:A1, :B1, :A2N, :A2P, :A2P1,
:IVP8, :IVP9, :DE_H1, :NF_H1,
:ESM1, :ESM2, :ESP1, :YFU1, :PBA3,
:PBB1, :LYA1, :LYB1, :DEM1, :DEP1,
:NFM1, :PLY1, :VDP1, :VDP2, :SNW1,
:RSP2, :PLY2, :RSP1, :VDP3, :PBL1,
:PLG1, :VDP4, :SPW1, :VIA1, :INM3,
:VPM5, :INM4, :VPM7, :M1_M1,
:M2_M2, :P1_P1, :E2A1, :E2B1,
:NPN11, :IVP10, :PNP10, :INM5,
:VPM8, :INM6, :VPM10, :N2A1,
:N2B1, :NM_L1, :P2A1, :P2B1,
:PM_L1
)
);
Code Explanation:
- Open table.
- Run Process Screening.
- Set response variables.
Example 3
Summary: Performs process screening for quality control by filtering data based on machine and phase, and generating an XBar and R chart.
Code:
Open("data_table.jmp");
Process Screening(
Process Variables( :DIAMETER ),
Grouping( :MACHINE, :Phase ),
Control Chart Type( "XBar and R" ),
Where( :MACHINE == "A386" )
);
Code Explanation:
- Open data table.
- Initiate Process Screening.
- Select DIAMETER as process variable.
- Group by MACHINE and Phase.
- Choose XBar and R chart type.
- Filter for MACHINE "A386".
Example 4
Summary: Performs process screening analysis by selecting process variables, sorting table by column 16, and filtering lowercase 'b' using Process Screening in JMP.
Code:
Open("data_table.jmp");
Process Screening(
Process Variables( Eval( 5 :: 132 ) ),
SendToReport( Dispatch( {}, "", TableBox, {Sort By Column( 16 ), Filter Where( Contains( Lowercase( Column ), Lowercase( "B" ) ) )} ) )
);
Code Explanation:
- Open data table;
- Initiate Process Screening analysis.
- Select process variables 5 to 132.
- Send report to display box.
- Sort table by column 16.
- Apply filter to lowercase "b".
Example 5
Summary: Performs process screening for multiple Y variables, enabling the analysis of complex relationships between variables and identifying potential issues in a data table.
Code:
Open("data_table.jmp");
Process Screening(
Y(
:NPN1, :PNP1, :PNP2, :NPN2, :PNP3, :IVP1, :PNP4, :NPN3, :IVP2, :NPN4, :SIT1, :INM1, :INM2, :VPM3, :SPM1, :NPN5, :EP2, :ZD6, :PBA,
:PLG, :CAP, :PBA3, :PLG2, :PNP5, :NPN6, :PNP7, :NPN7, :PNP8, :IVP3, :IVP4, :IVP5, :IVP6, :PNP9, :NPN8, :NPN9, :IVP7, :NPN10, :N_1,
:PBA1, :WPR1, :B10, :PLY10, :VBE210, :VTN210, :VTP210, :SIT2, :SIT3, :INV2, :INV3, :INV4, :INV5, :FST1, :FST2, :RES1, :RES2, :PNM1,
:PPM1, :FNM1, :FPM1, :FST3, :FST4, :RES3, :RES4, :A1, :B1, :A2N, :A2P, :A2P1, :IVP8, :IVP9, :DE_H1, :NF_H1, :ESM1, :ESM2, :ESP1,
:YFU1, :PBA3, :PBB1, :LYA1, :LYB1, :DEM1, :DEP1, :NFM1, :PLY1, :VDP1, :VDP2, :SNW1, :RSP2, :PLY2, :RSP1, :VDP3, :PBL1, :PLG1, :VDP4,
:SPW1, :VIA1, :INM3, :VPM5, :INM4, :VPM7, :M1_M1, :M2_M2, :P1_P1, :E2A1, :E2B1, :NPN11, :IVP10, :PNP10, :INM5, :VPM8, :INM6, :VPM10,
:N2A1, :N2B1, :NM_L1, :P2A1, :P2B1, :PM_L1
),
Control Chart Type( "Indiv and MR" ),
Summary( 0 ),
Process Performance Graph( 1 ),
SendToReport(
Dispatch( {"Process Performance Graph"}, "ProcessScreening Graph", FrameBox,
{Add Pin Annotation(
Seg( Marker Seg( 1 ) ),
Index( 64 ),
Index Row( 64 ),
UniqueID( 835408128 ),
FoundPt( {326, 347} ),
Origin( {1.05833333333333, 0.176388888888889} ),
Offset( {65, 34} ),
Tag Line( 1 )
), Add Pin Annotation(
Seg( Marker Seg( 1 ) ),
Index( 62 ),
Index Row( 62 ),
UniqueID( 835408126 ),
FoundPt( {303, 242} ),
Origin( {0.9625, 1.78055555555556} ),
Offset( {-291, -107} ),
Tag Line( 1 )
)}
)
)
);
Code Explanation:
- Open data table;
- Launch Process Screening platform.
- Set multiple Y variables.
- Choose Indiv and MR control chart type.
- Disable summary report.
- Enable process performance graph.
- Add pin annotation to graph.
- Specify segment and index for first annotation.
- Define found point and origin for first annotation.
- Set offset and tag line for first annotation.
Example 6
Summary: Performs process screening to monitor and control quality using a control chart with individual and moving range methods, grouping by series, and displaying charts as selected.
Code:
Open("data_table.jmp");
Process Screening(
Process Variables( :Price ),
Grouping( :Series ),
Control Chart Type( "Indiv and MR" ),
Time( :Date ),
Subgroup Sample Size( 3 ),
Show Charts as Selected( 1 ),
RowStates( [5 1] )
);
Code Explanation:
- Open data_table data
- Launch Process Screening platform.
- Set Price as process variable.
- Use Series for grouping.
- Choose Indiv and MR control chart.
- Specify Date as time variable.
- Set subgroup sample size to 3.
- Display charts as selected.
- Apply row states [5 1].
Example 7
Summary: Performs process screening to monitor and analyze the price of crops over time, grouping by series and displaying individual and moving range charts with shift graphs.
Code:
Open("data_table.jmp");
Process Screening(
Process Variables( :Price ),
Grouping( :Series ),
Control Chart Type( "Indiv and MR" ),
Time( :Date ),
Subgroup Sample Size( 3 ),
Summary( 0 ),
Show Tests( 0 ),
Shift Graph( 1 )
);
Code Explanation:
- Open data table;
- Run Process Screening.
- Select Price as process variable.
- Group by Series.
- Use Indiv and MR chart type.
- Set Date as time variable.
- Define subgroup size as 3.
- Disable summary statistics.
- Hide test results.
- Enable shift graph display.
Example 8
Summary: Performs process screening analysis to identify patterns in diameter measurements across machines and phases, utilizing XBar and R control charts with row states for reporting.
Code:
Open("data_table.jmp");
Process Screening(
Process Variables( :DIAMETER ),
Grouping( :MACHINE, :Phase ),
Control Chart Type( "XBar and R" ),
RowStates( [0 1, 1 768] )
);
Code Explanation:
- Open data table;
- Run Process Screening analysis.
- Specify DIAMETER as process variable.
- Group by MACHINE and Phase.
- Choose XBar and R control chart.
- Set row states for report.
Example 9
Summary: Performs process screening analysis to identify key processes and extract relevant data, utilizing the Process Screening platform in JMP.
Code:
dt2 = Open("data_table.jmp");
ProScObj = dt2 << Process Screening( Y( Column Group( "Processes" ) ) );
newtable2 = Report( ProScObj )[Outline Box( "Process Screening" )][Table Box( 1 )] << Make Into Data Table;
Report( ProScObj ) << Close Window;
matVals2 = newtable2:Column << get as matrix();
Code Explanation:
- Open data table.
- Perform process screening analysis.
- Extract process screening report.
- Convert report to data table.
- Close process screening window.
- Retrieve column values as matrix.
Example 10
Summary: Performs process screening analysis to identify trends and anomalies in a dataset, utilizing control charts and special tests.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :NPN1, :PNP1, :PNP2 ),
Grouping( :wafer, :lot_id ),
Control Chart Type( "Indiv and MR" ),
Subgroup( :SITE ),
Test 2( 1 ),
Test 3( 1 ),
Test 4( 1 ),
Test 5( 1 ),
Test 6( 1 ),
Test 7( 1 ),
Test 8( 1 ),
Range Limit Exceeded( 1 ),
SendToReport( Dispatch( {}, "", TableBox, {Sort By Column( 1, 0 )} ) )
);
rpt = obj << report;
dt2 = rpt[Table Box( 1 )] << Make Into Data Table;
obj << close window;
Code Explanation:
- Open data_table data
- Initiate process screening analysis.
- Set response variables: NPN1, PNP1, PNP2.
- Define grouping variables: wafer, lot_id.
- Choose control chart type: Indiv and MR.
- Specify subgroup variable: SITE.
- Enable all special tests (2-8).
- Enable range limit exceeded test.
- Sort report by first column.
- Extract first table box into new data table.
- Close original analysis window.
Example 11
Summary: Performs process screening analysis to identify trends and anomalies in a dataset, utilizing the Process Screening platform in JMP.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :NPN1, :PNP1, :PNP2 ),
Grouping( :wafer, :lot_id ),
Control Chart Type( "Indiv and MR" ),
Subgroup( :SITE ),
Test 2( 1 ),
Test 3( 1 ),
Test 4( 1 ),
Test 5( 1 ),
Test 6( 1 ),
Test 7( 1 ),
Test 8( 1 ),
Range Limit Exceeded( 1 ),
SendToReport( Dispatch( {}, "", TableBox, {Sort By Column( 11, 0 )} ) )
);
obj << Find and Select( "PNP1" );
timebefore = Today();
obj << Control Chart Builder;
timeafter = Today();
Close( dt, no save );
before = Today();
Code Explanation:
- Open data table;
- Perform process screening analysis.
- Set response variables.
- Define grouping variables.
- Choose control chart type.
- Specify subgroup variable.
- Enable multiple tests.
- Sort report by column.
- Select specific item.
- Run control chart builder.
Example 12
Summary: Runs the process screening and control chart builder for a specific data table, selecting 'PNP1' as the response variable and sorting the report by column 11.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :NPN1, :PNP1, :PNP2 ),
Grouping( :wafer, :lot_id ),
Control Chart Type( "Indiv and MR" ),
Subgroup( :SITE ),
Test 2( 1 ),
Test 3( 1 ),
Test 4( 1 ),
Test 5( 1 ),
Test 6( 1 ),
Test 7( 1 ),
Test 8( 1 ),
Range Limit Exceeded( 1 ),
SendToReport( Dispatch( {}, "", TableBox, {Sort By Column( 11, 0 )} ) )
);
obj << Find and Select( "PNP1" );
timebefore = Today();
obj << Control Chart Builder;
timeafter = Today();
Code Explanation:
- Open data table.
- Create process screening object.
- Set response variables.
- Define grouping variables.
- Choose control chart type.
- Specify subgroup variable.
- Enable multiple tests.
- Sort report by column.
- Select specific process.
- Run control chart builder.
Example 13
Summary: Performs process screening and capability analysis for a data table, utilizing the Process Screening platform to transform columns, set control chart types, and generate reports.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Process Variables( Transform Column( "Square Root[height]", Format( "Fixed Dec", 5, 0 ), Formula( Sqrt( :height ) ) ) ),
Control Chart Type( "Indiv and MR" ),
RowStates( [0 1] )
);
beforeTitles = Window() << get window title;
obj << Process Capability for Selected Items;
afterTitles = Window() << get window title;
Code Explanation:
- Open data table;
- Create square root transformation.
- Perform process screening.
- Set control chart type.
- Define row states.
- Get initial window title.
- Generate process capability report.
- Get updated window title.
Example 14
Summary: Process of generating control charts for a subset of data filtered by site, using Process Screening and Control Charts for Selected Items in JMP.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :PNP2 ),
Control Chart Type( "XBar and R" ),
Subgroup Sample Size( 10 ),
K for K Sigma( 3 ),
Local Data Filter( Add Filter( columns( :SITE ), Where( :SITE == 3 ) ) )
);
obj << Select All;
obj2 = obj << Control Charts for Selected Items;
If( Host is( Windows ),
obj2 = Window( "data_table, where -SITE == 3 - Control Chart Builder" ),
obj2 = Window( "data_table.jmp, where -SITE == 3 - Control Chart Builder" )
);
Code Explanation:
- Open data table.
- Launch Process Screening platform.
- Set response variable.
- Choose XBar and R chart.
- Define subgroup size.
- Set K Sigma value.
- Apply local data filter.
- Select all items in report.
- Generate control charts.
- Adjust window title based on OS.
Example 15
Summary: Performs process screening and graphing for selected items, deleting unnecessary columns and creating a new table with limits.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening( Process Variables( :Weight, :Weight 2 ), Grouping( :Sample ), Control Chart Type( "Indiv and MR" ) );
dt << Delete Columns( :Markers, :Weight 2, :Weight, :Sample );
obj << Select All;
obj << Quick Graph for Selected Items;
obj << Drift Graph Selected;
obj << Remove Selected Items;
Close( dt, no save );
dtLimits = New Table( "Limits",
Add Rows( 1 ),
New Column( "Process", Character( 6 ), "Nominal", Set Values( {"height"} ) ),
New Column( "_Std Dev", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [3.72556712398186] ) ),
New Column( "_Sample Size", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
New Column( "_Mean", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [62.55] ) ),
New Column( "_LCL", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [57] ) ),
New Column( "_UCL", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [65] ) ),
New Column( "_AvgR", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
New Column( "_LCLR", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
New Column( "_UCLR", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
Set Label Columns( :Process )
);
Code Explanation:
- Open data table;
- Perform Process Screening.
- Delete unnecessary columns.
- Select all items in Process Screening.
- Create quick graph for selected items.
- Generate drift graph for selected items.
- Remove selected items from Process Screening.
- Close dataset without saving.
- Create new table named Limits.
- Add columns and set values for limits.
Example 16
Summary: Runs the process screening analysis to identify trends and anomalies in a data table, utilizing Process Variables, Grouping, and Control Chart Type features.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening( Process Variables( :Weight, :Weight 2 ), Grouping( :Sample ), Control Chart Type( "Indiv and MR" ) );
dt << Delete Columns( :Markers, :Weight 2, :Weight, :Sample );
obj << Select All;
obj << Quick Graph for Selected Items;
obj << Drift Graph Selected;
obj << Remove Selected Items;
Code Explanation:
- Open data table.
- Launch Process Screening analysis.
- Specify process variables.
- Define grouping variable.
- Set control chart type.
- Delete unnecessary columns.
- Select all items in analysis.
- Generate quick graph for selected items.
- Create drift graph for selected items.
- Remove selected items from analysis.
Example 17
Summary: Performs process screening and drift graph analysis for a data table, selecting items with a count of 7 and capturing the log.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening( Y( :height, :weight ), Grouping( :age ), Control Chart Type( "XBar and R" ) );
obj << select where( Count == 7 );
myLog = Log Capture( obj << Drift Graph Selected );
Code Explanation:
- Open data table.
- Perform process screening.
- Specify response variables.
- Define grouping variable.
- Choose control chart type.
- Select items with count 7.
- Capture drift graph log.
Example 18
Summary: Performs process screening to identify patterns in data, utilizing Process Variables, Grouping, and Control Chart Type features to generate a report sorted by column.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Process Variables( :DIAMETER ),
Grouping( :MACHINE, :Phase ),
Control Chart Type( "Indiv and MR" ),
SendToReport( Dispatch( {}, "", TableBox, {Sort By Column( 8, 0 )} ) )
);
rpt = obj << report;
Code Explanation:
- Open data table.
- Run Process Screening.
- Set process variables.
- Define grouping variables.
- Choose control chart type.
- Sort report by column.
- Retrieve report object.
Example 19
Summary: Runs the Process Screening analysis to visualize control charts and process performance graphs, with interactive pin annotations for marker coordinates.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :NPN1, :PNP1, :PNP2, :NPN2 ),
Control Chart Type( "XBar and R" ),
Process Performance Graph( 1 ),
SendToReport(
Dispatch( {"Process Performance Graph"}, "ProcessScreening Graph", FrameBox,
{Add Pin Annotation(
Seg( Marker Seg( 1 ) ),
Index( 2 ),
Index Row( 2 ),
UniqueID( 677261314 ),
FoundPt( {317, 283} ),
Origin( {1.00416666666667, 2.5} ),
Tag Line( 1 )
), Add Pin Annotation(
Seg( Marker Seg( 1 ) ),
Index( 1 ),
Index Row( 1 ),
UniqueID( 677261313 ),
FoundPt( {317, 504} ),
Origin( {1.00416666666667, 0.658333333333333} ),
Tag Line( 1 )
), Add Pin Annotation(
Seg( Marker Seg( 1 ) ),
Index( 0 ),
Index Row( 0 ),
UniqueID( 677261312 ),
FoundPt( {320, 427} ),
Origin( {1.01666666666667, 1.3} ),
Offset( {-306, 7} ),
Tag Line( 1 )
)}
)
)
);
obj << Move Window( 100, 100 );
marker_coords = {456, 283};
obj << Mouse Click( marker_coords );
marker_coords = {451, 503};
obj << Mouse Click( marker_coords );
marker_coords = {155, 433};
obj << Mouse Click( marker_coords );
Code Explanation:
- Open data_table data
- Launch Process Screening analysis.
- Set response variables.
- Choose XBar and R control chart.
- Enable process performance graph.
- Add pin annotations to report.
- Move window to position.
- Click on first marker coordinate.
- Click on second marker coordinate.
- Click on third marker coordinate.
Example 20
Summary: Performs process screening analysis to identify trends and anomalies in a dataset, utilizing control charts for selected items and saving summaries and details.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Process Variables( :NPN1, :PNP1, :PNP2 ),
Grouping( :wafer, :lot_id ),
Control Chart Type( "Indiv and MR" ),
Subgroup( :SITE ),
KSigma( 5 ),
RowStates( [851 1] )
);
obj2 = obj << Control Charts for Selected Items;
dtSumCC = obj2 << Save Summaries;
dtSumPS = obj << Save Selected Details;
Close( dt, no save );
Code Explanation:
- Open data table.
- Perform process screening analysis.
- Set process variables.
- Define grouping variables.
- Choose control chart type.
- Specify subgroup variable.
- Set KSigma value.
- Apply row states.
- Generate control charts.
- Save summaries and details.
- Close original data table.
Example 21
Summary: Performs process screening and control chart generation for selected items in a data table, utilizing the Process Screening platform to enable statistical tests and K-Sigma value selection.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :Toxicity ),
Control Chart Type( "XBar MR and R" ),
Subgroup( :Formulation ),
Enable All Tests( 1 ),
KSigma( 1 )
);
obj << Select All;
obj2 = obj << Control Charts for Selected Items;
dtSumCC = obj2 << Save Summaries;
dtSumPS = obj << Save Selected Details;
Close( dt, no save );
Code Explanation:
- Open data table;
- Initiate Process Screening.
- Set response variable.
- Choose control chart type.
- Define subgroup column.
- Enable all statistical tests.
- Set K-Sigma value.
- Select all items.
- Generate control charts.
- Save summaries and details.
Example 22
Summary: Performs process screening and control chart creation for selected items, utilizing Process Screening and Control Charts for Selected Items features in JMP.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Process Variables( :NPN1, :PNP1, :PNP2 ),
Grouping( :wafer, :lot_id ),
Control Chart Type( "Indiv and MR" ),
Subgroup( :SITE ),
KSigma( 5 ),
RowStates( [851 1] )
);
obj2 = obj << Control Charts for Selected Items;
dtSumCC = obj2 << Save Summaries;
dtSumPS = obj << Save Selected Details;
Code Explanation:
- Open data table.
- Launch Process Screening.
- Specify process variables.
- Define grouping variables.
- Set control chart type.
- Define subgroup variable.
- Set KSigma value.
- Apply row states.
- Create control charts.
- Save summary data.
- Save selected details.
Example 23
Summary: Performs process screening and control chart creation for selected items in a data table, utilizing the Process Screening platform to enable all tests and configure subgrouping.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :Toxicity ),
Control Chart Type( "XBar MR and R" ),
Subgroup( :Formulation ),
Enable All Tests( 1 ),
KSigma( 1 )
);
obj << Select All;
obj2 = obj << Control Charts for Selected Items;
dtSumCC = obj2 << Save Summaries;
dtSumPS = obj << Save Selected Details;
Code Explanation:
- Open table.
- Run Process Screening.
- Set Y variable.
- Choose control chart type.
- Define subgroups.
- Enable all tests.
- Set KSigma value.
- Select all items.
- Create control charts.
- Save summaries.
- Save selected details.
Example 24
Summary: Runs the process screening and report generation for a data table, utilizing Process Screening to select items and create quick graphs with varying numbers of plots across.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening( Y( 10 :: 25 ) );
obj << Select All;
obj << Quick Graph for Selected Items( Number of Plots Across( 6 ) );
rpt = obj << report;
obj << Quick Graph for Selected Items( Number of Plots Across( 3 ) );
rpt = obj << report;
obj << Quick Graph for Selected Items( Number of Plots Across( 1 ) );
rpt = obj << report;
Code Explanation:
- Open table.
- Run Process Screening.
- Select all items.
- Create quick graph with 6 plots across.
- Save report.
- Create quick graph with 3 plots across.
- Save report.
- Create quick graph with 1 plot across.
- Save report.
Example 25
Summary: Performs process screening analysis on a data table, utilizing the Process Screening platform to generate summary tables and graphs.
Code:
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :NPN1, :PNP1, :PNP2, :NPN2 ),
Control Chart Type( "XBar and R" ),
Test 2( 1 ),
Test 3( 1 ),
Test 4( 1 ),
Test 5( 1 ),
Test 6( 1 ),
Test 7( 1 ),
Test 8( 1 ),
Range Limit Exceeded( 1 )
);
dtSum = obj << Save Summary Table;
dtSumGraph = obj << Save Summary Table with Graphs;
Close( dt, No save );
Code Explanation:
- Open data table.
- Launch Process Screening platform.
- Set response variables.
- Select XBar and R chart.
- Enable Test 2.
- Enable Test 3.
- Enable Test 4.
- Enable Test 5.
- Enable Test 6.
- Enable Test 7.
- Enable Test 8.
- Enable Range Limit Exceeded.
- Save summary table.
- Save summary table with graphs.
- Close original data table without saving.
Example 26
Summary: Runs the process screening analysis to identify significant variables in a dataset, utilizing Process Screening and selecting columns 8-394 as Y variables.
Code:
dt = Open("data_table.jmp");
ps = dt << Process Screening( Y( 8 :: 394 ), X( :Process ), MaxLogWorth( 100 ) );
del_name = Column( dt, 12 ) << Get Name;
Column( dt, 12 ) << Set Selected( 1 );
dt << Delete Columns;
Code Explanation:
- Open data table.
- Run Process Screening analysis.
- Select columns 8 to 394 as Y variables.
- Use "Process" column as X variable.
- Set MaxLogWorth to 100.
- Retrieve name of column 12.
- Select column 12.
- Delete selected columns.
Process Screening using New Column
Summary: Process of creating a Process Screening analysis with specified limits for height, grouped by age and sex.
Code:
dt = Open("data_table.jmp");
dt << New Column( "Lower SL", formula( If( :sex == "M", 14, 28 ) ) );
dt << New Column( "Upper SL", formula( If( :sex == "M", 28, 56 ) ) );
obj = dt << Process Screening(
Y( :height ),
Grouping( :age, :sex ),
Use Limits Table( 1, Data Table("data_table"), LSL( :Lower SL ), USL( :Upper SL ), Go )
);
dtsum = obj << Save Summary Table;
Code Explanation:
- Open data table;
- Create Lower SL column.
- Create Upper SL column.
- Run Process Screening analysis.
- Set response variable as height.
- Group by age and sex.
- Use limits table for specifications.
- Specify Lower SL as LSL.
- Specify Upper SL as USL.
- Save summary table results.
Process Screening using Add Rows
Example 1
Summary: Creates and analyzes control charts for a process, including calculating limits and extracting actual LCL and UCL values.
Code:
dtLimits = New Table( "Limits",
Add Rows( 1 ),
New Column( "Process", Character( 6 ), "Nominal", Set Values( {"height"} ) ),
New Column( "_Std Dev", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [3.72556712398186] ) ),
New Column( "_Sample Size", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
New Column( "_Mean", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [62.55] ) ),
New Column( "_LCL", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [57] ) ),
New Column( "_UCL", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [65] ) ),
New Column( "_AvgR", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
New Column( "_LCLR", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
New Column( "_UCLR", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [.] ) ),
Set Label Columns( :Process )
);
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :height ),
Control Chart Type( "XBar and R" ),
Subgroup( :age ),
Use Limits Table(
1,
Data Table("data_table"),
Process Variables( :Process ),
LCL( :_LCL ),
UCL( :_UCL ),
Subgroup Size( :_Sample Size ),
Go
)
);
obj << Select All;
dtDetails = obj << Save Selected Details;
actLCL = Column( dtDetails, "LCL" ) << get as matrix;
actUCl = Column( dtDetails, "UCL" ) << get as matrix;
obj2 = obj << Control Charts for Selected Items;
dtSummary = obj2[1] << Save Summaries;
actLCL2 = Column( dtSummary, "LCL height" ) << get as matrix;
actUCL2 = Column( dtSummary, "UCL height" ) << get as matrix;
Code Explanation:
- Create new table "Limits".
- Add one row to table.
- Define "Process" column.
- Define "_Std Dev" column.
- Define "_Sample Size" column.
- Define "_Mean" column.
- Define "_LCL" column.
- Define "_UCL" column.
- Define "_AvgR" column.
- Define "_LCLR" column.
- Define "_UCLR" column.
- Set label for "Process" column.
- Open data table;
- Run Process Screening analysis.
- Select all items in analysis.
- Save selected details.
- Extract actual LCL values.
- Extract actual UCL values.
- Generate control charts for selected items.
- Save summaries from control charts.
- Extract actual LCL values again.
- Extract actual UCL values again.
Example 2
Summary: Performs process screening analysis to identify trends and anomalies in a dataset, utilizing control charts and limits tables for specification.
Code:
dt = Open("data_table.jmp");
dtLimits = New Table( "Limits",
Add Rows( 1 ),
New Column( "Y", Character, "Nominal", Set Values( {"INM1"} ) ),
New Column( "LSL", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [1] ) ),
New Column( "Target", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [2] ) ),
New Column( "USL", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [3] ) )
);
obj = dt << Process Screening(
Y( :INM1 ),
Control Chart Type( "XBar MR and S" ),
Subgroup( :Wafer ID in lot ID ),
Use Limits Table( 1, dtLimits, Process Variables( :Y ), LSL( :LSL ), USL( :USL ), Target( :Target ), Go )
);
obj << select All;
obj << Control Charts for Selected Items;
rpt = obj << report;
obj2 = Window( "data_table - Control Chart Builder" );
Code Explanation:
- Open data table.
- Create new limits table.
- Define process screening analysis.
- Specify Y variable.
- Choose control chart type.
- Define subgrouping.
- Use limits table for specifications.
- Select all items in analysis.
- Generate control charts for selected items.
- Retrieve report from analysis.
Example 3
Summary: Runs the creation and use of a control chart for process screening, utilizing the XBar MR and S method with limits defined in a separate table.
Code:
dtLimits = New Table( "Untitled 36",
Add Rows( 12 ),
New Column( "_LimitsKey",
Character,
"Nominal",
Set Values(
{"_Std Dev", "_Sample Size", "_Sigma", "_Avg_PreMeans", "_LCL_PreMeans", "_UCL_PreMeans", "_AvgR_PreMeans", "_LCLR_PreMeans",
"_UCLR_PreMeans", "_AvgS", "_LCLS", "_UCLS"}
)
),
New Column( "INM1",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [1.66666666666667, 5, 3.35410196624968, 82, 78, 87, 2, 0, 5, 4, 0, 7] )
)
);
dt = Open("data_table.jmp");
obj = dt << Process Screening(
Y( :INM1 ),
Control Chart Type( "XBar MR and S" ),
Subgroup( :Wafer ID in lot ID ),
Use Limits Table( 1, dtLimits )
);
obj << select All;
obj << Control Charts for Selected Items;
rpt = obj << report;
obj2 = Window( "data_table - Control Chart Builder" );
Code Explanation:
- Create new table "Untitled 36".
- Add 12 rows to the table.
- Define column "_LimitsKey" with character values.
- Define column "INM1" with numeric values.
- Open data table.
- Run Process Screening on "INM1".
- Set control chart type to "XBar MR and S".
- Define subgroup by "Wafer ID in lot ID".
- Use limits from "dtLimits" table.
- Select all items in the process screening object.