For a research project I am working on, I need to generate a set of random (or pseudo-random) data (say 10,000 datum) with the following parameters:
- Maximum value = 35;
- Minimum Value = 1.5;
- Mean = 9.87;
- Standard Deviation = 3.1;
Now clearly this distribution will look somewhat like that generated with
scipy.stats.maxwell.rvs(locs=1.5,scale=3.1)
However this does not give the necessary mean or max value. Is there an a possible solution to this?
Aucun commentaire:
Enregistrer un commentaire