A question about outliers and the boxplot() function in R

I am interested in investigating the presence of outliers in the following sample (burritos):

burritos <- c(645, 645, 646, 656, 660, 667, 671, 673, 677, 679, 682, 683, 684, 687, 690, 695, 698, 698, 699, 700, 702, 705, 710, 712, 716, 717, 722, 727, 736, 738, 759, 760, 771, 771, 774, 775, 781, 782, 809, 849)

The following is easily obtained:

enter image description here

If we investigate the presence of outliers using Tukey’s fences, we conclude that:

enter image description here

Therefore, I expected the observation “849” to appear as an outlier in the following boxplot:

enter image description here

Why is this outlier not detected? Is it because the observations are discrete? Or because they are drawn from a normal distribution? Thank you for your help.

Take Your Experience to the Next Level

New

Download our mobile app for a faster and better experience.

Comments

0
U

Join the discussion

Sign in to leave a comment

0:000:00