Introduction to Bayesian Analysis

ISI-BUDS 2023

Examples from bayesrulesbook.com

How can we live if we don’t change?
Beyoncé

Bayesian Knowledge Building

Frequentist Knowledge Building

Balancing Act of Bayesian Analysis

Interpretation of Probability

Bayesian: a probability measures the relative plausibility of an event.

Frequentist: a probability measures the long-run relative frequency of a repeatable event. In fact, “frequentists” are so named because of their interpretation of probability as a long-run relative frequency.

Prior Data

Consider two claims. (1) Zuofu claims that he can predict the outcome of a coin flip. To test his claim, you flip a fair coin 10 times and he correctly predicts all 10! (2) Kavya claims that she can distinguish natural and artificial sweeteners. To test her claim, you give her 10 sweetener samples and she correctly identifies each! In light of these experiments, what do you conclude?

  1. You’re more confident in Kavya’s claim than Zuofu’s claim.

  2. The evidence supporting Zuofu’s claim is just as strong as the evidence supporting Kavya’s claim.

Hypothesis Testing

Suppose that during a recent doctor’s visit, you tested positive for a very rare disease. If you only get to ask the doctor one question, which would it be?

  1. What’s the chance that I actually have the disease?
  2. If in fact I don’t have the disease, what’s the chance that I would’ve gotten this positive test result?
  1. \(P(disease | +)\)
  2. \(P(+ | disease^c)\)

Notes on Bayesian History

  • Named after Thomas Bayes (1701-1761).
  • Frequentist statistics is more popular and Bayesian statistics is starting to get popular.
  • Computing, computing, computing.
  • It is harder to adopt to newer methods. Thus change is happening slowly.
  • We can embrace subjectivity.

Optional

Watch How Data Nerds Found A 131-Year-Old Sunken Treasure