Detrending is removing a trend from a time series; a trend usually refers to a change in the mean over time. When you detrend data, you remove an aspect from the data that you think is causing some kind of distortion.
To detrend a time series you first need to estimate the trend and there is multiple ways to do that
- moving average method
- parametric regression
- non parametric regression
my question is how do we know which method gives us the best estimation for the trend ? in other word , if we conduct all these methods what are the caractiristics that tells us which is the best estimator