Hello,
I am trying to calculate and extract specs using K sigma in process capability. However, something is off, and I am stuck. Is there a way to apply the K sigma and calculate the specs after the best model fitting and save those specs into a list?
See the below pic:

Here is the jsl to plot histograms and apply the fit, I would like to know how to code the steps for applying K Sigma and extracting LSL and USL for all the cols
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
cols = {"PNP2", "NPN2", "PNP3", "IVP1", "PNP4"};
New Window( "",
<<Type( "dialog" ),
For Each( {mct, id}, cols,
dis = Distribution(
Uniform Scaling( 1 ),
Stack( 1 ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Continuous Distribution( Column( Eval( mct ) ) )
);
dis << Fit All;
scb = Report( dis )[Outline Box( "Compare Distributions" ), Table Box( 1 ), String Col Box( 1 )];
bestdist = scb[1];
eval(parse("dis << Fit "|| bestdist |||"(Process Capability( Set sigma multiplier for quantile spec limits( 3 )))"));
)
);