Hello,
Sorry for the generic title - I'm not really sure what to call my problem (I also hope it's in the correct forum).
I have 10 samples, each with a normalised weighting. The problem is I want to generate 10 more samples as "children" from the initial samples - but I want the weighting to effect how many children a sample has. For instance, if my sample weightings are as follows:
0, 0.1, 0.2, 0.2, 0.5, 0.6, 0.9, 1.0, 1.0, 1.0
Then the corresponding number of children may be:
0, 0, 0, 1, 1, 1, 1, 2, 2, 2
The exact number isn't of much importance as long as they add up to 10 and are representative of the original sample weightings (this problem would be easy without the sample size constraint).
If someone could even just put a name to this problem for me or point me to some similar solutions I would greatly appreciate it!
Thanks for your time (and I apologise if this is a daft, trivial question - I'm afraid I'm no mathematician!),
-Ben