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
In reply to Re: Need technique for generating constrained random data sets
by CountZero
in thread Need technique for generating constrained random data sets
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |