Linguistics 696 - Statistical Methods in Computational Linguistics

Assignment #1


Bayes' Rule

Let's imagine we have a contagious disease and a test for the disease. The facts are the following:

Our question is a policy question. Do we quarantine people who have a positive test result? For your work, use the following labels.

  1. T is the size of the total population.
  2. D is the set of people who have the disease.
  3. H is the set of people who are healthy (do not have the disease).
  4. P is the set of people who TEST positive for the disease.
  5. N is the set of people who TEST negative for the disease.
Assume the following are true:
  1. T = D + H
  2. T = P + N

We base our decision on:

    P(D|P)
Compute this quantity using Bayes' Rule. Show your work. Make a recommendation regarding quarantining.

Textbook Exercises

Exercises 2.5, 2.7 (p. 60); 2.9. (pp. 78,79)

Extra Credit

Exercise 2.13(p. 79).