Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. [ 1 5 pts total ] The probability that a mosquito in Florida is found to be infected with a particular disease is 0

.[15 pts total] The probability that a mosquito in Florida is found to be infected with a particular
disease is 0.25. A local lab has 25 testing kits and (randomly) collects 25 mosquitoes. (One kit
can only be used to test a single mosquito.) Let Y be the number of mosquitos that are found to be
infected with the disease. Use R to simulate the probability distribution of Y. In particular, report:
(a)[10 pts] A table of each possible outcome and the associated Monte-Carlo estimate of the
probability.
(b)[3 pts] A barplot of the estimated probabilities.
(c)[2 pts] The estimated probability the lab finds 5 infected mosquitos.
Some ideas to approach this:
The infection status of 25 mosquitoes can be generated using mosquitoes - rbinom(n=25,
size=1, prob=0.25).
Other useful functions that may be useful for this problem include table and barplot.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lords Of Finance The Bankers Who Broke The World

Authors: Liaquat Ahamed

1st Edition

0143116800, 978-0143116806

Students also viewed these Databases questions

Question

Example. Evaluate 5n+7 lim 7-00 3n-5

Answered: 1 week ago