Skip to content

Conversation

mortada
Copy link
Contributor

@mortada mortada commented Sep 26, 2013

Currently for the exponentially weighted moving functions (ewma, ewmstd, ewmvol, ewmvar, ewmcov) there are two ways (span, center of mass) to specify how fast the exponential decay is. It would be nice to support a "half life" option as well.

The half life is basically just the number of periods in which the exponential weight drops to one half, i.e.,

(1 - \alpha)^h = 0.5, h: half life

@jreback
Copy link
Contributor

jreback commented Sep 29, 2013

can you add an entry in doc/source/release.rst (reference this PR, but use the issue tag), enhancements section. thanks

@mortada
Copy link
Contributor Author

mortada commented Sep 29, 2013

I've added an entry to the release.rst for this, thanks!

@jreback
Copy link
Contributor

jreback commented Sep 29, 2013

gr8. can you squash down to a single commit?
https://github.com/pydata/pandas/wiki/Using-Git

@mortada
Copy link
Contributor Author

mortada commented Sep 29, 2013

Sure it's squashed down to a single commit now

jreback added a commit that referenced this pull request Sep 29, 2013
added halflife to exponentially weighted moving functions
@jreback jreback merged commit 166d857 into pandas-dev:master Sep 29, 2013
@jreback
Copy link
Contributor

jreback commented Sep 29, 2013

thanks!

@mortada mortada deleted the halflife branch April 25, 2015 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants