16.13
In Microsoft Excel kunt u de mediaan, interkwartielafstand en het maken van boxplots gebruiken om de distributie van uw gegevens te begrijpen.
Mediaan…
Consider the following three datasets. Now, select them together, select the Insert option, select Insert Statistic Chart, and then Box and Whisker.
In a boxplot, the central line is the data's median or second quartile. The box edges indicate the first and the third quartiles. Lastly, extreme points show the minimum and maximum values in the selected data range.
In Microsoft Excel, the data median is determined using the function MEDIAN.
Similarly, the minimum and maximum values are determined using MIN and MAX functions.
Two different functions — QUARTILE.EXC and QUARTILE.INC — return the quartile values.
Function QUARTILE.EXC excludes the endpoints or the minimum and maximum values of the data to calculate quartiles. Select the data range for the array, and select 1, 2, or 3 for a quart to get the first, second, and third quartile values.
Function QUARTLE.INC considers the entire range of values. Here, select 0, 1, 2, 3, or 4 for the quart values to get the data's minimum, first quartile, median, third quartile, and maximum values.
View the full transcript and gain access to JoVE Core videos
Q1: What does the central line in a box plot represent?
The central line in a box plot represents the median, also called the second quartile, which is the middle value of your dataset. In Microsoft Excel, you calculate the median using the MEDIAN function applied to your data range. This line divides the data into two equal halves.
Q2: How do you calculate quartiles in Excel using QUARTILE.EXC and QUARTILE.INC?
QUARTILE.EXC excludes minimum and maximum values when calculating quartiles; use values 1, 2, or 3 to get the first, second, or third quartile. QUARTILE.INC includes the entire data range; use values 0 through 4 to get minimum, Q1, median, Q3, and maximum. Both functions require your data range and a quart parameter.
Q3: What do the box edges represent in a box plot?
The box edges indicate the first quartile (Q1) on the left and the third quartile (Q3) on the right. The distance between these edges represents the interquartile range, which measures how spread out the middle 50% of your data is. This visual representation helps identify data variability and distribution shape.
Q4: How are minimum and maximum values shown in a box plot?
Extreme points in a box plot show the minimum and maximum values in your selected data range. These are displayed as the endpoints of the whiskers extending from the box. In Excel, use the MIN and MAX functions to determine these values before creating your box plot visualization.
Q5: What does the interquartile range measure in your data?
The interquartile range (IQR) measures data spread by calculating the difference between the third quartile (Q3) and first quartile (Q1): IQR = Q3 - Q1. This value represents the range containing the middle 50% of your observations, providing insight into data concentration and variability independent of extreme values.
Q6: How do outliers appear in an Excel box plot?
Outliers appear as individual dots beyond the whiskers in an Excel box plot when extreme values exist in your dataset. These points represent data values that fall outside the typical range, helping you quickly identify unusual observations. Box plots are valuable for detecting data skewness, variability, and outliers in statistical analysis.
Q7: What steps do you follow to create a box plot in Excel?
To create a box plot in Excel, select your datasets, choose Insert, select Insert Statistic Chart, then select Box and Whisker. Excel automatically calculates the median, quartiles, and minimum and maximum values. The resulting visualization displays the IQR as the box, whiskers as the data range, and any outliers as dots beyond the whiskers.