Simple PROC BOXPLOT example

This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post.

Here’s a simple PROX BOXPLOT showing how to produce Box and Whisker graphs in SAS. data presidents; input name $ cm 3.; datalines; George_W_Bush 183.1 George_W_Bush 182.9 George_W_Bush 183.3 George_W_Bush 188.3 Barrack_Obama 188.0 Barrack_Obama 188.9 Barrack_Obama 187.5 Barrack_Obama 180 /* a terrible measurement */ Lyndon_Johnson 192.3 Lyndon_Johnson 192.1 Lyndon_Johnson 191.6 ; proc boxplot data=presidents; plot […]

This post was kindly contributed by Heuristic Andrew » sas - go there to comment and to read the full post.