Bayes Probability HIV Word Problem

Click For Summary
SUMMARY

This discussion focuses on the application of Bayes' Theorem to calculate the positive predictive value of the ELISA HIV test based on an individual's risk score. The risk score, defined as the fraction of HIV-positive individuals sharing the same risk factors, allows for the calculation of prevalence p(r) as a function of r. The expressions derived include p(r) = p(HIV+|r) and the positive predictive value P(HIV+|T+) = s1 * p(r) / [s1 * p(r) + (1-s2) * (1-p(r))], where s1 represents sensitivity and s2 represents specificity of the test.

PREREQUISITES
  • Understanding of Bayes' Theorem and its application in probability.
  • Knowledge of sensitivity and specificity in medical testing.
  • Familiarity with risk assessment and prevalence calculations.
  • Basic statistics, particularly related to conditional probabilities.
NEXT STEPS
  • Study the derivation of Bayes' Theorem in medical diagnostics.
  • Explore the implications of sensitivity and specificity on test outcomes.
  • Research methods for estimating risk scores in epidemiological studies.
  • Learn about the ELISA test and its role in HIV detection.
USEFUL FOR

Researchers, epidemiologists, healthcare professionals, and statisticians interested in understanding HIV risk assessment and the application of probability in medical testing.

dspampi
Messages
16
Reaction score
0
In this problem, assume researchers have constructed a risk score for HIV for the U.S. population, which is a function of risk factors such as frequency of unprotected sex, use of intravenous drugs, having another sexually trans- mitted infection, etc. Assume each risk factor measured is discrete valued. The risk score r for an individual is defined as the fraction who are HIV positive among those in the U.S. with exactly the same risk factors as this individual. (In practice the risk score will have to be estimated, but here we assume it is known). Let R ⊆ [0, 1] denote the set of possible risk scores. (R may not be the entire interval [0, 1] if for some values of r, no individual in the U.S. has risk score r.)

We consider the ELISA HIV test. We assume this test has known sensitivity denoted by s1 and known specificity denoted by s2, neither of which depend on the risk score. That is, for any r, if we consider the population of those with risk score r, the test’s sensitivity and specificity among this population are s1 and s2, respectively, where s1,s2 do not depend on r. We assume the number of HIV positive individuals in the U.S. is 1.2 million, and the total U.S. population is 310 million.

Note: the sensitivity of a test is the probability the outcome of the test is positive given that the person tested has HIV; the specificity of a test is the probability the outcome of the test is negative given that the person tested does not have HIV.

(a) For each r ∈ R, let p(r) denote the prevalence of HIV infection among those in the U.S. population with risk score r. Write an expression for the function p(r) as a function of r. (Hint: it’s a very simple function of r.)

(b) Assume an individual in the U.S. is selected at random, and has risk score r. The individual is given the ELISA HIV test, and tests positive. Given just this information, what is the probability that the individual is HIV infected? (This is the positive predictive value of the test, within the population of individuals with risk score r.) Your answer should be an expression involving p(r),s1,s2 (or could just involve r,s1,s2 if you plug in the answer from (a) for p(r)).


There are other parts to the problem but I want to see what I've got so far:

For (a) I'm thinking since we are looking at prevalence in terms of p(r) that it would be the percentage of (people HIV+/ total people)* r

(b) Since the person has a risk value of r,
and given that their test score came back +, we want know the probability that he is actually HIV+; so I think it's:

P(P+|T+) = S1*p(r)/[S1*p(r) + (1-S2)(1-p(r)] ?
 
Physics news on Phys.org


Your approach for (a) is correct. The function p(r) would simply be the percentage of HIV positive individuals among those with risk score r. So the expression for p(r) would be p(r) = p(HIV+|r) = p(HIV+ and r) / p(r).

For (b), you are on the right track. The probability of a person being HIV positive given a positive test result is the positive predictive value, which can be calculated using Bayes' Theorem:

P(HIV+|T+) = P(T+|HIV+) * P(HIV+) / P(T+)

Using the information given, we can substitute in the values for P(T+|HIV+) (sensitivity), P(HIV+) (prevalence), and P(T+) (total number of positive tests in the population). So the expression would be:

P(HIV+|T+) = s1 * p(r) / [s1 * p(r) + (1-s2) * (1-p(r))]
 

Similar threads

Replies
2
Views
2K
Replies
29
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
5K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K