in reply to Need technique for generating constrained random data sets
Your use of sd seems to indicate you are thinking of Standard Deviation for your boundaries.
Know then that a Standard Deviation is not a hard boundary and that is perfectly OK for an individual value to be outside the mean + or - the Standard Deviation.
Chebyshev stated that at least 50% of the values in your set will be within 1.4 standard deviations from the mean. As a corrolary, this means that upto 50% of your values may be more than 1.4 times the Standard Deviation away from your mean. It probably also means that you cannot have a flat distribution for your data if you have to simulate a certain Standard Deviation.
But then again perhaps you did not think of Standard Deviation at all when asking this question!
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need technique for generating constrained random data sets
by xdg (Monsignor) on Feb 07, 2007 at 22:41 UTC | |
|
Re^2: Need technique for generating constrained random data sets
by GrandFather (Saint) on Feb 08, 2007 at 09:02 UTC |