Statistics and Probability
An unordered set is a set where the order of the elements does not matter. Without replacement means that you can not pick the same element more than once.
Theory
Combinations
When you draw elements from a set of elements, you call the number of possible distributions the combinations.
Note! The order does not matter!
Example 1
You’re planning on going to college after high school, and decided to apply to the University of California. The university has 1700 courses, and each student is assigned five courses at random each semester.
- 1.
- In how many ways can you be given five courses in your first semester?
- 2.
- Out of all the courses offered by the university, you’ve found 25 that you really like. What’s the probability that all five of the courses you’re given are among those?
- 1.
- In this case the order does not matter, which means each distribution of courses is a combination. That means the number of ways your first semester can look like is given by
- 2.
- The probability of getting each course is equal, so you can use uniform probability. That gives you
different ways all your courses are among the courses you like. You found the total number of possible outcomes in Exercise 1, so the probability of all the five courses being the ones you like becomes
You could say that it’s a good idea to let the students choose their own courses, and not get their education based on the results of a lottery!
Example 2
In a class of 20 students, 5 of the students are chosen to form a study group. There are 7 boys and 13 girls in the class.
- 1.
- How many outcomes have three girls and two boys?
- 2.
- What is the probability of the outcome consisting of one girl and four boys?
Because we’re talking about the composition of groups, and not what order they’re chosen in, this is an unordered set.
- 1.
- In this case, you’re not interested in specific boys or girls, only that there are three girls and two boys. That means you have a case where the order does not matter, which tells you that each outcome is a combination. That makes the number of outcomes that have three boys and two girls
- 2.
- Since there’s an equally large probability of a random girl being chosen as a random boy being chosen, just with different numbers of girls and boys in each group, you can use uniform probability. The number of favorable outcomes becomes