Exercise 2 - Recalculating the SIDS Statistics
Let's assume that there is in fact a genetic component to SIDS and the the probability of \(\mbox{Pr}(\mbox{second case of SIDS} \mid \mbox{first case of SIDS}) = 1/100\), is much higher than 1 in 8,500.
What is the probability of both of Sally Clark's sons dying of SIDS?
This exercise is part of the course
HarvardX Data Science Module 4 - Inference and Modeling
Exercise instructions
- Calculate the probability of both sons dying to SIDS.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Define `Pr_1` as the probability of the first son dying of SIDS
Pr_1 <- 1/8500
# Define `Pr_2` as the probability of the second son dying of SIDS
Pr_2 <- 1/100
# Calculate the probability of both sons dying of SIDS. Print this value to the console.