Probability Exercises 2324
Probability Exercises 2324
Probability Exercises 2324
Exercise 1. Hypertension (H) is associated with myocardial infarction (I). Which of the
following answers corresponds to the event ‘Individual with hypertension and no myocardial
infarction’ ?
(a) H ∩ I
(b) H ∩ I
(c) H ∩ I
(d) H ∩ I
Exercise 2. If F is the event family history of myocardial infarction (M I), how would
you write the event individual with hypertension (H) that suffered a M I and does not have
family history of M I? Represent the event using Venn diagrams.
(a) (H ∪ M I) ∩ F
(b) H ∩ M I ∩ F
(c) H ∪ M I ∪ F
(d) H ∩ M I
(a) Individuals who do not present any of the risk factors considered.
(b) Individuals who are hypertensive or hypercholesterolemic. Comment on the difference
between this event and the previous event.
(c) Individuals who only have one of the risk factors considered.
(d) Individuals who are hypertensive and hypercholesterolemic.
(e) Individuals who have more than one of the risk factors considered.
1
A
8%
18% 16%
10%
10% 14%
20%
B C
Exercise 5. In a specific population, the percentages of adult individuals who suffered from
any of three childhood diseases D1, D2 and D3 are:
D1
8%
12% 14%
7%
10% 8%
15%
D2 D3
(a) Not having had D3, if one had neither D1 nor D2.
(b) Having had D1 or D2, if one did not have D3.
(c) Having had both D1 and D2.
2
(d) Having had disease D1, if one had disease D2.
(e) Not having had D1 or D2, if one had D2.
(f) Not having had D1, if one did not have D2.
(g) Not having had D1, if one had D2.
Exercise 6. In a study about a disease (D) and a risk factor (R) the following probabilities
were obtained:
D D Total
R 0.08 0.11 0.19
R 0.33 0.48 0.81
Total 0.41 0.59 1.00
(a) What is the probability that a person with the risk factor presents the disease?
(b) What is the probability that a person without the risk factor presents the disease?
(c) Calculate the relative risk (RR).
(d) Do you think that R is a risk factor for the disease?
Exercise 7. Data from a hospital show that 10% of patients who have a particular disease
die within an interval of two years. Suppose that 5 patients have been admitted to the
hospital recently.
Exercise 8. The table below shows the results of evaluating a diagnostic test for a particular
disease. Two samples were chosen for this evaluation, a sample of 522 patients with the
disease and an independent sample of 522 healthy individuals.
D D
T+ 446 255
T− 76 267
Total 522 522
3
Exercise 9. The probability that a person aged 74 years or more has vitamin B12 deficiency
is 0.22. Among people aged 74 years or more with vitamin B12 deficiency, the likelihood of
having folate deficiency is 0.48.
P(A)=0,22 P (B|A) = 0,48
(a) What is the probability that a person aged 74 years or more has simultaneously defi-
ciency of vitamin B12 and folate? P ( B|A) = P(B A) entre P(A) = 0,1
(b) If A represents the event ‘to have vitamin B12 deficiency’ and B represents the event
‘to have folate deficiency’, to obtain the previous result, which formula did you use? (1)
P (A) = P (A | B)P (B); (2) P (A∩B) = P (B | A)P (A); (3) P (B) = P (B∪A)+P (B∪A);
or (4) P (A ∪ B) = P (A) + P (B) − P (A ∩ B).
Exercise 10. In a given population, the probability of having the risk factor A is 0.11, the
probability of having the risk factor B is 0.19 and the probability of having both is 0.05.
P(A B)
(a) If a person has the risk factor B, what is the probability of having also the risk factor
A?
P( A/B) = P(A B) / P(B) =
0,05/0,19=0,26
Exercise 11. The positive predictive value (PPV) of a diagnostic test is:
(a) The probability that a person has the disease if the test comes out positive.
(b) The probability that the test is negative in people without the disease.
(c) The probability that the test is positive in people with the disease.
(d) The probability that a person does not have the disease if the test comes out negative.
(a) The probability that a person does not have the disease if the test comes out negative
(b) The probability that the test is positive in people with the disease
(c) The probability that a person has the disease if the test comes out positive
(d) The probability that the test is negative in people without the disease
(a) The probability that the test is positive in those with the disease.
4
(b) The probability that the test is negative in those without the disease.
(c) The probability that a person has the disease if the test comes out positive.
(d) The probability that a person does not have the disease if the test comes out negative.
Exercise 15. The probability that a person with the disease has a negative diagnosis is:
0,116
Exercise 16. A diagnostic test for a disease with a prevalence of 11.6% has a probability of
giving a false positive result equal to 0.18 and a probability of giving a false negative result
equal to 0.07.T - | D 1-sens T+|D 1-esp
Sens= 0,93
(a) What is the probability that a person who has obtained a positive result, has the
disease?
0,93*0,116 0,404
VPP =
0,93*0,116+(0,18)*(1-0,116)
Exercise 17. A diagnostic test has a sensitivity equal to 0.7 and a specificity equal to 0.96.
0,7/
(a) What is the likelihood ratio for a positive result (LR+ )?
1-0,96 17,5
(b) What is the likelihood ratio for a negative result (LR− )? 1-0,7 0,3125
0,96
(c) If the prevalence of the disease is 0.1 and the test gives a positive result, what is the
odds post-test of having the disease? Prev LR 0,1 0,111*17,5
1-prev 1-0,1 1,9425
(d) If the prevalence of the disease is 0.1, what is the post-test probability of having the
disease if the test gave a negative result?
0,111*0,3125= 0,03468
Exercise 18. Below are two tables adapted from the Catalan Life Tables produced by the
Catalan Health Department and the Institute of Statistics (IDESCAT). For the questions
below (except the first one), we suggest that if you are male you use Table 1, if you are female
you use Table 2. If you are working in a group and/or have the time, do the questions for
both. Use what you have learnt about probability and apply it to these questions:
Adapted from the web page of the University of South Western, Sidney (Australia), QMP tutorials. https://moodle.
telt.unsw.edu.au/enrol/index.php?id=7699
(a) What do they tell you? What differences can you see between the two? mujeres viven más
(b) What is the probability that an individual chosen at random from this group will survive
to age 20? Si es hombre 994/1000 Si es mujer 995/1000
(c) What is the probability that this individual dies before age 20? Which property of
probability does this calculation depend on? P(TM < 20) = 1-0,994) P(TM< 20) = 1- 0,995
(d) Let’s say you are 20 years old. What is the probability that you survive to age 40?
(e) Let’s say you are 20 years old. What is the probability that you survive to age 60?
Hombres
P (T>40|T>20) =983/994 5
P (T>40| T>20) =
P (T>60|T>20)= 991/994 Hombre
Table 1: Number of men out of 1000 re- Table 2: Number of women out of 1000
maining alive at 10 year intervals remaining alive at 10 year intervals
(f) What is the probability that you and a friend (also aged 20 and of the same sex) both
survive to age 60?
P(TW>60|TW>20)
(g) Out of 100 medical students in your year, how many would we expect to attain the age
of 80? To simplify things let’s assume they are all aged 20 and of the same gender (the
one you are working on). We assume here that a male or female medical student has
an average life expectancy / rate of death - but this is probably not so. What are the
major factors that influence death rates?
(h) What is the probability that you will die in the 3rd decade?
(i) You have a great idea and think that it would be good to know your probability of
dying in each decade (a wee bit morbid, but necessary for this question!). Calculate the
probability of dying in each decade for an individual chosen at random from this group.
Tabulate it. Take a look at what you have done. What is this distribution called and
why?