Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
wsande
Level I

Number of points in a Variability chart

I have a standard Variabilty chart, and I woiuld like to somehow see the number of points in each group.  Is there a way to do this?variability_plot_sample.png

6 REPLIES 6
Highlighted
andersonmj2
Level IV

Re: Number of points in a Variability chart

Under the menu there is the 'Variability Summary' which gives you the summary statistics and also at the end the number of observations per subgroup - so if you have 5 x-axis levels you will get a cluster for each nested level set.
Highlighted
wsande
Level I

Re: Number of points in a Variability chart

I was hoping to display the number of points on the chart, similar to "Show Counts" on a histogram.

Highlighted
txnelson
Super User

Re: Number of points in a Variability chart

You should submit this request to the JMP Wish List
Jim
Highlighted
vince_faller
Super User

Re: Number of points in a Variability chart

If you don't need to do variability charts specifically, you can do similar stuff in graph builder. 

 

Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << Graph Builder(
	Size( 528, 454 ),
	Show Control Panel( 0 ),
	X Group Edge( "Bottom" ),
	Variables( Y( :height ), Group X( :age ), Group X( :sex ) ),
	Elements(
		Points( Y, Legend( 10 ) ),
		Caption Box( Y, Legend( 9 ), Summary Statistic( "N" ) ),
		Box Plot( Y, Legend( 11 ) )
	)
);

Non-Variability.png

 

Vince Faller - Predictum
Highlighted
andersonmj2
Level IV

Re: Number of points in a Variability chart

And to follow on Vince's excellent suggestion, if you do it in Graph Builder without the script, you can simply Add-.Caption Box, and in the Control Panel under Summary Statistic, the top item is N.

Highlighted
wsande
Level I

Re: Number of points in a Variability chart

Thanks for all the helpful answers! 

Article Labels

    There are no labels assigned to this post.