Comprehensive Study Notes on Statistical Reasoning and Probability

Lecture 8: Foundations of Probability
  • Core Definitions and Basic Properties:

    • Probability (P(A)P(A)): A numerical quantification of uncertainty bounded between zero and one:
          0≤P(A)≤10 \le P(A) \le 1

    • Sample Space (SS): The set of all possible experimental outcomes, satisfying P(S)=1P(S) = 1.

    • Null / Impossible Event (∅\emptyset): Contains zero outcomes, satisfying P(∅)=0P(\emptyset) = 0.

    • Complement Rule: The complement (AcA^c) consists of all outcomes in SS that are not in AA:
          P(Ac)=1−P(A)P(A^c) = 1 - P(A)

  • Three Approaches to Assigning Probability:

    • Classical (A Priori): Applicable when all outcomes are equally likely; calculated prior to experimentation:
          P(A)=n(A)n(S)P(A) = \frac{n(A)}{n(S)}

    • Empirical / Relative Frequency (A Posteriori): Assigned as the limiting relative frequency from a large number of independent trials (NN):
          P(A)=lim⁡N→∞fNP(A) = \lim_{N \to \infty} \frac{f}{N}

    • Subjective: Measures personal belief, experience, or professional judgment in non-repeatable situations.

  • Addition Laws of Probability:

    • General Addition Law (Non-Mutually Exclusive Events): When events can happen simultaneously:
          P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)     The joint intersection P(A∩B)P(A \cap B) is subtracted to eliminate double counting.

    • Special Addition Law (Mutually Exclusive Events): When events cannot occur together (A∩B=∅  ⟹  P(A∩B)=0A \cap B = \emptyset \implies P(A \cap B) = 0):
          P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

    • Three-Event Addition Law:
          P(A∪B∪C)=P(A)+P(B)+P(C)−P(A∩B)−P(A∩C)−P(B∩C)+P(A∩B∩C)P(A \cup B \cup C) = P(A) + P(B) + P(C) - P(A \cap B) - P(A \cap C) - P(B \cap C) + P(A \cap B \cap C)     Pairwise subtractions remove the center triple intersection three times, requiring P(A∩B∩C)P(A \cap B \cap C) to be added back once.

Lecture 9: Conditional Probability and Independence
  • Conditional Probability:

    • The updated probability of an event AA given that another event BB is known to have already occurred:
          P(A∣B)=P(A∩B)P(B),for P(B)>0P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \quad \text{for } P(B) > 0

    • Conditioning restricts the relevant reference space from the entire sample space SS down to the sub-universe where BB occurs.

  • General Multiplication Law:

    • Direct algebraic rearrangement of conditional probability:
          P(A∩B)=P(B)P(A∣B)=P(A)P(B∣A)P(A \cap B) = P(B) P(A \mid B) = P(A) P(B \mid A)

  • Statistical Independence:

    • Events AA and BB are independent if and only if the occurrence of one does not affect the probability of the other:
          P(A∣B)=P(A)orP(B∣A)=P(B)P(A \mid B) = P(A) \quad \text{or} \quad P(B \mid A) = P(B)

    • Multiplication Rule for Independent Events:
          P(A∩B)=P(A)P(B)P(A \cap B) = P(A) P(B)

    • Mutually Exclusive vs. Independent Events: If two events with positive probabilities are mutually exclusive, they cannot be independent (P(A∩B)=0≠P(A)P(B)P(A \cap B) = 0 \ne P(A)P(B)). Knowing that one event occurred immediately informs you that the other did not occur.

  • Contingency Tables:

    • Marginal Probabilities: Placed along the margins (row/column totals divided by grand total NN).

    • Joint Probabilities: Placed in individual internal cells (cell count divided by grand total NN).

    • Used to test independence by comparing conditional proportions (e.g., P(A∣B)P(A \mid B) against P(A)P(A)).

Lecture 10: Bayes' Theorem
  • Purpose and Principles:

    • Reverses conditional probabilities to update initial (prior) probabilities P(Ai)P(A_i) into revised (posterior) probabilities P(Ai∣B)P(A_i \mid B) after observing sample evidence BB.

  • Formulations of Bayes' Theorem:

    • Two-Event Formulation:
          P(A1∣B)=P(A1)P(B∣A1)P(A1)P(B∣A1)+P(A2)P(B∣A2)P(A_1 \mid B) = \frac{P(A_1) P(B \mid A_1)}{P(A_1) P(B \mid A_1) + P(A_2) P(B \mid A_2)}

    • General Formulation (for nn mutually exclusive and exhaustive events):
          P(Ai∣B)=P(Ai)P(B∣Ai)∑j=1nP(Aj)P(B∣Aj)P(A_i \mid B) = \frac{P(A_i) P(B \mid A_i)}{\sum_{j=1}^n P(A_j) P(B \mid A_j)}

  • Five-Step Tabular Method:

    1. Column 1 (Events): List the mutually exclusive and exhaustive prior states (AiA_i).

    2. Column 2 (Prior Probabilities): Record P(Ai)P(A_i), ensuring ∑P(Ai)=1.00\sum P(A_i) = 1.00.

    3. Column 3 (Conditional Probabilities): Record the likelihood of evidence BB given each state, P(B∣Ai)P(B \mid A_i).

    4. Column 4 (Joint Probabilities): Compute P(Ai∩B)=P(Ai)P(B∣Ai)P(A_i \cap B) = P(A_i) P(B \mid A_i). The sum of this column equals the total probability of the evidence:
           P(B)=∑P(Ai∩B)P(B) = \sum P(A_i \cap B)

    5. Column 5 (Posterior Probabilities): Calculate the revised probability:
           P(Ai∣B)=P(Ai∩B)P(B)P(A_i \mid B) = \frac{P(A_i \cap B)}{P(B)}

  • Medical Screening and the Base Rate Fallacy:

  • When a condition has a very low prevalence in the population (low prior P(C)P(C)), even a test with high sensitivity (P(T+∣C)P(T^+ \mid C)) and high specificity (P(T−∣Cc)P(T^- \mid C^c)) can yield a low posterior probability P(C∣T+)P(C \mid T^+).

  • This happens because the large healthy majority produces a high number of false positives that easily outnumber the true positive results.