sandbox.distributions.extras.pdf_moments()

statsmodels.sandbox.distributions.extras.pdf_moments

statsmodels.sandbox.distributions.extras.pdf_moments(cnt) [source]

Return the Gaussian expanded pdf function given the list of central moments (first one is mean).

Changed so it works only if four arguments are given. Uses explicit formula, not loop.

Notes

This implements a Gram-Charlier expansion of the normal distribution where the first 2 moments coincide with those of the normal distribution but skew and kurtosis can deviate from it.

In the Gram-Charlier distribution it is possible that the density becomes negative. This is the case when the deviation from the normal distribution is too large.

References

http://en.wikipedia.org/wiki/Edgeworth_series Johnson N.L., S. Kotz, N. Balakrishnan: Continuous Univariate Distributions, Volume 1, 2nd ed., p.30

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.distributions.extras.pdf_moments.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部