1. Use R programming code to answer these questions:- a) A particular treatment is effective in 80% of cases. The treatment is given to 5 patients. What is the probability that the treatment will be effective for exactly 4 of the patients? For at least 4 of the patients? What is the probability that the treatment will be effective for 2 or fewer cases? b) Suppose 20% of individuals exposed to a particular contaminant develop a certain condition. For a group of 200 exposed individuals, what is the probability that at least 30 develop the condition? What is the probability that between 30 and 40 (inclusive) develop the condition? For these calculations, use the normal approximation to the binomial distribution.
1. Use R
a) A particular treatment is effective in 80% of cases. The treatment is given to 5 patients. What is the probability that the treatment will be effective for exactly 4 of the patients? For at least 4 of the patients? What is the probability that the treatment will be effective for 2 or fewer cases?
b) Suppose 20% of individuals exposed to a particular contaminant develop a certain condition. For a group of 200 exposed individuals, what is the probability that at least 30 develop the condition? What is the probability that between 30 and 40 (inclusive) develop the condition? For these calculations, use the normal approximation to the binomial distribution.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)