in reply to Re: Skew normally distributed random numbers
in thread Skew normally distributed random numbers
The idea is to produce random numbers within a specified range, but with a skewed average. What you describing wil not only transform the average, but also the range.
Eg. random numbers in the 0 .. 100 will, over time, tend towards an average of 50. If the desired average was say 75, then your math will produce a set of values in the range:
( 0 - 50 + 75 ) .. ( 100 - 50 + 75 ) := 25 .. 125
Which will tend towards the desired average, but is the wrong range. (I did a similar thing with my first attempt above).
The transformation required is not linear, but statistical.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Skew normally distributed random numbers
by fglock (Vicar) on Jan 28, 2005 at 13:05 UTC | |
by BrowserUk (Patriarch) on Jan 28, 2005 at 13:23 UTC | |
by fglock (Vicar) on Jan 28, 2005 at 13:36 UTC | |
by BrowserUk (Patriarch) on Jan 28, 2005 at 13:49 UTC | |
by BrowserUk (Patriarch) on Jan 28, 2005 at 15:27 UTC | |
by fglock (Vicar) on Jan 28, 2005 at 16:38 UTC | |
by Anonymous Monk on Jan 28, 2005 at 17:05 UTC |