Study Notes on Hypergeometric Probability and Probability Theory

Permutations versus Combinations

Probability calculations are often built upon the foundation of counting techniques learned in previous lectures: permutations and combinations.

  • Permutations (Order Matters):

    • Permutations are used when a specific sequence or order of elements is required.

    • Sports Race Example: Consider a race with 1212 athletes where the first three finishers receive gold, silver, and bronze medals. In this scenario, the order of the winners is critical; a specific trio winning in the order (A, B, C) is a different outcome than (B, A, C) because the medals assigned are unique.

    • Formula for Permutations (Pn,rP_{n, r}):     P(n,r)=n!(nr)!P(n, r) = \frac{n!}{(n-r)!}

    • Evaluating the race example: to distribute 33 unique medals among 1212 athletes, we calculate:     12!(123)!=12!9!\frac{12!}{(12-3)!} = \frac{12!}{9!}

    • The numerator (12!12!) represents the permutations if all 1212 athletes were given unique medals. We divide by 9!9! (the number of permutations for the remaining athletes who do not receive medals) to isolate the permutations of the prize winners.

  • Combinations (Order Does Not Matter):

    • Combinations are used when the selection of a group is important, regardless of the sequence of selection.

    • Team Selection Example: From a group of the top 55 athletes, 22 are randomly selected for a national team. Selecting person A then person B results in the same team as selecting person B then person A.

    • Formula for Combinations (Cn,rC_{n, r} or "n choose r"):     (nr)=n!r!(nr)!\binom{n}{r} = \frac{n!}{r!(n-r)!}

    • This formula includes an extra division by r!r! compared to permutations because the number of internal sequences among those chosen does not matter; they all form a single group.

Hypergeometric Probability: Conceptual Framework

Hypergeometric probability is a specific calculation determining the likelihood of certain outcomes when drawing from a population without replacement.

  • Drawing Without Replacement: This is a defining characteristic. Once an item (or person) is selected from the pool, they are not returned. This means they cannot be selected twice in the same sample.

  • Success and Failure Vocabulary: In mathematics, specific outcomes of interest are termed "successes" and others "failures." This nomenclature is strictly technical and carries no moral or qualitative judgment.

The Smoker Case Study: Step-by-Step Calculation

Consider a small population of 99 persons: 44 smokers and 55 non-smokers. A sample of 33 persons is chosen randomly. The goal is to find the probability that exactly 11 smoker and 22 non-smokers are chosen.

  • Step 1: Total possible samples. Determine the total ways to choose 33 people from 99. Since order does not matter, we use combinations:     (93)=9×8×7×6×5×4×3×2×1(3×2×1)×(6×5×4×3×2×1)=84\binom{9}{3} = \frac{9 \times 8 \times 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1}{(3 \times 2 \times 1) \times (6 \times 5 \times 4 \times 3 \times 2 \times 1)} = 84     There are 8484 possible combinations.

  • Step 2: Probability of a single sample. Assuming no bias (every person has an equal chance of selection), every one of the 8484 possible samples has an equal probability:     P(each sample)=184P(\text{each sample}) = \frac{1}{84}

  • Step 3: Calculating target combinations. Find how many ways to pick specifically 11 smoker and 22 non-smokers.

    • Ways to choose 11 smoker from 44 available: (41)=4\binom{4}{1} = 4

    • Ways to choose 22 non-smokers from 55 available: (52)=10\binom{5}{2} = 10

    • The total number of desired combinations is the product of these two (the "and" rule for combinations):     4×10=404 \times 10 = 40

  • Step 4: Final Probability. Multiply the number of desired combinations by the probability of each sample:     P(X=1)=40×1840.476P(X=1) = 40 \times \frac{1}{84} \thickapprox 0.476     This is equivalent to 47.6%47.6\%.

Generalizing the Hypergeometric Formula

To apply this to any scenario involving drawing without replacement, let:

  • NN = Total Population size.

  • kk = Total number of successes available in the population.

  • NkN - k = Total number of failures in the population.

  • nn = Sample size.

  • xx = Number of successes in the sample.

  • nxn - x = Number of failures in the sample.

The Hypergeometric Formula: P(X=x)=(kx)(Nknx)(Nn)P(X=x) = \frac{\binom{k}{x} \binom{N-k}{n-x}}{\binom{N}{n}}

  • Structural Consistency: In the numerator, the sum of the top symbols in the combinations (k+(Nk)k + (N-k)) equals the total population NN. The sum of the bottom symbols (x+(nx)x + (n-x)) equals the sample size nn. This logic can be extended to populations with more than two categories of items.

Probability Tree Representation

