SASUnit Examples  Version 1.5.0
boxplot.sas File Reference

Create boxplot for two groups. More...

Go to the source code of this file.

Detailed Description

Create boxplot for two groups.

Specification for chart:

  • two overlayed boxplots, one per group, the two plots shall be slightly offset for readability.
  • boxplot for the smaller value of &group has gray color with dashed median line
  • boxplot for the greater value of &group has black color with continuous median line
  • lower border of boxes are at 25th percentile, higher border at 75th percentile
  • whiskers shall be drawn from maximum and minimum value
  • labels for variables &x und &y shall be written to the axes
  • there shall be a legend for the group variable
  • report format ist PDF
Version
$Revision: 315 $
Author
$Author: klandwich $
Date
$Date: 2014-02-28 10:25:18 +0100 (Fr, 28 Feb 2014) $
See Also
For further information please refer to SASUnit User's Guide
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/example/saspgm/boxplot.sas $
Parameters
datainput data sets
xvariable for x axis, must be numeric and equidistant und must have at least two values, missing values are not allowed
yvariable for y axis, must be numeric
groupvariable for grouping, must be dichotomous, missing values are not allowed
reportoutput report file (file name extension must be pdf)

Definition in file boxplot.sas.