Closed junhyk closed 5 years ago
I think it has a local optimal problem in solving trend extraction. Have you tried normalization (to set the mean value of series as "0") ?
and it is true that RobustSTL can highly depends on the first value. (because it sequentially sovle the convex optimization problem.)
I guess normalization works a bit. Thanks for your insight :)
Thank you for using my codes. For you information (in my experience), RobustSTL algorithm suffer when abnormal patterns are many or repeated in same season (in here, when abnormal patterns occurs consecutively).
In addition, i think your data contain lots of peak values and no seasonality. Then, just smoothing + 3 sigma can be effective way to detect outliers.
Hi, I've tried to test your great code with other samples. And I found the trend is always highly dependent on the first value of the samples Note that since my sample is non-seasonal I manually set
seasons_tilda
as zeros Do you have any idea?Thanks