cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Control chart - K sigma set up

Hello,

 

I would like to make a control chart with a KSigma set up by a coefficient automatically calculated.

 

Below is my code:

 

graph = New Window( chart_title,
Control Chart(
Sample Label( :Numéro de lot ),
Sample Size( :N ),
KSigma( z_KSigmaZ ),
Sort by Row Order( 1 ),
Chart Col( :"Y1"n, P( Limits Precision( 1 ), LCL( -3 ) ) ),

...

 

However, by setting up the coefficient with this code: 

KSigma( z_KSigmaZ ),

it doesn't work and 3 is always applied as coefficient...

 

Is someone has an idea to help me with this?

Regards,

Sebastien

 

1 ACCEPTED SOLUTION

Accepted Solutions
ian_jmp
Level X

Re: Control chart - K sigma set up

Perhaps something like this:

NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
ksVal = 2;
// 'Template' expression to make a Control Chart
makeCC = Expr(cc = dt << Control Chart( Sample Label( :age ), KSigma(TBD), Chart Col( :height, XBar, R ) ));
// Subsitite the required value into 'makeCC'
SubstituteInto(makeCC, Expr(TBD), ksVal);
// Evaluate the resulting expression
makeCC;

View solution in original post

2 REPLIES 2
ian_jmp
Level X

Re: Control chart - K sigma set up

Perhaps something like this:

NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
ksVal = 2;
// 'Template' expression to make a Control Chart
makeCC = Expr(cc = dt << Control Chart( Sample Label( :age ), KSigma(TBD), Chart Col( :height, XBar, R ) ));
// Subsitite the required value into 'makeCC'
SubstituteInto(makeCC, Expr(TBD), ksVal);
// Evaluate the resulting expression
makeCC;
Sebastienlg
Level IV

Re: Control chart - K sigma set up

Great! It's working! Thank's a lot for your answer :)

Recommended Articles