A medical test for a certain disease has a 98% sensitivity and a 95% specificity. The prevalence of the disease in the population is 1%.
Calculate the probability that a person selected at random from the population tests positive for the disease.
Given that a person tests positive, calculate the probability that they actually have the disease.
A factory produces widgets using two machines, A and B. Machine A produces 60% of the widgets, and Machine B produces 40%. 2% of the widgets produced by Machine A are defective, while 5% of the widgets produced by Machine B are defective.
Calculate the probability that a randomly selected widget is defective.
Given that a randomly selected widget is defective, calculate the probability that it was produced by Machine A.
Occurrences and are such that , and .
Find .
Find .
Hence show that occurrences and are independent.