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

Probably density from soerp #2

Open
Padarn opened this issue Dec 9, 2013 · 2 comments
Open

Probably density from soerp #2

Padarn opened this issue Dec 9, 2013 · 2 comments
Milestone

Comments

@Padarn
Copy link

Padarn commented Dec 9, 2013

Hi there,

I was just wondering if there is an easy way to use the result of soerp operations as random variables. For example

x=N(0,1)
y=N(1,2)
z=x+y

Then, can I get the pdf of z easily?

EDIT: Actually I see now (from a plot message) that this is not yet possible.

Did you have anything in mind about how you might go about doing this? Something like edgeworth expansions?

@tisimst
Copy link
Owner

tisimst commented Dec 10, 2013

I've been wanting to implement this for a while now, but I haven't been able to get around to it yet.

There are definitely some ways to go about it, primarily with matching distribution moments to some flexible distribution's moments, like the Generalized Lambda Distribution (GLD), the Pearson family of distributions, or the Johnson family of distributions. I have looked into this a couple of times, but I haven't found a really good solution yet that doesn't require a massive record of data tables for matching moments, though it may come down to that. I wish it were easier.

Have you tried my other package MCERP? It's a Monte Carlo approach to error propagation and it is far more capable and can plot both inputs and outputs, estimate probabilities, induce correlations, etc.?

I still plan on addressing this issue because its a fundamental feature that should be available, in my opinion. Thanks for bringing it up!

@Padarn
Copy link
Author

Padarn commented Dec 18, 2013

Hi tisimst, sorry for the delayed response.

I was actually hoping to use the package as a means of quickly doing some approximate convolutions. I'm guessing you could do this with MCERP, but I think it might be a little slow for my purposes. I'll have a look though, cheers!

@cdeil cdeil added this to the 0.10 milestone Oct 29, 2018
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

3 participants