cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XI

Graph Builder - Summary Statistics - select aggregation column?

Points plot in Graph builder provides an option to calculate summary statistics.

By default, points with same x value are aggregated into one value.

 

Is there an option to select another column to specify groups of point which get aggregated?

e.g. to display the median height/weight for different ages - with one click.

 

hogi_0-1691658929731.png

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
	Size( 437, 413 ),
	Summary Statistic( "Median" ),
	Graph Spacing( 4 ),
	Variables( X( :height ), Y( :weight ), Overlay( :sex ) ),
	Elements(
		Points( X, Y, Legend( 1 ), Summary Statistic( "Median" /* ,by(:age)*/ ) ),
		Smoother( X, Y, Legend( 2 ) )
	)
)
0 REPLIES 0