cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

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

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 II

Re: Control chart - K sigma set up

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

Recommended Articles