Statistics 1 for Economics - Probability and Hypergeometric Distributions
Combinatorics and Hypergeometric Probability
Combinatorics Fundamentals
- Permutations: Used when the order of selection matters. The formula for permutations of out of elements is:
- Example: In a sports race with 12 athletes, the three winners are rewarded with a gold, silver, or bronze medal. The number of ways the medals can be distributed is a permutation because the rank (gold vs. silver) matters.
- Combinations: Used when the order of selection does not matter. The formula for combinations of out of elements is:
- Example: From a group of top-five athletes, two are randomly selected for the national team. The number of ways to compose the team is a combination because the order of selection within the team is irrelevant.
Hypergeometric Probability
- This probability distribution is used for drawing without replacement from a finite population.
- Variables:
- : Total population size.
- : Total number of successes in the population.
- : Total number of failures in the population.
- : Sample size drawn from the population.
- : Exact number of successes in the sample.
- : Exact number of failures in the sample.
- The Hypergeometric Formula:
Case Study: Smokers vs. Non-Smokers
- Population: 9 people (4 smokers, 5 non-smokers).
- Experiment: Randomly select a sample of 3 persons.
- Question: What is the probability of choosing exactly 1 smoker and 2 non-smokers?
- Step 1: Total possible samples:
- Step 2: Equally likely outcomes: Since drawing is random, each unique team has a probability of .
- Step 3: Successful outcomes: Number of ways to choose 1 smoker from 4 AND 2 non-smokers from 5:
- Step 4: Final Probability:
Case Study: Company Employees
- Data: 80 employees total; 50 Full-time (FT), 30 Part-time (PT). Also categorized as 36 Junior (18 FT, 18 PT) and 44 Senior (32 FT, 12 PT).
- Scenario: A council of 5 members is chosen at random.
- Probability of exactly 1 part-time employee:
- Probability of at least 1 part-time employee:
- This uses the complement rule: .
Basic Concepts of Probability Theory
- Random Experiment: An action where outcomes cannot be predicted with certainty, but it is repeatable under identical circumstances.
- Sample Space (): The set of all possible outcomes. It must be:
- Exhaustive: Contains all possible outcomes.
- Mutually Exclusive: Outcomes do not overlap; only one outcome occurs at a time.
- Simple Event (): A single specific outcome or realization from the sample space.
- Event (): A collection or subset of simple events (e.g., rolling an even number on a die).
- Probability Definitions:
- Classical (Laplace): Assumes all outcomes are equally likely. P(A) = \frac{\text{# elements in A}}{\text{# elements in S}}
- Relative Frequency: Based on long-run observation of repeated experiments. P(A) = \frac{\text{# occurrences of A}}{\text{total number of experiments (n)}}
- Example: Flipping a coin 10,000 times and getting tails 5,067 times results in .
- Subjective: Used for non-repeatable events (e.g., predicting 2021 presidential election results).
Rules of Probability Theory
Fundamental Rules:
- Every probability must be between 0 and 1: .
- The sum of all probabilities in a sample space is 1: .
Complement Rule:
- The probability of an event not occurring: .
- Example: Rolling two dice. Probability that the numbers are different is easier calculated as . Since there are 6 "same" outcomes out of 36, .
Intersection and Union:
- Intersection (AND): Denoted as . Represents outcomes in both A and B.
- Union (OR): Denoted as . Represents outcomes in either A, B, or both.
- Sum Rule: .
Disjoint Events:
- Events are disjoint if they have no common outcomes ().
- For disjoint events, the sum rule simplifies to: .
Conditional Probability:
- The probability of event B occurring given that event A has already occurred.
- Formula: .
Product Rule:
- Used to find the joint probability of two events.
- Formula: .
Independence of Events
- Definition of Independence: Two events A and B are independent if the occurrence of A does not change the probability of B.
- Mathematical tests for independence:
- Dependency examples:
- Rain () and Cloudy () are dependent because .
- Rain () and Rolling a Six () are independent because .
- The Disjointness Paradox: Disjoint events can never be independent (unless one has a probability of 0). If events are disjoint, knowing A occurred means B cannot have occurred (). Since this information changed the probability of B, they are dependent.
Probability Tables and Trees
- Probability Table: Organizes joint probabilities in cells and marginal probabilities in the margins.
- Joint probabilities () are inside the grid.
- Marginal probabilities (, etc.) are the row and column totals.
- Probability Tree: Visualizes sequences of events.
- Branch probabilities are conditional probabilities.
- Multiplying along a path gives the joint probability (the intersection).
- Path endings (Intersections) at the far right must sum to 1.
Bayes' Law
- The Concept: Used to "reverse the order" of conditional probabilities. It finds when you only know .
- Formula:
- Example calculation (Health Test):
- Prior probabilities: , .
- Test Accuracy: , .
- To find the probability a person is sick given a positive test ():
- Find Joint Probabilities:
- Find Marginal Probability of a Positive Test ():
- Apply Bayes' Law: