Using the hypergeometric distribution, it is found that the probability is 0.845 = 84.5%.
--------------------
- The patients are chosen from the sample without replacement, which means that the hypergeometric distribution is used to solve this question.
Hypergeometric distribution:
The probability of x successes is given by:
[tex]P(X = x) = h(x,N,n,k) = \frac{C_{k,x}*C_{N-k,n-x}}{C_{N,n}}[/tex]
The parameters are:
- x is the number of successes.
- N is the size of the population.
- n is the size of the sample.
- k is the total number of desired outcomes.
Combination formula:
is the number of different combinations of x objects from a set of n elements, given as:
[tex]C_{n,x} = \frac{n!}{x!(n-x)!}[/tex]
--------------------
- 56074 patients, thus [tex]N = 56074[/tex]
- Sample of 40, thus, [tex]n = 40[/tex]
- 235 left against medical advice, thus, [tex]k = 235[/tex].
The probability that none left against medical advice is P(X = 0), so:
[tex]P(X = x) = h(x,N,n,k) = \frac{C_{k,x}*C_{N-k,n-x}}{C_{N,n}}[/tex]
[tex]P(X = 0) = h(0,56074,40,235) = \frac{C_{235,0}*C_{55839,40}}{C_{56074,40}} = 0.845[/tex]
The probability is 0.845 = 84.5%.
A similar problem is given at https://brainly.com/question/24008577