Q. 6.140
Question
Desert Samaritan Hospital in Mesa, Arizona, keeps records of emergency room traffic. Those records reveal that the times between arriving patients have a special type of reverse-J-shaped distribution called an exponential distribution. The records also show that the mean time between arriving patients is 8 minutes.
a. Use the technology of your choice to simulate four random samples of interarrival times each.
b. Obtain a normal probability plot of each sample in part (a).
c. Are the normal probability plots in part (b) what you expected? Explain your answer.
Step-by-Step Solution
Verifieda. The simulate four random samples of patient's samples are
b. A normal probability plot of each sample the plot will be,
c. As we can see in the figure the population distribution is normally distributed. The plot is not regular linear, the variables are not roughly normally distributed.
To explain simulate the random patients which has interarrival time for each with mean time. The number of samples and mean of arrival.
Mean .
Let's take
Then sing MATLAB create a random matrix which has the mean
We will use the function
Here is the mean of arrival time and is the random sample.
rand
Put all the values into the above equation and get the random 4 samples such as
After solving the equation, we will get the answer.
Program:
Query:
We started by determining the quantity of samples.
Then make a matrix with an average arrival time of .
We shall arrive at a solution after simplifying.
To determine the create a normal probability plot for the random sample from part (a).
The number of samples and mean of arrival is given.
Mean.
Then sing MATLAB create a random matrix which has the mean
We will use the function
Here is the mean of arrival time and is the random sample.
Put all the values into the above equation and get the random samples such as
After solving the equation, we will get the answer.
Program:
Query:
We began by calculating the number of samples required.
Make a matrix with an average arrival time.
After simplifying, we'll arrive at a solution.
Draw a graph of the samples' normal probability distribution.
Explain your answer what would you expect from normal probability plot from part (b).
The figure the population distribution is normally distributed.
If the probability plot is regular linear, the variables are roughly normally distributed; if the plot is not regular linear, the variables are not roughly normally distributed.