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

[feature request] The pareto case #68

Open
lrnv opened this issue Oct 27, 2023 · 1 comment
Open

[feature request] The pareto case #68

lrnv opened this issue Oct 27, 2023 · 1 comment

Comments

@lrnv
Copy link

lrnv commented Oct 27, 2023

The Pareto case could be handled by using the fact that if $X$ is Pareto-dsitributed with minimal value $m$ and shape index $\alpha$, then

$$Y = log(X) - log(m)$$ is exponentially distributed with rate parameter $\alpha$. Therefore, for any function $f$,

$$\mathbb E(f(X)) = \mathbb E(f(m * e^Y))$$

and we can re-use the quadrature scheme of $Y$, which follows a Exponential(\alpha) distribution.

@arnavs
Copy link
Member

arnavs commented Nov 3, 2023

Thanks @lrnv, this is great and actionable.

I'm sure the Pareto distribution would be super useful for economists. I'll have a look into it, or if you'd like to implement a PR, that would be great!

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

2 participants