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
Jflood
Level II

JSL Test Mean

Trying to script a Test Means function in the ANALYZE DISTRIBUTION.  I have populated spec limits with target from a separate data.  Is there a way to script this either using the stored Target from column properties or from the sheet I loaded the column properties from so I don't have to hardcode the test to value.   I am surprised that there does not appear to be a way to just use this value when doing this manually.  jmp 18.2.2

 

Edit (jthi): Added jsl formatting

Distribution(
	Continuous Distribution(
		Column(:"46_F (mm)"n),
		Process Capability(Use Column Property Specs),
		Test Mean(141.88, Wilcoxon Signed Rank(1))
	)
);
1 ACCEPTED SOLUTION

Accepted Solutions

Re: JSL Test Mean

This script shows how you can retrieve a spec limit property and pass a desired value as an input to a means test 

 

dt = Open( "$SAMPLE_DATA/Tablet Production.jmp" );

dt:Dissolution << Set Property(
	"Spec Limits",
	{LSL( 70 ), Target( 72.5 ), Show Limits( 0 )}
);

specproperty = dt:Dissolution << Get Property( "Spec limits" );

dt << Distribution(
	Continuous Distribution(
		Column( :Dissolution ),
		Process Capability( 0 ),
		Test Mean( specproperty["Target"] )
	)
);

View solution in original post

3 REPLIES 3

Re: JSL Test Mean

This script shows how you can retrieve a spec limit property and pass a desired value as an input to a means test 

 

dt = Open( "$SAMPLE_DATA/Tablet Production.jmp" );

dt:Dissolution << Set Property(
	"Spec Limits",
	{LSL( 70 ), Target( 72.5 ), Show Limits( 0 )}
);

specproperty = dt:Dissolution << Get Property( "Spec limits" );

dt << Distribution(
	Continuous Distribution(
		Column( :Dissolution ),
		Process Capability( 0 ),
		Test Mean( specproperty["Target"] )
	)
);
Jflood
Level II

Re: JSL Test Mean

Thaks Mark works for me!

jthi
Super User

Re: JSL Test Mean

If this is a feature you would like to have (and JMP doesn't currently have it), you can make a post to JMP Wish List

-Jarmo

Recommended Articles