Type 1 Gauge
Example 1
Summary: Performs an EMP Measurement Systems Analysis using a Type 1 Gauge to evaluate the variability of Y1, with defined lower and upper tolerances, reference value, and resolution.
Code:
// Type 1 Gauge of Y1
// Open data table
dt = Open("data_table.jmp");
// Type 1 Gauge of Y1
Type 1 Gauge(
Y( :Y1 ),
Type 1 Gauge Metadata(
:
Y1(
Lower Tolerance( 49.014 ),
Upper Tolerance( 51.014 ),
Reference( 50.014 ),
Resolution( 0.001 )
)
),
Type 1 Gauge Analysis( "Y1" )
);
Code Explanation:
- Open data table.
- Launch Type 1 Gauge analysis.
- Set response variable Y1.
- Define metadata for Y1.
- Set lower tolerance for Y1.
- Set upper tolerance for Y1.
- Set reference value for Y1.
- Set resolution for Y1.
- Perform analysis on Y1.
- Display results.
Example 2
Summary: Performs a Type 1 Gauge Study on three response variables (Y1, Y2, and Y3) using the Open data table function in JMP. The script defines metadata for each variable and analyzes them individually.
Code:
// Type 1 Gauge Study
// Open data table
dt = Open("data_table.jmp");
// Type 1 Gauge Study
Type 1 Gauge(
Y( :Y1, :Y2, :Y3 ),
Type 1 Gauge Metadata(
:
Y1(
Lower Tolerance( 49.014 ),
Upper Tolerance( 51.014 ),
Reference( 50.014 ),
Resolution( 0.001 )
),
:
Y2(
Lower Tolerance( 21.9 ),
Upper Tolerance( 27.9 ),
Reference( 24.9 ),
Resolution( 0.01 )
),
:
Y3(
Lower Tolerance( 7.5 ),
Upper Tolerance( 12.5 ),
Reference( 10 ),
Resolution( 0.0005 )
)
),
Type 1 Gauge Analysis( "Y1" ),
Type 1 Gauge Analysis( "Y2" ),
Type 1 Gauge Analysis( "Y3" )
);
Code Explanation:
- Open data table.
- Perform Type 1 Gauge Study.
- Define response variables.
- Set metadata for Y1.
- Set metadata for Y2.
- Set metadata for Y3.
- Analyze Y1.
- Analyze Y2.
- Analyze Y3.
Example 3
Summary: Performs the EMP Measurement Systems Analysis using a Type 1 Gauge, performing bias testing and generating a report with average and dispersion charts.
Code:
dt = Open("data_table.jmp");
obj = dt << Type 1 Gauge(
Y( :Y1 ),
Type 1 Gauge Metadata( :Y1( Lower Tolerance( 49.014 ), Upper Tolerance( 51.014 ), Reference( 50.014 ), Resolution( .001 ) ) )
);
obj << (Type 1 Gauge Analysis[1] << Bias Test( 1 ));
rpt = obj << report;
Code Explanation:
- Open data table.
- Run Type 1 Gauge analysis.
- Set Y variable.
- Define metadata for Y1.
- Perform bias test.
- Generate analysis report.
Type 1 Gauge using Column
Summary: Configures a Type 1 Gauge analysis for the 'height' column in a JMP data table, specifying spec limits and metadata.
Code:
dt = Open("data_table.jmp");
Column( dt, "height" ) << set property( "Spec Limits", {LSL( -50 ), USL( 200 ), Target( 100 ), Show Limits( 1 )} );
obj = dt << Type 1 Gauge(
Y( :height ),
Type 1 Gauge Metadata( :height( Lower Tolerance( -50 ), Upper Tolerance( 200 ), Reference( 100 ), Resolution( 0.2 ) ) ),
Percent of Tolerance( 40 ),
Sigma Multiplier( 8 )
);
rpt = obj << report;
Code Explanation:
- Open data table;
- Set height column spec limits.
- Run Type 1 Gauge analysis.
- Specify height as response variable.
- Define metadata for height.
- Set percent of tolerance to 40.
- Set sigma multiplier to 8.
- Retrieve analysis report.