For the latest version of JMP Help, visit JMP.com/help.


Publication date: 05/05/2023

Box Plot

In Graph Builder, the Box Plot element Image shown here shows outlier or quantile box plots. A box plot provides a compact view of a distribution of values. The box extends from the 25th percentile to the 75th percentile where the distance between the 75th and 25th percentiles is the interquartile range (IQR). The median is marked within the box. For outlier box plots, whiskers extend to the last point that is within 1.5*IQR from the ends of the box. For quantile box plots the whiskers cover the full range of observations with tick marks at specific quantiles. For more information about outlier and quantile box plots, see Outlier Box Plot and Quantile Box Plot in Basic Analysis.

If one of the variables is continuous and the other is nominal or ordinal, box plots are constructed for values of the continuous variable. There is a box plot for each level of the categorical variable.

If both variables are continuous, box plots are constructed for values of the continuous variable on the axis specified as the Response Axis. There is a box plot for each level of the other continuous variable.

For an example of a graph using box plots, see Example of Graph Builder.

Figure 3.33 Box Plot Options 

Box Plot Options

Jitter

Turns jitter on or off. Jitter adds random noise to data, and can help reduce over-plotting.

Outliers

Shows or hides values that extend beyond the whiskers.

Box Type

Specifies whether the box plot is an outlier box plot or a quantile box plot.

Box Style

Changes the style the box plot. For box style descriptions, see Table 3.3.

5 Number Summary

Adds statistics like the median, maximum, minimum, and quantiles 1 and 3 to the graph. To change the position, right-click in the graph and select Customize > Text.

Width Proportion

adjusts the width of the box plots.

Variables

Shows or hides graph elements for variables, or re-orders the display of variables.

Note: These options do not apply to variables in the Group X, Group Y, Wrap, or Page zones.

Check boxes are followed by the zone designation and the name of the variable. Use check boxes to do the following:

Show or hide the elements corresponding to a variable in a zone.

Add or remove the effect of applying the Color, Size, Shape, or Freq variable to the variable in the zone.

Tip: If you have multiple graphs, you can color or size each graph by different variables. Drag a second variable to the Color or Size zone, and drop it in a corner. In the Variables option, select the specific color or size variable to apply to each graph.

Use arrows to re-order the display if there are multiple variables in a zone. Highlight a variable name and click an arrow to reposition it.

For an example using Variables, see Example of an Area and Line Chart.

Red Triangle Options for Box Plots

Confidence Diamond

Shows or hides a confidence diamond about the mean. The diamond covers the 95th confidence interval for the mean.

Notched

Displays a box plot that is notched at the median where the notches span:

Equation shown here

Fences

Shows or hides vertical lines, or fences, at the end of the box plot whiskers.

Shortest Half

Shows or hides a bracket that indicates the location of the shortest interval that contains 50% of the data.

Shortest Half Color

Enables you to select a color for the shortest half bracket.

Response Axis

(Available only when the X and Y axes variables both have a continuous modeling type.) Specifies the axis for the variable that is used as the response in constructing the box plots. Available only when both variables have a continuous modeling type. If only one variable is continuous, its axis is the response axis. The Auto setting is the Y axis.

Box Placement

(Available with grouping variables.) Enables you to align or offset the box plots.

Tip: When you have a categorical grouping variable for your box plot, right-click on the categorical axis and select Size By > Count to draw box plots that are proportional to the number of observations in each category.

Table 3.3 Box Styles and Descriptions

Box Style

Description

Normal

Shows the box defined by the quartiles as hollow with only a line at the median.

Image shown here

Solid

Shows the box defined by the quartiles with solid fill. The line at the median is shown by white space.

Image shown here

Thin

The box defined by the quartiles is not shown. It is discernible due to the whiskers. The median is denoted by a point.

Image shown here

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).