Question: Please read the entire problem statement below and then create a simulation using software for ONLY PART II of this problem using either R-Studio or

Please read the entire problem statement below and then create a simulation using software for ONLY PART II of this problem using either R-Studio or MATLAB.

PART II is located at the bottom of this photo.

Please read the entire problem statement below and then create a simulation

Detecting Disease Strep throat is a common virus. To detect whether someone has this virus, doctors administer a swab test. Even though the swab test helps doctors make a diagnoses, it does, at times, give the wrong results. Specifically, the test could come back negative when in fact a patient has strep (false negative) or the test could come back positive when in fact a patient does not have strep (false positive). As a doctor, it is important to understand the chances of these false positives and false negatives occurring so that risks could be communicated accurately with patients. A doctor asks: What is the probability of not having the virus given that you get a positive test result? The doctor knows a few pieces of information to help her compute this probability: 1. Out of every 100 people, 1 has strep throat 2. If the test comes out positive, there is a 5% chance the patient does not have strep 3. If the test comes out negative, there is a 10% chance that the patient has the disease To investigate, the doctor starts by setting up a two-step simulation. She can model this situation with a hands on simulation using different colored balls in bags or she can directly go to technology to help her simulate a large number of trials. Describe how she could set up this simulation "by hand." Carry out your simulation 20 times and fill out the following table. Negative Positive Totals No Disease Disease Total Compute the empirical probability of not having the virus given that you get a positive test results based on the results of your hand simulations. Set up a simulation using software and carry it out 10,000 times. Again, compute the empirical probability of not having the virus given that you get a positive test results based on the results of your hand simulations. Detecting Disease Strep throat is a common virus. To detect whether someone has this virus, doctors administer a swab test. Even though the swab test helps doctors make a diagnoses, it does, at times, give the wrong results. Specifically, the test could come back negative when in fact a patient has strep (false negative) or the test could come back positive when in fact a patient does not have strep (false positive). As a doctor, it is important to understand the chances of these false positives and false negatives occurring so that risks could be communicated accurately with patients. A doctor asks: What is the probability of not having the virus given that you get a positive test result? The doctor knows a few pieces of information to help her compute this probability: 1. Out of every 100 people, 1 has strep throat 2. If the test comes out positive, there is a 5% chance the patient does not have strep 3. If the test comes out negative, there is a 10% chance that the patient has the disease To investigate, the doctor starts by setting up a two-step simulation. She can model this situation with a hands on simulation using different colored balls in bags or she can directly go to technology to help her simulate a large number of trials. Describe how she could set up this simulation "by hand." Carry out your simulation 20 times and fill out the following table. Negative Positive Totals No Disease Disease Total Compute the empirical probability of not having the virus given that you get a positive test results based on the results of your hand simulations. Set up a simulation using software and carry it out 10,000 times. Again, compute the empirical probability of not having the virus given that you get a positive test results based on the results of your hand simulations

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!