cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

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

Recommended Articles