Questions tagged [boxplot]

A graphical display to summarize the distribution of a sample. It displays five numbers plus (possibly) some outliers - those five points being the median, hinges (approximate quartiles), and the largest and smallest value not counting any points marked as outliers.

Filter by
Sorted by
Tagged with
4 votes
3 answers
455 views

Why use bar chart with error whiskers instead of box plot?

Bar charts with error whiskers, like the one below (taken from What type of plot is it?), seem to be quite common in some communities. I wonder, however, why is a bar chart used, and not a box plot? ...
  • 6,840
3 votes
2 answers
346 views

What type of plot is it?

Here is the plot ,which I do not know what type of plot it is. It is so similar to box plot, but it does not have first quartile. How we can find mean and standard deviation using this plot? UPDATE: ...
0 votes
0 answers
25 views

Boxplots show the same results of different log fold change

I have multiple cancer drug datasets, with genes as rows and samples as columns. I am checking the difference in genes expression between the Response and ...
0 votes
1 answer
26 views

Boxplot whisker don't match the calculated values [closed]

Here are my data points: ...
0 votes
1 answer
28 views

Boxplots t tests and Bonferroni correction

I'm comparing three groups: people that have had two infections, people that have had one infection and people that have had zero infections. I'm showing them on a boxplot (regarding age for example) ...
7 votes
2 answers
635 views

Is a boxplot useful, when it doesn't even look like a box?

I want to visualize some data with a boxplot -- and I am wondering, if the boxplot is even the correct way for visualizing the data. I want to compare three datasets (40 entries each) using boxplots. ...
  • 171
0 votes
1 answer
69 views

Visualize distribution (box plots like) with many and extreme outliers?

I have values with extreme outliers and want to visualize that. But the box plot doesn't seem a good choice for my data as you can see here. Most of the values are less than 50,000. But some them are ...
  • 203
23 votes
5 answers
2k views

How should we do boxplots with small samples?

This question is inspired by this posting, plus a comment by @StephanKolassa and an answer by @dipetkov who point out that the boxplots presented in that question are misleading. As is pointed out, ...
  • 16.7k
1 vote
1 answer
61 views

How to use box plots to detect outliers?

Suppose for simplicity that we have Gaussian distributed data with some outliers, whose typical characteristic is getting values that are far from the mean. Suppose my sample size is ...
  • 703
1 vote
1 answer
50 views

What is the best plot I can do to understand true values vs errors in prediction in a regression problem?

I am facing a regression problem and I would like to understand how my errors distrubuite along the true values I have. For the moment, I have done this scatterplot: but I want a plot that directly ...
7 votes
4 answers
1k views

Visualize a continuous variable against a binary variable

I want to visualize a continuous variable, BMI index, against a binary variable, heart disease. I want to check by visualization ...
1 vote
1 answer
29 views

May the cumulative distribution function be used to calculate the inter-quartile range and vise-versa?

May the cumulative distribution function be used to estimate the inter-quartile range? I am drawing their similarities. The IQR is found via a boxplot which has percentiles. A percentile comes from ...
1 vote
1 answer
32 views

IQR range in boxplot

I'm having a look at altair docs, and I don't understand why, in the last two groups (85 and 90), that have a very low IQR, they have similar whiskers than in the first group, where the IQR of the ...
1 vote
0 answers
20 views

How to use side-by-side boxplots to assess assumptions of a 2 sample test?

Here is the context: So we can analyse this using a 2 sample t tests. The assumptions of t-test comparing the means of two independent samples are populations being compared should follow normal ...
0 votes
1 answer
23 views

Interpreting boxplot VS stacked histogram in example

I understand what a boxplot and histogram are supposed to show, but I'm a bit confused on how it is being presented in this graphic printout from R. The picture is taken from Beyond Multiple Linear ...
3 votes
1 answer
228 views

Box Plot Upper Fence is greater than Max

Hi is it normal for the upper fence to be greater than max? If not, what might have gone wrong? I am using Empirical Rule and doing calculation mean +3 * IQR Thanks
  • 33
0 votes
0 answers
93 views

Ggplot geom_boxplot showing incorrect upper whisker and additional outlier

