Probability for Discrete Variables

Foundations and Core Axioms of Discrete Probability

  • Historical Foundation of Probability Theory:

    • As stated by Pierre-Simon Laplace: "It is remarkable that a science which began with the consideration of games of chance should have become the most important object of human knowledge."

    • The formal study of probability originated from the mathematical analysis of gambling and games of chance, later evolving into the primary framework for quantifying uncertainty across all scientific domains.

  • Core Terminology:

    • Experiment: Any specific action, trial, or procedure that gives rise to an event or a set of events.

    • Event / Outcome (AA): A particular result or collection of results generated by an experiment (for example, drawing a blue ball from a container).

    • Sample Space (SS): The comprehensive universal set containing all possible elementary events or outcomes that can occur in an experiment.

    • Variable Classification (XX): In discrete models such as drawing colored balls (X=blue, red, green ballsX = \text{blue, red, green balls}), the variable is classified as a nominal-level discrete variable.

  • Axiomatic Rules of Probability:

    • Non-negativity and Bounded Probability (Rule i):     0≤P(A)≤10 \le P(A) \le 1     The probability of any event AA occurring within the sample space SS is strictly bounded between 00 (impossible event) and 11 (certain event).

    • Total Probability of the Sample Space (Rule ii):     P(S)=1P(S) = 1     The probability assigned to the entirety of the sample space is equal to 11, indicating that one of the possible outcomes within SS must occur.

Diagram of an experiment and sample space containing colored balls with event A designated

