Question: . [ 1 5 pts total ] The probability that a mosquito in Florida is found to be infected with a particular disease is 0
pts total The probability that a mosquito in Florida is found to be infected with a particular
disease is A local lab has testing kits and randomly collects 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 pts A table of each possible outcome and the associated MonteCarlo estimate of the
probability.
b pts A barplot of the estimated probabilities.
c pts The estimated probability the lab finds infected mosquitos.
Some ideas to approach this:
The infection status of mosquitoes can be generated using mosquitoes rbinomn
size prob
Other useful functions that may be useful for this problem include table and barplot.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
