BookmarkSubscribe
Choose Language Hide Translation Bar
wsande
Occasional Contributor

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

0 Kudos
6 REPLIES 6
andersonmj2
Community Trekker

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.
wsande
Occasional Contributor

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.

0 Kudos
txnelson
Super User

Re: Number of points in a Variability chart

You should submit this request to the JMP Wish List
Jim
0 Kudos
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
andersonmj2
Community Trekker

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.

0 Kudos
wsande
Occasional Contributor

Re: Number of points in a Variability chart

Thanks for all the helpful answers! 

0 Kudos