100 people are chosen randomly to screen for a rare disease that occurs in X% of the population. The test for the disease involves counting red blood cells in a blood sample – the count will be higher in patients with the disease. Write MATLAB code for a likelihood function for the number of patients in the trial that have the disease given a true prevalence of X%.
Added by Holly W.
Your feedback will help us improve your experience
Adi S and 65 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Consider a laboratory test to detect a disease. Let A = {event that the tested person has the disease} B = {event that the test result is positive} and it is known that P(B|A) = 0.99, P(B|A') = 0.005, and 0.1 percent of the population actually has the disease. What is the probability that a person has the disease given that a test is positive? a. Work the problem analytically. b. Write a MATLAB simulator to verify your answer.
Adi S.
Madhur L.
In a certain population, 1% of people have a genetic disease. Of those that have the disease, 90% test positive and of those that do not have the disease only 1% test positive. (a) What is the probability that a person, chosen uniformly at random from the population, tests positive for the disease? (b) Given that a person tests positive for the disease, what is the probability that they have it? (c) A person initially tested positive for the disease. They decided to have another (independent) test which came out negative. What is the probability that they have the disease?
Jason G.
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD