Scripting Guide > Scripting Platforms > Scripting Considerations by Platform > Set Specification Limits in Distribution Scripts
发布日期: 09/18/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 ) )
);
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).