Suggest a crate for probability distributions

Who can suggest a good crate with probability distributions like Exponential, Gamma, Poisson and so on? From the crate I need some probability moments, like mean, median, and functions like PDF, CDF, PPF. Something like scipy.stats from the Python world.

I tried to play with statrs, but it has inaccurate calculations at some points and seems outdated since there have been no commits to master for 10 months.

1 Like

Would rv give you what you want?

Disclaimer: I work for the company that produced this, though I did not write it myself.

1 Like

Yes, it looks exactly like what I need. I'll give it a shot.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.