Question
Question: A sample of \(50\) days showed that a fast food restaurant serves an average of \(182\) customers du...
A sample of 50 days showed that a fast food restaurant serves an average of 182 customers during lunch (between 11 am- 2 pm). The standard deviation of the sample is 8. Find the 95% confidence interval for the mean?
Solution
The confidence interval is given by the formula ⇒CI=x±E, where x is the mean, which is given to be equal to 182, and E is the margin of error given by E=zα/2nσ. Here σ is the standard deviation, given to be 8, n is the size of the sample, which is equal to 50, and α is the critical value given by α=1−CL. CL is equal to the confidence level, which is given to be equal to 95% or 0.95.
Complete step by step solution:
According to the question, the mean or the average value of the customers is equal to 182. Therefore, we can write the mean as
⇒x=182.......(i)
The number of days is equal to 50, which means the value of n is
⇒n=50........(ii)
The standard deviation of the sample is equal to 8, which means that
⇒σ=8.......(iii)
Now, we know that the confidence interval is given by
⇒CI=x±E.........(iv)
Where E is the margin of error given by
⇒E=zα/2nσ.......(v)
And the significance level is given by
⇒α=1−CL
Now, according to the question, the confidence level is equal to 95. Therefore, we substitute CL=0.95 in the above equation to get
⇒α=1−0.95⇒α=0.05
Now, substituting this in the equation (v) we get