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:
If we investigate the presence of outliers using Tukey’s fences, we conclude that:
Therefore, I expected the observation “849” to appear as an outlier in the following boxplot:
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
NewDownload our mobile app for a faster and better experience.
Comments
0Join the discussion
Sign in to leave a comment


