I learned how to generate a list of random numbers with fixated range, mean and sd from this answer Javascript: Generate random numbers with fixed mean and standard deviation, yet I also learned that math.random() does not follow a normal distribution. My problem is if it is possible to generate a list of random numbers following a normal distribution with a fixed range, mean and sd? i.e., randomly draw 10 numbers from a normal distribution ranging from 2 to 100; the mean should be 20 and sd should be 10?
Aucun commentaire:
Enregistrer un commentaire