I am trying to detect a positively increasing trend in a time series data,
to
which when I apply the rolling mean it almost turns into a step wave
function. The sharp rise in slope of rolling mean is an indication of
positive trend, thus the rolling mean becomes like a step wave function.
Is there a way or package to automatically detect the sharp increase in
slope?
-P
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.