I need to find the probability of an event happening given the population mean, a sample size and how many times I need it to happen
6 views (last 30 days)
Show older comments
Cases happen at a rate of 0.9 per 9,000 patients per month. If I have 2,415 patients admitted, what is the probability of 5 cases
0 Comments
Answers (3)
Image Analyst
on 25 Sep 2021
rate = 0.9 / 9000
cases = rate * 2415
rate =
0.0001
cases =
0.2415
So, assuming a one month time period, since it's not 5, the probability is zero. Are you willing to allow some spread in the 0.9? If so, then how is it distributed? Is it a Normal distribution? If so, then there will be some probability of 5 cases, otherwise if it's exactly 0.9 (unlikely) then the probability is 0 and you won't have exactly 5 cases until you get 50000 patients seen.
0 Comments
Walter Roberson
on 25 Sep 2021
p = 0.9/9000
n=5
N=2415
P = p^n*(1-p)^(N-n) * C(N, n)
where C(a, b) is a!/(b! (a-b)!) except you need to implement it better than using factorial
This would be for the situation of exactly 5 cases, not 5 or more cases
0 Comments
Star Strider
on 25 Sep 2021
The question as stated actually doesn’t make much sense, because ‘cases’ should have some sort of probability distribution.
That aside, to find out the time required for a given number of patients to be diagnosed with that particular condition is relatively straightforward —
pr = 0.9 / 9000 % Monthly Probability
pts = 2415 % Patients Admitted
Months = 5 / (pts * pr)
So it would take a bit less than 21 months for that patient population to be diagnosed with 5 iincidents of whatever that condition is.
The calculation is —
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/749549/image.png)
rearranging —
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/749554/image.png)
or —
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/749559/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/749564/image.png)
.
0 Comments
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!