Question
Question: Five students were asked how many months had passed since their last visit to a dentist. They said 6...
Five students were asked how many months had passed since their last visit to a dentist. They said 6, 16, 12, 22, 29. How do you construct a 95 confidence interval for the mean number of months elapsed since their last visit?
Solution
We are required to know and understand the basic concepts of statistics in order to solve such problems. Using basic formulae, we shall solve this question. We first calculate the mean and standard deviation for the given data. Then we need to tune our answer according to the 95 confidence interval and obtain the result.
Complete step-by-step solution:
To solve this question, let us first find the mean and the standard deviation for the given data. To calculate the mean, we use the formula
⇒X=ni=1∑nXi
Here, Xi represents the all-individual data in the set that is, 6, 16, 12, 22 and 29 in this case. n represents the total amount of data. Substituting these values,
⇒X=56+16+12+22+29
Adding all the terms in the numerator and dividing by 5,
⇒X=585=17
Hence, the mean is 17. Now we calculate the standard deviation by using the formula,
⇒s=n−11(i=1∑nXi2−nX2)
Substituting the values,
⇒s=5−11((62+162+122+222+292)−5×172)
Squaring and adding the terms in the brackets,
⇒s=41(1761−1445)
Subtracting the terms and dividing by 4,
⇒s=4316=79
Taking the square root of 79,
⇒s=8.8881
We can now calculate the confidence upper and lower levels by using the t-critical value. The significance level α for the 95 confidence interval can be calculated as,
⇒α=1−0.95=0.05
The degrees of freedom for the t-distribution is
⇒Degrees of freedom=n−1
Substituting n as 5,
⇒Degrees of freedom=5−1=4
For the given significance level α and degree of freedom, the t-critical value t2α,n−1 can be obtained from the t-table as,
⇒2Pt4>t2α,n−1=0.05
⇒2P(t4>2.77)=0.05
To calculate the interval, we use the formula
⇒X−t2α,n−1.ns<μ<X+t2α,n−1.ns
Substituting the values,
⇒(17−2.776.58.8881<μ<17+2.776.58.8881)
Simplifying the above expression,
⇒(17−2.776×3.9749<μ<17+2.776×3.9749)
Multiplying the terms,
⇒(17−11.0343<μ<17+11.0343)
Adding and subtracting,
⇒5.966<μ<28.034
**Hence, the 95 confidence interval for the mean number of months elapsed since their last visit 5.966<μ<28.034. **
Note: It is important to know the basics of statistics and we need to know the concept of confidence level calculation in order to answer such questions. We need to remember the formulae for all the important parameters such as significance level, mean, standard deviation, degrees of freedom, etc in order to calculate to solve such questions.