16.13
Microsoft Excel では、中央値、四分位範囲を計算し、箱ひげ図を作成すると、データの分布を理解するのに役立ちます。
中央値と四分位範囲: 中央値は、データ セットの中央値を提供する数式 `=MEDIAN(範囲)' を使用して計算されます。四分位は、データを 4 つの均等な部分に分割します…
次の 3 つのデータセットについて考えてみます。次に、それらを一緒に選択し、[挿入] オプションを選択し、[統計グラフの挿入] を選択し、[ボックス アンド ウィスカー
] を選択します。箱ひげ図では、中心線はデータの中央値または第 2 四分位数です。ボックスの端は、第 1 四分位数と第 3 四分位数を示します。最後に、極値は、選択したデータ範囲の最小値と最大値を示します。
Microsoft Excelでは、データの中央値は関数MEDIANを使用して決定されます。
同様に、最小値と最大値は、MIN 関数と MAX 関数を使用して決定されます。
2 つの異なる関数 — QUARTILE.EXC と QUARTILE.INC — 四分位値を返します。
関数 QUARTILE。EXC は、四分位数を計算するために、データの端点または最小値と最大値を除外します。配列のデータ範囲を選択し、クォートの 1、2、または 3 を選択して、第 1、2、3 の四分位値を取得します。
機能QUARTLE。INC は、値の全範囲を考慮します。ここでは、クォート値に 0、1、2、3、または 4 を選択して、データの最小値、第 1 四分位数、中央値、第 3 四分位数、および最大値を取得します。
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.