Let X denote the random variable representing the no. of prescriptions the pharmacist processes until he/she makes the first mistake.
Now, P(X=x) = P(correct x-1 subscriptions)*P(incorrect xth subscription)
=
where p is the error rate of the pharmacist
Now, since the no. of prescriptions before the pharmacist makes the first mistake is a positive integer, thus the possible values of X are 1,2,3,...
Thus, the pmf of X is given by :
P(X=x) = ; x=1,2,3,...
which is the geometric distribution.
Question 1
The average number of prescriptions the pharmacist processes until he/she makes the first mistake is equal to the mean of the geometric distribution, E(X) which is equal to 1/p.
Thus, The required answer =
Question 2
The required probability is equal to :
Question 3
Now, p = 0.15
The expected number of prescriptions until the first dispensing error = E(X) =
The median of X is the smallest value m such that
Thus,
Thus, the median of the distribution is 5.
For checking, we observe that
Finally, Probability that the first error is among first 17 prescriptions :
For any query with the solution provided, feel free to comment and ask.
If the solution was helpful to you, don't forget to give it a thumbs up.
In the article Geometric Probability Distribution for Modeling of Error Risk During Prescription Dispensing, American Journal...
You roll a six-sided die. Find the probability of each of the following scenarios. (a) Rolling a 6 or a number greater than 3 (b) Rolling a number less than 4 or an even number (c) Rolling a 4 or an odd number (a) P(6 or number> 3)- (Round to three decimal places as needed) (b) P/1 or 2 or 3 or 4 or 6)-( Round to three decimal places as needed.) (c) P(4 or 1 or 3 or 5)...
Assignment Specifications We are going to use the Monte Carlo Method to determine the probability of scoring outcomes of a single turn in a game called Pig. Your Task For this assignment you will simulate a given number of hold?at?N turns of a game called Pig, and report the estimated probabilities of the possible scoring outcomes. You are NOT implementing the game of Pig, only a single turn of this game. The value of N will be acquired via user...