Way*_*yne -1 r outliers boxplot
根据我对离群值的理解,最大线上方的点是离群值,但是我如何找到实际上是离群值的点,因为我不认为所有假定的离群值实际上都是离群值?
根据这篇与我的记忆相符的文章,胡须的计算方式为(伪代码):
\n\nupper whisker = min(max(x), Q_3 + 1.5 * IQR)\nlower whisker = max(min(x), Q_1 \xe2\x80\x93 1.5 * IQR) \nRun Code Online (Sandbox Code Playgroud)\n\n胡须之外的任何点都被视为异常值。
\n\n如果您想检查异常点,您可以指定 的输出boxplot并查看out如果您想检查异常点,您可以按照帮助页面的建议
\n\n\nRun Code Online (Sandbox Code Playgroud)\nout: the values of any data points which lie beyond the extremes\n of the whiskers.\n
就像是
\n\nupper whisker = min(max(x), Q_3 + 1.5 * IQR)\nlower whisker = max(min(x), Q_1 \xe2\x80\x93 1.5 * IQR) \nRun Code Online (Sandbox Code Playgroud)\n