Saluti,
Sto utilizzando JMP 17, ho provato a impostare il limite di controllo per il grafico IMR e il grafico X bar R.
Anche se ho impostato i limiti di controllo, quando eseguo lo script, i limiti di controllo non cambiano come li ho impostati.
dt è la tabella dei dati.
di seguito è riportato lo script per il grafico 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 )} )
)
)di seguito è riportato lo script per il grafico 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 )} )
)
)
Come impostare il limite di controllo?
grazie in anticipo