We start with some basic definitions:
A sample space is the set of all possible outcomes of an experiment.
An event is a subset of the sample space.
Under the naïve definition of probability, the probability of a given event A occurring is expressed as
P(A)=# favorable outcomes# possible outcomes
assuming all outcomes are equally likely in a finite sample space.
With the multiplication rule, if we have an experiment with n1 possible outcomes; and we have a 2nd experiment with n2 possible outcomes; ..., and for the rth experiment there are nr possible outcomes; then overall there are n1n2...nr possible outcomes (product).
Let's say you are ordering ice cream. You can either get a cone or a cup, and the ice cream comes in three flavors. The order of choice here does not matter, and the total number of choices is 2×3=3×2=6. This can be represented with a very simple probability tree.
The binomial coefficient is defined as
(nk)={n!(n−k)!k!if 0≤k≤n0if k>nThis expresses the number of ways you could choose a subset of size k from n items, where order doesn't matter.
Choose k objects out of n
ordered | unordered | |
---|---|---|
w/ replacement | nk | ??? |
w/o replacement | n(n−1)(n−2)…(n−k+1) | (nk) |
Out of the 4 ways of choosing k objects out of n, the case of unordered, with replacement is perhaps not as clear-cut and easy to grasp as the other three. Move on to Lecture 2.
View Lecture 1: Probability and Counting | Statistics 110 on YouTube.