Skip to content

added halflife to exponentially weighted moving functions #4998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 29, 2013

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