16.13
W programie Microsoft Excel obliczenie mediany, rozstępu interkwartylowego i utworzenie wykresów pudełkowych może pomóc w zrozumieniu rozkładu danych.
…Rozważmy następujące trzy zestawy danych. Teraz zaznacz je razem, wybierz opcję Wstaw, wybierz pozycję Wstaw wykres statystyczny, a następnie Pudełko i Wąsy.
Na wykresie skrzynkowym linia środkowa jest medianą lub drugim kwartylem danych. Krawędzie ramki wskazują pierwszy i trzeci kwartyl. Na koniec punkty skrajne pokazują minimalne i maksymalne wartości w wybranym zakresie danych.
W programie Microsoft Excel mediana danych jest określana za pomocą funkcji MEDIANA.
Podobnie wartości minimalne i maksymalne są określane za pomocą funkcji MIN i MAX.
Dwie różne funkcje — KWARTYL. EXC i KWARTYL. INC — zwraca wartości kwartyla.
Funkcja KWARTYL. Funkcja EXC nie obejmuje punktów końcowych ani minimalnych i maksymalnych wartości danych w celu obliczenia kwartyli. Wybierz zakres danych dla tablicy, a następnie wybierz 1, 2 lub 3 dla kwarty, aby uzyskać wartości pierwszego, drugiego i trzeciego kwartyla.
Funkcjonować QUARTLE. INC uwzględnia cały zakres wartości. W tym miejscu wybierz wartość 0, 1, 2, 3 lub 4 dla wartości kwarty, aby uzyskać wartości minimalne, pierwszy kwartyl, mediana, trzeci kwartyl i wartości maksymalne.
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.