Counting Rules Flashcards
You have a set of n objects that you want to place without replacement
n * (n-1) * (n-2) *…*2*1 = n!
You have a set of n objects that you want to place in r spots in a given order.
nPr = n!/ (n-r)!
You have a set of n objects from which you want to place r of them in any order.
nCr = n!/(r!(n-r)!)
Multiplication Rule (or Sausage rule)
imagine you have k “bags” with n1,n2,…,nk objects inside respectively.
Then the number of ways of forming a set by selecting an element from each “bag” is :
n1*n2*…*nk
Birthday problem
key: S contains n-vectors such that each entry of the vector represents the possible birthday of a SINGLE person.
Fish-in-the-lake
Use: when there is two or more types of objects
Where:
- N = total number of objects
- n = size of the sample
- a = number of tagged objects in total
- x = number of tagged objects in sample