# 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.

228 questions
Filter by
Sorted by
Tagged with
122 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
22 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 ...
70 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 ...
• 2,936
62 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
38 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 ...
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 ...
15 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, ...
15 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 ...
• 509
1 vote
35 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
220 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
105 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: ...
79 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
27 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 ...
• 113
36 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 ...
37 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. ...
• 480
1 vote
45 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. ...
57 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 ...
• 69
31 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
45 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 ...
80 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 ...
• 63
54 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 ...
• 887
1 vote
243 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
292 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
65 views

### kruskal-wallis and boxplots interpretation

This is an example. Let's say in my investigation I am collecting online text data. I have a software that automatically collects text according to specific categories. I have to select the best ...
• 15
1 vote
32 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
368 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 ...
• 123
63 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 ...
• 127
1 vote
47 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,717
44 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:...
14 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, ...
1 vote
86 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 ...
312 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 ...
• 137
53 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
90 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
37 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
90 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 ...
17 views

### 3d plot superstore data [duplicate]

How to make out of the below dataset a very meaningful/insightful 3D Plot. I mean, which variables you will pick up, plus, which 3D plot you will choose? Also, if you can add the same for the boxplot.
• 83
1 vote
65 views

### negative skew and positive medcouple

I have below case where I see contradicting medcouple and skewness value : Now, from the box plot, it is clear that the data has negative skewness but the medcouple shows slight positive skewness. Am ...
• 225
320 views

### R: remove outliers from boxplot or qq-plot?

I am running a regression model, and I need to delete outliers. However, when I ran a boxplot, it asked me to delete at least 100 datas (I only have 700 datas in total). Both y and x variables are ...
• 33
387 views

### What is a medcouple?

What is a medcouple? I understand that it is the median of a couple of data points but it is not clear to me what these pairs of data actually are. E.g. https://wis.kuleuven.be/stat/robust/papers/2008/...
• 299
1 vote
352 views

### How can I use the box plot to explain the Empirical Rule for a normal distribution?

I am wondering if I can use the box plot to explain the Empirical Rule for a normal.distribution. I don't know if the Empirical Rule can be explaines using the box plot or not, but I just looked at ...
• 2,585
1 vote
81 views

### Boxplot giving only points and no boxes [closed]

I have plotted two boxplots side by side from two different datasets in the same plot. I made some transformations first they had different number of observations. ...
5k views

### What is the defintion of variation in a box plot?

Variation is a term I have always been confused with. The first time I heard it, it was defined as "the different between the max and min values in a distribution". Lately, I've been hearing ...
• 201
56 views

### What action to do after visualizing box plot of variables of a dataset

I have a dataset that contains 23 features, these features model the web traffic of two protocoles. Some features are extracted and the other are statistically calculated features. I want to build a ...
1 vote
39 views

### determine the value of the mean using whisker plot

how can i determine the mean using box plot? also can we know which series has the highest mean value ?
• 31
4k views

### Figuring out skewness from a boxplot

How do you define the skewness in this case? My understanding is exactly the opposite from what I have read. What I have read As the box plot is towards the lower end it is rightly skewed. and it will ...
1 vote
18 views

### How are notches calculated for boxplots that represent non-parametric data?

I was interested in finding the theory behind the formula used to calculate where notches are to be placed in a boxplot to signify 95% confidence interval, which is median +/- 1.57*IQR/sqrt(n). An ...
• 11
85 views

### Formal Statistical Test Equivalent to Comparing Box Plots

I have a data set consisting of a continuous feature compared to a discrete, categorical feature. Currently, I have generated a stacked box plot for each dependent category comparing the values of ...
• 121
1 vote
89 views

### How to explain a Box Plot?

Assuming that I'm able to augment their knowledge about boxplot I can give the below insights for box plot ...
• 2,391