Closed etoumey closed 5 years ago
How do you do it? I don't know. Panda supposedly has a function and it is applied below. Right now just using a moving average for PMC.
https://sites.google.com/site/hardwaremonkey/blog/ewmafilterexmpleusingpandasandpython
I think EWMA should be calculated recursively following:
Today's CTL = Yesterday's CTL + (Today's TRIMP - Yesterday's CTL)/(time)
Where time is the duration of the moving average
Recursively implemented
How do you do it? I don't know. Panda supposedly has a function and it is applied below. Right now just using a moving average for PMC.
https://sites.google.com/site/hardwaremonkey/blog/ewmafilterexmpleusingpandasandpython