WHAT'S GOOD ABOUT JMP
JSL (JMP Scripting Language) is a great tool to ensure reproducibility of your analysis. While it requires some learning for you to be fluent, fortunately, JMP lets you do some analysis with GUI and get a script to reproduce it by clicking the "Get Script" option. This is essential for both learning JSL and making efficient use of it. JSL offers multiple ways to achieve a single task.
THE PROBLEM
"Get Script" of most platforms gives you a kind of JSL that's not very popular, the one with "SendToReport" and "Dispatch". For example, the following is a script suggested in "Scripting Platforms" Chapter of the Scripting Guide:
Open( "$SAMPLE_Data/Big Class.jmp" ); // I added this line
oneObj = Oneway( Y( :height ), X( :age ), Each Pair( 1 ), Means( 1 ), Mean Diamonds( 1 ) ); oneObj << Unequal Variances( 1 );
rep = Report( oneObj ); rep["Oneway Anova"] << Close( 1 ); rep["Means Comparisons"] << Close( 1 );
Running this script, you will get a Oneway platform with a nice graph.
Now, you select "Get Script" from the red triangle menu of the report and get the below:
Oneway( Y( :height ), X( :age ), Each Pair( 1 ), All Graphs( 0 ), Means( 1 ), Unequal Variances( 1 ), Composition of Densities( 1 ), Mean Diamonds( 1 ), Std Dev Lines( 1 ), SendToReport( Dispatch( {}, "Oneway Anova", OutlineBox, {Close( 1 )} ), Dispatch( {}, "Means Comparisons", OutlineBox, {Close( 1 )} ) ) );
This is completely different from the one suggested in the Scripting Guide, and is generally less easy to master.
SUGGESTED IMPROVEMENT
I wish JMP allows the user to choose the type of JSL to be produced.
For those who regularly use "Save Script" for reproducible analysis, this would be a tremendous time saver.
... View more