For the latest version of JMP Help, visit JMP.com/help.


Scripting Guide > Scripting Platforms > Scripting Considerations by Platform > Set Specification Limits in Distribution Scripts
Publication date: 04/21/2023

Set Specification Limits in Distribution Scripts

You can set specification limits using the Spec Limits column property or using the Spec Limits argument in JSL:

dt = Open( "$SAMPLE_DATA/Cities.jmp" );
dt << Distribution(
	Column( :OZONE ),
	Fit Distribution(
		Weibull(
			Spec Limits( LSL( 0.075 ), Target( 0.15 ), USL( 0.25 ) )
		)
	)
);

To set specification limits using K Sigma normal probabilities, use the Set Spec Limits for KSigma message. The first argument to the message is the value of K Sigma. By default, the limits are two-sided. To make them one-sided, use the optional sided argument. Specify sided=1 for LSL only and sided=2 for USL only.

dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = Distribution( Column( :CO ) );
obj << Fit Distribution(
	LogNormal( Set Spec Limits for KSigma( 3 ) )
);
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).