Comprehensive Study Notes on Conditional Probability, Random Variables, and Binomial Distributions
Conditional Probability and Diagnostic Testing
Assumptions regarding disease prevalence directly alter post-test (posterior) probabilities:
- If initial disease prevalence (prior probability) decreases from a rampant level (e.g., dropping to , , or ), the post-test probability of actually having the disease naturally decreases.
- When COVID is assumed to be rampant and an individual has known exposure to an infected person, the baseline prior probability of infection is estimated at approximately ().
Rapid diagnostic tests are imperfect and exhibit false negative error rates:
- Assuming a fixed disease prevalence where of tested individuals are sick, an individual holding a negative rapid test result still has an infection probability of approximately (or roughly ).
- This indicates that approximately in every individuals who receive a negative rapid test result is actually infected.
Problem-solving framework for conditional probability:
- The initial step in solving conditional probability problems is identifying the provided simple probabilities (e.g., overall disease probability , test outcome probability , or joint probability ).
- Identifying these values dictates whether to organize the data into a probability matrix or table.
- When setting up probability tables or matrices, the process begins by selecting all prior assumptions and entering input values into the first two columns.
Random Variables and Probability Distributions
Definition of a Random Variable:
- A random variable is a variable quantity that represents numerical outcomes resulting from a random process.
Discrete Random Variables:
- Discrete random variables represent outcomes with a countable number of distinct values.
- Finite Sets: The faces of a standard six-sided die form a finite discrete set consisting of possible outcomes (, , , , , ).
- Countably Infinite Sets: Outcomes can also be countably infinite. Large quantities such as grains of sand on a beach or stars in the sky are theoretically countable discrete quantities because partial units (e.g., half a star) cannot exist.
Continuous Random Variables:
- Continuous random variables are tied to calculus and represent measurable quantities that can take on any real value within a continuous range.
- Measurement and Infinite Divisibility: Continuous quantities are infinitely divisible (e.g., seconds divided into fractions and sub-fractions of seconds, distances, and weights).
- Standard Examples: Weight, height, and time.
Random Variable Distributions:
- The set of all possible values and their corresponding probabilities defines a random variable's distribution.
- Distributions can be represented visually using frequency graphs or described mathematically via formulas and discrete lookup tables.
Expectation, Variance, and Standard Deviation
Expected Value (Mean) of a Discrete Distribution:
- The expected value (or mean ) represents the long-term average outcome and is calculated by multiplying each outcome value by its probability and summing the results:
- Axiomatic Probability Requirement: For any valid discrete probability distribution, the sum of all probabilities must equal exactly :
Short-Term Variability vs. Long-Term Expectations (Blackjack Model):
- In a simplified blackjack game where a player wagers to win or lose across four outcomes (including a natural Blackjack defined as receiving an Ace and a face card or card):
- Short-Term Outcomes: High variability allows individual players to win or lose more than expected due to random variance.
- Long-Term Expected Value: Casinos rely on long-term statistical averages (the house edge) where variance evens out over many repetitions. Real blackjack features a smaller house edge than simplified models.
Variance of Discrete Random Variables:
- Variance measure the spread or dispersion of outcomes around the expected mean.
- Conceptual Variance Formula: Take the difference between each outcome and the mean , square it, multiply by its probability , and sum all products:
- Computational Variance Formula: An algebraically rearranged shortcut used for faster manual or programmatic computation:
Standard Deviation and Reality Checks:
- Standard deviation is the square root of variance:
- Empirical Rule of Thumb: Typical outcome values in a distribution lie within or standard deviations of the mean.
- Performing reality checks: Verifying that standard deviations (e.g., a standard deviation yielding values like or ) align with actual dispersion boundaries ensures that calculation errors have not occurred.
The Binomial Distribution
Core Definition:
- The binomial distribution tracks, categorizes, and calculates the probability of obtaining a specific number of successes or failures across a fixed series of trials.
Required Criteria for Binomial Experiments:
- Binary Outcomes: Each trial must have exactly two mutually exclusive outcomes (e.g., success/failure, yes/no, true/false, heads/tails).
- Constant Success Probability: The probability of success must remain constant across all trials. The failure probability is given by: (Note: does not need to equal ).
- Trial Independence: The outcome of any single trial must be independent of all other trials.
- While theoretical models treat physical coin flips as independent, empirical research indicates physical coin flips have a slight bias toward landing on the face facing up prior to the flip.
- Physical systems like roulette wheels and dice throws serve as standard models of independent trials.
Binomial Probability Formula:
- Combinations Notation: The term (read as " choose ") represents the number of distinct ways to choose successful outcomes from total trials:
- Exact Probability Equation: The probability of obtaining exactly successes in independent trials is calculated as: