Saludos,
Estoy usando JMP 17, intenté establecer un límite de control para el gráfico IMR y el gráfico R de barra X.
Aunque configuré los límites de control, cuando ejecuto el script, los límites de control no cambian como los configuré.
dt es la tabla de datos.
A continuación se muestra el script para el gráfico IMR:
dt = Open( "$SAMPLE_DATA/Time Series/Workers.jmp" );
Gra = dt << Control Chart Builder(
K Sigma( 2.5 ),
Variables( Subgroup( :DATE ), Y( :"electrical workers, thousands" ) ),
Chart(
Position( 1 ),
Warnings( Test 1( 1 ), Test 3( 1 ) ),
Set Control Limits( {LCL( 287.5 ), UCL( 312 ), Avg( 300 )} )
),
Chart(
Position( 2 ),
Warnings( Test Beyond Limits( 1 ) ),
Set Control Limits( {LCL( 0 ), UCL( 15 )} )
),
SendToReport(
Dispatch( {}, "Warnings[1]", OutlineBox, {Close( 0 )} ),
Dispatch( {"Warnings[1]"}, "Tests", OutlineBox, {Close( 0 )} ),
Dispatch( {}, "Warnings[2]", OutlineBox, {Close( 0 )} )
)
)A continuación se muestra el script para el gráfico XbarR:
dt = Open( "$SAMPLE_DATA/Quality Control/Line Length.jmp" );
Control Chart Builder(
K Sigma( 2.5 ),
Variables( Subgroup( :Run ), Y( :Length ) ),
Chart(
Position( 1 ),
Limits( Sigma( "Levey Jennings" ) ),
Warnings( Test 1( 1 ), Test 3( 1 ) ),
Set Control Limits( {LCL( 15.8 ), UCL( 16.2 ), Avg( 16 )} )
),
Chart(
Position( 2 ),
Limits( Sigma( "Levey Jennings" ) ),
Warnings( Test Beyond Limits( 1 ) ),
Set Control Limits( {LCL( 0 ), UCL( 0.16 )} )
),
SendToReport(
Dispatch( {}, "Warnings[1]", OutlineBox, {Close( 0 )} ),
Dispatch( {"Warnings[1]"}, "Tests", OutlineBox, {Close( 0 )} ),
Dispatch( {}, "Warnings[2]", OutlineBox, {Close( 0 )} )
)
)
¿Cómo establecer el límite de control?
gracias de antemano
Creo que el argumento K Sigma(2.5) anula el argumento Establecer límites de control. Si lo elimina, los límites se establecen según lo especificado.