Marginal Probability and Complements

  • Marginal (Unconditional) Probability:

    • Definition: The probability of a single discrete event occurring without reference to or conditioning upon any other event, represented mathematically as P(A)P(A).

    • Equally Likely Outcomes Formula:

    • If a sample space contains a finite number of NN total elements or occurrences belonging to a set of discrete events (AiA_i), and every individual element has an equal probability of occurring:       P(Ai)=NAiNP(A_i) = \frac{N_{A_i}}{N}

    • In this expression, NAiN_{A_i} denotes the count of elements belonging to the specific event of interest AiA_i, and NN denotes the total count of elements within sample space SS.

  • Complement of an Event:

    • Definition: The complement of an event represents the probability of that event not occurring.

    • Mathematical Representation: Denoted as P(Ai′)P(A_i') or P(Ac)P(A^c).

    • Formula:     P(Ai′)=1−P(Ai)P(A_i') = 1 - P(A_i)

  • Calculation Example (Ball Selection Model):

    • Experiment Setup: An urn contains a total of N=20N = 20 balls consisting of green, red, and blue balls. The subset of blue balls contains Nblue=6N_{\text{blue}} = 6 items.

    • Marginal Probability Calculation:     P(blue)=620=0.30P(\text{blue}) = \frac{6}{20} = 0.30

    • Complement Probability Calculation:     P(blue′)=1−P(blue)=1−0.30=0.70P(\text{blue}') = 1 - P(\text{blue}) = 1 - 0.30 = 0.70

Set Operations and Event Classifications

  • Intersection and Joint Probability (A∩BA \cap B):

    • The intersection represents the joint occurrence of both event AA and event BB.

    • Referred to conceptually and operationally as Joint Probability, written as P(A∩B)P(A \cap B).

    • Associated Venn Diagram Regions:

    • A∩BA \cap B: The overlapping area containing elements belonging simultaneously to both event AA and event BB.

    • AB′AB': All elements within the sample space that belong to event AA but do not belong to event BB.

    • BA′BA': All elements within the sample space that belong to event BB but do not belong to event AA.

Venn diagram illustrating regions AB prime, the intersection A and B, and BA prime
  • Union (A∪BA \cup B):

    • The union refers to the occurrence of either event AA, event BB, or both (i.e., the occurrence of at least one of the events).

    • Constituent possibilities included within the union set:

    • AA is a possibility

    • BB is a possibility

    • A∩BA \cap B is a possibility

  • Conditional Probability (A∣BA|B):

    • The probability of event AA occurring given the prior knowledge or condition that event BB has occurred.

    • Represented symbolically as P(A∣B)P(A|B).

  • Classifications of Event Relationships:

    • Mutually Exclusive (Disjoint) Events:

    • Events that cannot occur simultaneously; the occurrence of one completely precludes the occurrence of the other.

    • The intersection is the empty set:       P(A∩B)=0P(A \cap B) = 0

    • Independent Events:

    • Two events are independent if the occurrence of event AA provides no information about the occurrence of event BB, and vice versa.

    • The occurrence of one event does not alter the probability of the other event occurring.

    • Dependent Events:

    • Two events are dependent if the occurrence of event AA provides information regarding the occurrence of event BB (i.e., it alters the probability of BB occurring), and vice versa.

Sampling Strategies and Dependency

  • Sampling With Replacement:

    • Items are extracted from the sample space, observed, and returned to the population prior to the next draw.

    • The composition and size of the sample space remain invariant across successive draws.

    • Maintains strict statistical independence between successive draws.

  • Sampling Without Replacement:

    • Items are drawn from the sample space and removed permanently without being returned.

    • The total number of available elements and the relative proportions of remaining categories change after each extraction.

    • Fundamental Principle: Sampling without replacement directly creates statistical dependencies whenever operating on a finite sample space.

Discrete Probability Calculation Rules and Formula Matrix

  • Fundamental Calculation Rules:

    • Additive Rule of Probability: If two discrete events, AA and BB, are mutually exclusive:     P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

    • Multiplicative Rule of Probability: If two discrete events, AA and BB, are independent:     P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

  • Comprehensive Formula Matrix (Event Types vs. Probability Types):

    • Mutually Exclusive Events:

    • Union Probability:       P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

    • Joint Probability:       P(A∩B)=0P(A \cap B) = 0

    • Conditional Probability:       P(A∣B)=0P(A|B) = 0

    • Independent Events:

    • Union Probability:       P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

    • Joint Probability:       P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

    • Conditional Probability:       P(A∣B)=P(A)P(A|B) = P(A)

    • Dependent Events:

    • Union Probability:       P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

    • Joint Probability:       P(A∩B)=P(A∣B)×P(B)P(A \cap B) = P(A|B) \times P(B)

    • Conditional Probability:       P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

    • Information Requirements for Dependent Events:

    • For dependent events, calculating probabilities requires either being explicitly given P(A∩B)P(A \cap B) or P(A∣B)P(A|B), or being provided with sufficient information to mathematically deduce them.

Summary reference table displaying formulas for union, joint, and conditional probabilities across mutually exclusive, independent, and dependent events

Probability Mass Functions and Joint Distributions

  • Probability Mass Function (PMF):

    • A mathematical function that gives the probability that a discrete random variable XX is exactly equal to some value xix_i:     P(X=xi)for i=1,2,3,…,NP(X = x_i) \quad \text{for } i = 1, 2, 3, \dots, N

    • Empirical Likert Distribution Example:

    • Category 1: P(X=1)≈0.68P(X = 1) \approx 0.68

    • Category 2: P(X=2)≈0.27P(X = 2) \approx 0.27

    • Category 3: P(X=3)≈0.03P(X = 3) \approx 0.03

    • Category 4: P(X=4)≈0.02P(X = 4) \approx 0.02

    • Category 5: P(X=5)≈0.00P(X = 5) \approx 0.00

Bar graph of a Probability Mass Function showing probabilities across five Likert categories
  • Joint Probability Mass Function (Two Independent Events AA and BB):

    • Structured as a contingency matrix crossing events AA and A′A' with BB and B′B':

    • Cell (B,A)(B, A):       P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

    • Cell (B,A′)(B, A'):       P(A′∩B)=P(A′)×P(B)P(A' \cap B) = P(A') \times P(B)

    • Row BB Marginal Sum:       P(A∩B)+P(A′∩B)=P(B)P(A \cap B) + P(A' \cap B) = P(B)

    • Cell (B′,A)(B', A):       P(A∩B′)=P(A)×P(B′)P(A \cap B') = P(A) \times P(B')

    • Cell (B′,A′)(B', A'):       P(A′∩B′)=P(A′)×P(B′)P(A' \cap B') = P(A') \times P(B')

    • Row B′B' Marginal Sum:       P(A∩B′)+P(A′∩B′)=P(B′)P(A \cap B') + P(A' \cap B') = P(B')

    • Column AA Marginal Sum:       P(A∩B)+P(A∩B′)=P(A)P(A \cap B) + P(A \cap B') = P(A)

    • Column A′A' Marginal Sum:       P(A′∩B)+P(A′∩B′)=P(A′)P(A' \cap B) + P(A' \cap B') = P(A')

Contingency table displaying the joint probability mass function for independent events A and B along with marginal sums

Interpreting Probabilities and Common Fallacies

  • Fallacy of Individual Probability from Aggregate Rates:

    • Scenario: A clinical research study demonstrates that a novel pharmaceutical drug was effective for 90%90\% of the participants in the sample.

    • Deduction Regarding an Individual: This finding does not mean that there is a 90%90\% probability of the drug being effective for an arbitrary individual outside or inside the study.

    • Participant-Level Knowledge:

    • What were the chances of the drug being effective for participant 44 in the study? Unknown.

    • What are the chances that the drug will be effective for a new individual? Unknown.

    • Population-level or aggregate sample frequencies cannot be equated with an individual's deterministic outcome or unconditional probability.

  • Real-World Lifetime Risks and Perceptions:

    • Epidemiology of Depression: Over a lifetime, an individual faces a 20%20\% (or 1 in 51\text{ in }5) probability of experiencing an episode of depression.

    • Comparative Threat Assessment (Andrew Shaver, November 23, 2015, The Washington Post):

    • Human risk perception frequently overemphasizes salient, dramatic hazards while ignoring statistically greater everyday risks.

    • An individual, their family, and their community are statistically far more vulnerable to ignored domestic threats than to terrorism.

    • Comparative Example: An individual is statistically more likely to be fatally crushed by falling furniture than killed in a terrorist attack.

    • Quantitative Comparison (Paris Attacks, November 2015): While the terrorist attacks in Paris resulted in approximately 130130 fatalities, roughly three times that number (≈390\approx 390) of French citizens died on that exact same day from cancer.