cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Celine1
Level II

How to set control limit in IMR chart and Xbar R chart

Greetings,
I'm using JMP 17, I tried to set control limit for IMR chart and X bar R chart. 
Although I have set the control limits, when I run the script, the control limits do not change as I have set them.
dt is the data table.
below is the script for IMR chart:

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 )} )
	)
)

below is the script for XbarR chart:

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 )} )
	)
)


How to set the control limit?
Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to set control limit in IMR chart and Xbar R chart

I believe the K Sigma(2.5) argument is overriding the Set Control Limits argument. If you remove it, the limits are set as specified.

View solution in original post

1 REPLY 1

Re: How to set control limit in IMR chart and Xbar R chart

I believe the K Sigma(2.5) argument is overriding the Set Control Limits argument. If you remove it, the limits are set as specified.

Recommended Articles