I am not sure why my boxplot created with ggplot geom_boxplot is showing an incorrect upper whisker and showing the data point (value = 7) as an outlier for "Male" grouping red boxplot. I ...
  • 1
5 votes
1 answer
132 views

How can I test whether one empirical CDF is to the left or right of another?

I am currently working with a box plot (shown below) that consists of two boxes per value of one of the independent variables (call it $x$). The other independent variable is indicated by the two ...
  • 3,179
2 votes
2 answers
164 views

SIgnificant P-Value with overlapping boxplots

I'm confused about some of the results I got after plotting my data. I have a data set that includes tests scores and a binary group assignment of either polypharmacy or non-polypharmacy. the scores ...
  • 21
0 votes
1 answer
85 views

How do I determine if differences between medians are statistically significant when notches are very close (see "C" and "D")?

Regarding "C" and "D": Is there a way other than visually inspecting the notches from the boxplots? I know the range of values for "D" is lower than "C" and the ...
0 votes
0 answers
39 views

Graphic representation of averages

I have a series of averages. One of these however turns out to take too high a value due to a N. low equal to 1. Let me explain better by means of an example: I have to calculate the averages of the ...
0 votes
0 answers
44 views

Representing MAE and standard deviation for multiple models over multiple bins in python?

I have 21 regression models. I am plotting MAE and Standard deviation of models using a errorbar plot in python. However, if I bin the data (say 10 bins), and for each bin now I can calculate MAE, ...
0 votes
0 answers
20 views

An appropriate alternative for box plots of grouped data with a median of 1

Having visualised my data using a box plot, it's apparent that I should find a better visual representation of my data, but I'm left wondering what it should be. I am trying to visualise the number of ...
1 vote
1 answer
228 views

mean + 95 % confidence intervall versus boxplots

I am wondring about the use of boxplots versus mean with 95 % in a figure? A boxplot will give you median and you can add a notch to show the 95 % CI for the median so it is quick and easy to compare ...
  • 11
1 vote
2 answers
533 views

How can I see Kurtosis in a box plot?

How do I know whether a distribution is leptokurtic or platykurtic by only having the box plot?
1 vote
1 answer
1k views

How to use a boxplot with grouping and multiple variables

I am trying to create a graph in R that has 7 variables on the x axis, and size on the y axis. Each variable has 2 treatments and sex (drug 1/2 & M/F). I am struggling to understand how to: ...
0 votes
0 answers
151 views

Detecting and dealing with outliers in a sales prediction dataset of "Rossmann"

I have been working on a dataset for which the task is to forecast the sales of the drug sold by 1115 drug stores of the Rossmann chain. The dataset is fairly large with over 1m records and as many as ...
1 vote
1 answer
70 views

Proper way to compute stats of multiple box plots

If I have 10 sample distributions that I've calculated the box plots for, what is the proper way to summarize that into a single box plot? I should add that the sample distributions are not drawn from ...
-1 votes
1 answer
39 views

I want help to explain boxplot

I want help to explain this boxplot I generated data from this code set.seed(1234); a4 = matrix(rnorm(10*200, 1,1), 200); boxplot(a4) I only see 10 samples ...
0 votes
0 answers
114 views

What does it mean when 25th percentile, median and 75th percentile are the exact same value?

I am trying to study the distribution of a variable, tax rate. When I calculate some stats and make some plots, I notice that the 25th, median, and 75th percentile are the exact same value. ...
  • 488
1 vote
0 answers
55 views

Power transformation & pearson's correlation - how to interpret?

In the first phase of my analysis, I had transformed a skewed variable (normality violated, heterogeneity of variance violated) using a power transform (x^-2) to be able to conduct parametric tests. ...
0 votes
1 answer
189 views

What exactly does standard deviation mean in this dataset, and how do I go about generating it in another?

I'm trying to add error bars to a boxplot in R. I need sd/se and all of the instructions I can find that I can understand have datasets with sd/se already calculated, like so: My dataset is set up ...
  • 79
0 votes
0 answers
40 views

Box and Whisker plot - dots over the box

I have a box and whisker plot, and I am unable to understand the meaning of the dots over the box. In the following example, I understand that outliers are the data points which do not "fit" ...
  • 101
1 vote
0 answers
66 views

