In: Statistics and Probability
USE R AND SHOW CODES!!
3.a. In 1988, 71% of 15-44 year old women who have ever been married have used some form of contraception. What is the probability that, in a sample of 200 women in these childbearing years, fewer than 120 of them have used some form of contraception?
3.b. About 1 percent of women have breast cancer. A cancer screening method can detect 80 percent of genuine cancers with a false alarm rate of 10 percent. What is the probability that women producing a positive test result really have breast cancer?
Please when answering the question, attach a screenshot of the answers and codes from R! Thank you
3.a.
We can use the built in binomialcumulative probability function in R as shown below
3.b.
Note : Bayes theorm has been used to find the given conditional probability