Outlier detection of time series data in R [closed]

江枫思渺然 提交于 2019-12-03 15:04:23

问题


What are the steps needed to detect outliers in business sales data (which means there might be trends and seasonality) in R?

I have learnt about ACF, PACF, residual, ARIMA model (basically, time series analysis and modelling). Can I use this knowledge to help me identify outliers?

Is it also possible to ask R to pinpoint which point of data is outlier?

Thank you very much.


回答1:


You may have a look at the following packages available in R.

The R package forecast uses loess decomposition of time series to identify and replace outliers.

The R package tsoutliers implements the Chen and Liu procedure for detection of outliers in time series. A description of the procedure and the implementation is given in the documentation attached to the package. You may also see this post.



来源:https://stackoverflow.com/questions/24750819/outlier-detection-of-time-series-data-in-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!