Boxplots display interquartile range boxes by default. You can add other types of boxes to an existing boxplot.

Interquartile range boxes

Interquartile range boxes on a boxplot represent the middle 50% of the data. The whiskers extend to the maximum and minimum data points within 1.5 box heights. For example, the following boxplot displays interquartile range boxes that represent the heights for plants grown with three different fertilizers.

Interquartile range boxes appear by default on boxplots. To edit interquartile range boxes, select and double-click the boxes that you want to edit. For more information on selecting boxes, go to Select groups and single items on a graph.

Edit the appearance of the boxes
On the Attributes tab, you can edit the fill type, fill color, line type, and line color of the selected boxes.
Tip

To change the default settings and attributes for graph elements, choose Tools > Options > Graphics.

Edit the box endpoints
On the Options tab, under Box Endpoints, select one of the following:
  • Quartiles: (default) Display the box bottom at the 1st quartile (25th percentile) and box top at the 3rd quartile (75th percentile).
  • Hinges: Like quartiles, hinges measure the middle half of the data, but they are calculated differently. In practice, the hinges may be a bit closer to the median than the quartiles are, but in most cases this difference is not noticeable unless the data set is very small.
  • Percentile: Use percentiles to define the bottom and top of the box. Enter a percentile between 0 and 50.
Remove the whiskers
On the Options tab, under Whiskers, select None.
Edit the box widths
On the Options tab, select Box width proportional to sample size to make the width of each box proportional to the square root of the sample size.
Note

If you are using a boxplot with groups, you can also assign attributes to the interquartile range boxes based on the groups in your data. For more information, go to Display groups on graphs.

Range boxes

Range boxes on a boxplot extend from the minimum value to the maximum value. For example, the following boxplot displays range boxes, and within the range boxes, interquartile range boxes. The boxes represent the heights for plants grown with three different fertilizers.

To add range boxes to an existing graph, click the graph and choose Editor > Add > Data Display. To edit range boxes, select and double-click the boxes that you want to edit. For more information on selecting range boxes, go to Select groups and single items on a graph.

Edit the appearance of the boxes
On the Attributes tab, you can edit the fill type, fill color, line type, and line color of the selected boxes.
Tip

To change the default settings and attributes for graph elements, choose Tools > Options > Graphics.

Edit the box widths
On the Options tab, select Box width proportional to sample size to make the width of each box proportional to the square root of the sample size.

Median confidence interval boxes

Median confidence interval boxes display the 95% confidence intervals (by default) for the median. For example, the following boxplot displays median confidence interval boxes within interquartile range boxes. The median confidence interval boxes represent the 95% confidence intervals for median of the heights of plants grown with three different fertilizers.

To add median confidence interval boxes to an existing graph, click the graph and choose Editor > Add > Data Display. To edit boxes, select and double-click the boxes that you want to edit. For more information, go to Select groups and single items on a graph.

Edit the appearance of the boxes
On the Attributes tab, you can edit the fill type, fill color, line type, and line color of the selected boxes.
Tip

To change the default settings for graph elements, choose Tools > Options > Graphics.

Edit the confidence level

(Not available for marginal plots) On the Options tab, in Confidence level, enter the level of confidence for the confidence interval. Usually, a confidence level of 95% works well. A 95% confidence level indicates that, if you take 100 random samples from the population, the confidence intervals for approximately 95 of the samples will contain the median.

Show the whiskers
(Not available for marginal plots) On the Options tab, under Whiskers, select Show.
Edit the box widths
(Not available for marginal plots) On the Options tab, select Box width proportional to sample size to make the width of each box proportional to the square root of the sample size.
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy