连老师,您好!
我注意到一篇论文的离群值处理方法:“Observations of the series with absolute median deviations larger than 6 times the inter quartile range were replaced with the median value of the preceding 5 observations”
我理解该方法采用了两步骤:
1)不同于讲义,此处upper adjacent = p50+6IQR,lower adjacent = p50-1.5IQR
2) 需要用离群值前5个观测值的平均值来替换该离群值。
此做法与您讲义中提到的有所不同。想请教我的理解是否正确?您能否指点一下如何处理?特别是第2)步如何做。
非常感谢您的指点!