Series Generation - Moving Median
Posted: Wed Mar 30, 2016 6:20 am
Hi,
My panel database is composed by the daily number of stocks traded (volume) for 139 companies in the past 8 years (2243 days * 139 companies)
For each company i need to compute the following indicator:
Indicator = log(volume) - log(median(volume(-1 to -20)).
In other words, what i am missing is a moving median, and as far as I understand, there is no such function in Eviews 9. Any workaround?
Many thanks! :)
My panel database is composed by the daily number of stocks traded (volume) for 139 companies in the past 8 years (2243 days * 139 companies)
For each company i need to compute the following indicator:
Indicator = log(volume) - log(median(volume(-1 to -20)).
In other words, what i am missing is a moving median, and as far as I understand, there is no such function in Eviews 9. Any workaround?
Many thanks! :)