cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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