JSL Test MeanTrying 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))
)
);
Automation and ScriptingBasic Data Analysis and ModelingData Exploration and VisualizationQuality and Process EngineeringRe: JSL Test MeanThis 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"] )
)
);Re: JSL Test MeanIf 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
Re: JSL Test MeanThaks Mark works for me!