in reply to how can i generate random numbers with predefined mean and standard deviation
Math::Random has exactly what you need,
Being random, that does not guarantee the the sample you get will have exactly that mean and sd, just close.use Math::Random; my @randoms = random_normal 1000, 250, 20;
If you need a distrubution other than normal, Math::Random has many to choose from.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |