If I have 5 groups called a,b,c,d,e. And I randomly assign these five groups to 20 people. What is the odds that there will be 4 people in each group?
Or more specificially how many times do I have perform this cacluation until there are exactly 4 people in each group?
What then is the odds if I have 20 different dates. So 20 people and 20 dates how many times will I have to perform that calculation to get exactly 4 people in each group on each day.
Spot on.
I put into excel and it gives me 95,367,431,640,625.
If I put into excel I get 305,540,235,000.
So if I have total combinations but only want
then does give me the odds of getting the combination I want. Which gives me 312.
So I have a 312 to 1 chance of getting the combination I want for each day.
But this has to match for 20 separate days. So I'm assuming which gives too large for me to comprehend.
Basically I have a programme running a loop checking all these combinations. So it has to do loops to find a valid combination?
1,000 loops took 72 seconds. So will my programme take years to find 1 single valid combination???
After reading your remarks in another thread about school children, I wonder if you need probability.
There are ways to assign twenty people to five groups of exactly four each.
The difference here is that the groups are not labeled.
Above you were labeling the groups as . That is what we call an ordered partition.
But something like ‘play-groups’ form an unordered partition because the groups are driven by content alone.
The name of the group does not matter, only who is in the group matters.