numpy.random.pareto actually samples from a Lomax distribution for some ungodly reason (see docs). I could see a couple ways to handle this in Squigglepy:
When sampling, convert the Lomax to a Pareto
Keep using Lomax, and explain in the docstrings for ParetoDistribution/sample_pareto that it's actually Lomax (maybe also change the names)
I went with the first fix because a Pareto distribution works better for an upcoming PR I am writing for Squigglepy (which is much more fun than this one). IMO a Lomax distribution makes more sense for most real-world purposes but it's harder to work with mathematically and it's not used as often.
numpy.random.pareto
actually samples from a Lomax distribution for some ungodly reason (see docs). I could see a couple ways to handle this in Squigglepy:I went with the first fix because a Pareto distribution works better for an upcoming PR I am writing for Squigglepy (which is much more fun than this one). IMO a Lomax distribution makes more sense for most real-world purposes but it's harder to work with mathematically and it's not used as often.