The JMP14 lets us to use the by group parameter like this Col Quantile(name, p, <ByVar>).
However the JMP12 only allows Col Quantile(name, p). Any suggestions that I can modify the code to make it work like JMP14? many thanks
The Summarize() is a great way to get statistics for groups. This example illustrates how it might be used. Doe this example help?
Names Default to Here( 1 ); dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); Summarize( group = By( :age ), mu = Mean( :weight), sigma = Std Dev( :weight ), B10 = Quantile( :weight, 0.1 ) ); Show( mu, sigma, B10 );
How would you use this function? In a script? In a column formula?
If you need to summarize data otherwise, then you could use the Tables > Summary command or the Analyze > Tabulate command.
I am going to use it in a script.
Yep this would work. Thanks Mark