cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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