I would like to evenly distribute groups of values (such that each group has the closest possible average value +/- standard deviation).
Hypothetical Example: heart rate in 12 patients = 110, 105, 140, 117, 119, 90, 100, 122, 148, 102, 99, 130. I would like to divide the patients into 3 groups of 4 people/group and want to ensure that the average group values are similar across the 3 groups based on average heart rate plus/minus standard deviation.
In reality, I will be dealing with 50-100 values and will need flexibility as to the number of groups (e.g. 85 patients into 6 groups or 52 patients into 3 groups, etc).
This could be done by hand but maybe there is an easier Excel solution? Thanks all!
Bookmarks