16.13
No Microsoft Excel, calcular a mediana, o intervalo interquartil e criar gráficos de caixa, ou diagramas de caixa, pode ajudar a entender a distribuiç…
Considere os três conjuntos de dados a seguir. Agora, selecione-os juntos, selecione a opção Inserir, selecione Inserir gráfico estatístico e, em seguida, Caixa e bigode.
Em um boxplot, a linha central é a mediana ou o segundo quartil dos dados. As bordas da caixa indicam o primeiro e o terceiro quartis. Por fim, os pontos extremos mostram os valores mínimo e máximo no intervalo de dados selecionado.
No Microsoft Excel, a mediana dos dados é determinada por meio da função MEDIAN.
Da mesma forma, os valores mínimo e máximo são determinados usando as funções MIN e MAX.
Duas funções diferentes — QUARTIL. EXC e QUARTIL. INC — retorna os valores de quartil.
Função QUARTIL. EXC exclui os pontos finais ou os valores mínimo e máximo dos dados para calcular quartis. Selecione o intervalo de dados para a matriz e selecione 1, 2 ou 3 para um litro para obter os valores do primeiro, segundo e terceiro quartis.
Função QUARTLE. INC considera todo o intervalo de valores. Aqui, selecione 0, 1, 2, 3 ou 4 para os valores de litro para obter os valores mínimo, primeiro quartil, mediana, terceiro quartil e máximo dos dados.
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.