Creating box plots from a count (or frequency) table

I have a census data where the number of population at each age is indicated and I am trying to create a box plot for the age of the entire population. At first I tried to repeat the 'age' by the ...
0 votes
2 answers
137 views

How to name and treat such a distribution of extreme values / outliers?

In this sample data I have 4600 teenagers with their telephone calling frequency per week. Most of them are "normal" (max 5) but some are extreme with up to 75 calls per week. I learned to ...
  • 203
3 votes
2 answers
77 views

What does the "mass" of a box plot mean?

By “mass” I mean the size of the two subretangles that make up the box in a standard box plot. I thought the mass quantified the observations below and above the median but if it did so every box plot ...
1 vote
1 answer
448 views

why does ggplot show outliers but no whiskers?

I created the following plot in R (ggplot2). But I don't know how to interpret the third boxplot. From the documentation: 'The upper whisker extends from the hinge to the largest value no further than ...
  • 13
0 votes
1 answer
511 views

What does it mean if there are values outside the bounds of confidence interval?

My apologies if this is too basic, I am beginner in this. I have computed the following results where the highlighted region represents the rolling confidence interval using mean and standard ...
  • 69
1 vote
1 answer
60 views

Maximum possible outliers for a Box-Whisker-Plot

I am aware of the definition for outliers in a Box-Whisker-Plot: 𝑞1−𝑘×IQR 𝑞3+𝑘×IQR with IQR := 𝑞3−𝑞1 The question at hand is: (Maximum) How many outliers are possible in a Box-Whisker-Plot for ...
  • 11
2 votes
1 answer
572 views

Alternative to boxplot when there are many outliers

I have a distribution than has an extremely wide range but has a gaussian shaped narrow peak inside of it. If I plot this data with boxplots I get a small box with small whiskers and many outliers of ...
0 votes
1 answer
69 views

layman's interpretation of a boxplot

Is it wrong to conclude from the following boxplot that a passenger is more likely to experience flight delays on Thursdays and Fridays? If so, why? Note: negative delays mean early departure. Image ...
1 vote
0 answers
69 views

Visualising Gantt chart distribution

I perform $n$ simulations of operations planning. I can plot a gantt chart for each simulation, but I am interested in visualising the variability of the whole simulation set : I want a Gantt ...
  • 1,727
0 votes
1 answer
88 views

Remove dependency from a dependent variable

I am tasked with doing some exploratory data analysis on the Diamond dataset from the library(Ecdat) in R. The assignment states:...
0 votes
0 answers
16 views

How can I use Boxplots to find patterns in each box data?

I have represented my dataset in Boxplot 1 in order to check if there is patterns in meals consumption within each age group. What I can see, is that there is a kind of patterns in each age group, ...
  • 21
1 vote
0 answers
133 views

Alternative for boxplot with log-x scale

I am analyzing the behavior of a distribution with a logarithmic x-scale on a pretty large range. Initially, I thought using boxplots might be a good idea to understand how the data behaved, but now I ...
2 votes
1 answer
445 views

How to plot a box plot that accounts for the effect of another factor?

I am analyzing the effect of sampling month (5 different months), sampling time (day/night) and sampling location (5 different sites) on the effect of species richness using a linear model in R. All ...
  • 147
0 votes
1 answer
68 views

Analyse relationship between categorical feature vs continuous target

In a regression problem, I am trying to analyse the relationship between categorical predictors vs continuous target variable, therefore I opted for plotting with a box plot, but can not infer ...
1 vote
0 answers
107 views

Determining scale issues covariance

Background for Question A tibble: 6 x 4 This was given to us. I produced a bivariate/matrix scatterplot using pairs command and got the following (as well as a boxplot): QUESTION: Could scale be an ...
1 vote
1 answer
38 views

p value for monthly trend

I have a distribution of values for each of 12 months. When I draw the boxplots (one boxplot for each month) the median gradually increases, but the boxes overlap. Which test do I have to use in order ...
  • 597
3 votes
1 answer
155 views

Perform linear regression after box plot. Is that possible?

I am currently investigating a dataset with a visible linear relationship between the considered variable (Look at the red dots in the figure). However, the linear regression results are not good due ...

1
2 3 4 5