Skip to content
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

Truncated pareto #201

Open
AlexanderFengler opened this issue Jun 8, 2021 · 0 comments
Open

Truncated pareto #201

AlexanderFengler opened this issue Jun 8, 2021 · 0 comments

Comments

@AlexanderFengler
Copy link

I became interested in pymc2's truncated pareto distribution for some random (no pun intended) reason.

In the context of checking for its implementation here, I found that the doc string seems to provide the wrong equation for the pdf (it seems the fortran code is actually doing the right thing after all though).

I think it should read,
f(x \mid \alpha, m, b) = \frac{\alpha m^{\alpha} x^{-\alpha - 1}}{1-(m/b)**{\alpha}}

instead of,
f(x \mid \alpha, m, b) = \frac{\alpha m^{\alpha} x^{-\alpha}}{1-(m/b)**{\alpha}}

in the docstring.

As per here.

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

No branches or pull requests

1 participant