A probability tree can visualize the smoker example by mapping outcomes branch by branch (first person, second person, third person).

  • Branching and Dependencies: Because there is no replacement, the probabilities change at each step. If the first person chosen is a smoker (probability 4/94/9), there are only 33 smokers left out of 88 remaining people for the second draw.

  • Multiplication Rule (AND): When moving from left to right along a branch (e.g., Smoker AND Non-Smoker AND Non-Smoker), multiply the probabilities.     P(S and NS and NS)=49×58×47P(S \text{ and } NS \text{ and } NS) = \frac{4}{9} \times \frac{5}{8} \times \frac{4}{7}

  • Addition Rule (OR): To find the total probability of an outcome that can occur via different sequences (Smoker first, Smoker second, or Smoker third), calculate the probability for each path and add them together. Since each sequence has the same numerical outcome, the result is 3×0.1587...=0.4763 \times 0.1587... = 0.476.

Works Council Case Study: Complex Hypergeometric Application

Scenario Details: A company has 8080 employees.

  • 5050 are full-time (FT).

  • 3030 are part-time (PT).

  • 3636 are junior workers (1818 FT and 1818 PT).

  • 4444 are senior workers (3232 FT and 1212 PT).

  • A council of 55 members is chosen at random without replacement.

Calculating Exactly One Part-Timer: Using the hypergeometric formula, we distinguish between PT (success) and FT (failure).

  • Sample size (nn) = 55

  • Population size (NN) = 8080

  • Total PT (kk) = 3030

  • Total FT (NkN-k) = 5050

  • Desired PT in sample (xx) = 11

  • Desired FT in sample (nxn-x) = 44

P(Exactly 1 PT)=(301)(504)(805)P(\text{Exactly 1 PT}) = \frac{\binom{30}{1} \binom{50}{4}}{\binom{80}{5}}

Calculating At Least One Part-Timer (The Complementary Rule): Calculating at least one involves summing the probabilities of having 1,2,3,4, or 51, 2, 3, 4, \text{ or } 5 part-timers. This is tedious and prone to error.

  • The Complementary Rule: The sum of all possible outcomes equals 11 (100%100\%). Therefore, the probability of at least one is 11 minus the probability of zero.     P(at least 1 PT)=1P(0 PT)P(\text{at least 1 PT}) = 1 - P(0 \text{ PT})

  • In this calculation, we look for samples of 55 where all members are FT:     P(0 PT)=(300)(505)(805)P(0 \text{ PT}) = \frac{\binom{30}{0} \binom{50}{5}}{\binom{80}{5}}

Fundamental Concepts of Probability Theory

  • Random Experiment: A process where the outcome is uncertain but can be repeated under identical circumstances (e.g., flipping a coin, rolling a die).

  • Outcome Space (Sample Space SS): A finite or infinite set containing all possible simple events. For flipping a coin twice: S={HH,HT,TH,TT}S = \{HH, HT, TH, TT\}.

  • Event: A subset of the outcome space.

    • Simple Event: A single outcome (e.g., getting exactly Heads and then Tails).

    • Event (Complex): A collection of outcomes (e.g., "at least one tails" in two flips includes HT,TH, and TTHT, TH, \text{ and } TT).

The Three Definitions of Probability

  1. Classical Definition (Laplace): Based on theoretical symmetry. The probability of event A is the number of simple events in A divided by the total number of simple events in the sample space. This assumes all outcomes are equally likely (e.g., a fair die).

  2. Relative Frequency Definition: Based on observation. The probability is estimated by repeating an experiment many times (e.g., 10,00010,000 times) and determining the percentage of times the event occurs. This is used if a die or coin is biased.

  3. Subjective Definition: Based on prognosis or expert opinion for events that cannot be repeated (e.g., presidential election outcomes). Probability may vary between different observers or surveys.

Core Rules of Probability

  • Rule 1 (Range): Probabilities must always fall between 00 and 11.

    • P(A)=0P(A) = 0 means the event never happens.

    • P(A)=1P(A) = 1 means the event always happens.

    • Negative probabilities or values greater than 11 are mathematically impossible and indicate calculation errors.

  • Rule 2 (Total Probability): The sum of probabilities for all possible mutually exclusive outcomes in the sample space must equal 11.     P(S)=1P(S) = 1

Questions & Discussion

  • Question: What happens if the selection is done with replacement?

  • Answer: If items are replaced after being chosen (e.g., selecting the same person for a council twice or choosing the same multiple-choice answer across Different questions), the probabilities remain constant for each draw. This scenario follows a Binomial Probability distribution, which will be discussed in the next lecture.

  • Question: Is the classical formula (elements in Aelements in S\frac{\text{elements in A}}{\text{elements in S}}) practical for exams?

  • Answer: Yes, it is used in specific contexts. For example, when you determine that a fair die has a 1/61/6 probability for each side, you are using the classical definition. This is fundamentally different from the hypergeometric scenario, which deals with populations of differing categories.