Hello Statalists,
I need to dynamically demean a time series by the following backward looking rolling window of forty quarters:
That is, I need to replace each observation with the observation itself minus the mean computed in a rolling window of 10 years.
Can you help me please?
Giacomo
I need to dynamically demean a time series by the following backward looking rolling window of forty quarters:
That is, I need to replace each observation with the observation itself minus the mean computed in a rolling window of 10 years.
Can you help me please?
Giacomo
Comment