Re: Distribution Platform - Set Spec Limits for KSigma

Community Trekker

Joined:

Jan 19, 2012

I want to run the Distribution Platform with the Set Spec Limits for KSigma message on many datasets. I've found the section in the Scripting Guide, and the information in the Scripting Index that apply. However, I have a situation where there is only an upper limit. When I set Sided = 1, it gives me only the lower limit. Is there a way to force only an upper limit?

Example:

``````Distribution(
Continuous Distribution(
Column( :Y ),
Outlier Box Plot( 0 ),
Fit Distribution(
Weibull with threshold(
Set Spec Limits for KSigma( 4 , Sided = 1)
)
)
)
)``````

1 ACCEPTED SOLUTION

Accepted Solutions

Staff

Joined:

Apr 7, 2014

Solution

It looks like the scripting index is incorrect.  Try using the following to get a USL only:

Example:

``````Distribution(
Continuous Distribution(
Column( :Y ),
Outlier Box Plot( 0 ),
Fit Distribution(
Weibull with threshold(
Set Spec Limits for KSigma( 4 , Sided = 2)
)
)
)
)``````

The scripting index should say, "The optional sided argument is 1 for one-sided, LSL only, or 2 for one-sided, USL only."  There is no needed to have the optional "sided" argument for 2-sided spec limits.

2 REPLIES

Staff

Joined:

Apr 7, 2014

Solution

It looks like the scripting index is incorrect.  Try using the following to get a USL only:

Example:

``````Distribution(
Continuous Distribution(
Column( :Y ),
Outlier Box Plot( 0 ),
Fit Distribution(
Weibull with threshold(
Set Spec Limits for KSigma( 4 , Sided = 2)
)
)
)
)``````

The scripting index should say, "The optional sided argument is 1 for one-sided, LSL only, or 2 for one-sided, USL only."  There is no needed to have the optional "sided" argument for 2-sided spec limits.

Highlighted

Community Trekker

Joined:

Jan 19, 2012

Laural,

Yes! That worked. Thanks so much!