Simple arithmetic with scipy.stats.distributions
Hi, I was wondering if anyone else would interested in having some simple arithmetic functionality for 'distributions'? So that for example you could add distributions, then sample from them, get the pdf/cdf etc. I've hacked something together for my own purposes, but it seems like it be nice general functionality? Cheers, Padarn
Hi, On Sun, Nov 24, 2013 at 11:41 AM, Padarn Wilson <padarn@gmail.com> wrote:
Hi,
I was wondering if anyone else would interested in having some simple arithmetic functionality for 'distributions'? So that for example you could add distributions, then sample from them, get the pdf/cdf etc.
I agree. I for one would love to have a NumPy equivalent of the `sample` function in R.
I've hacked something together for my own purposes, but it seems like it be nice general functionality?
Have you hosted your code anywhere?
Cheers, Padarn
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev
-- JD
On Sun, Nov 24, 2013 at 5:49 AM, Jaidev Deshpande <deshpande.jaidev@gmail.com> wrote:
Hi,
On Sun, Nov 24, 2013 at 11:41 AM, Padarn Wilson <padarn@gmail.com> wrote:
Hi,
I was wondering if anyone else would interested in having some simple arithmetic functionality for 'distributions'? So that for example you could add distributions, then sample from them, get the pdf/cdf etc.
How do you want to do that or what do you have in mind here? some analytical calculations or Monte Carlo propagation? https://pypi.python.org/pypi/soerp looks interesting (based on browsing it's documentation)
I agree. I for one would love to have a NumPy equivalent of the `sample` function in R.
What does this do that we don't have yet in numpy ? np.random.choice ? Josef
I've hacked something together for my own purposes, but it seems like it be nice general functionality?
Have you hosted your code anywhere?
Cheers, Padarn
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev
-- JD _______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev
participants (3)
-
Jaidev Deshpande -
josef.pktd@gmail.com -
Padarn Wilson