In: Statistics and Probability
The director of library services at a college did a survey of types of books (by subject) in the circulation library. Then she used library records to take a random sample of 888 books checked out last term and classified the books in the sample by subject. The results are shown below.
Subject Area | Percent of
Books on Subject in Circulation Library on This Subject |
Number of
Books in Sample on This Subject |
Business | 32% | 259 |
Humanities | 25% | 228 |
Natural Science | 20% | 221 |
Social Science | 15% | 101 |
All other subjects | 8% | 79 |
Using a 5% level of significance, test the claim that the subject distribution of books in the library fits the distribution of books checked out by students.
(a) What is the level of significance?
State the null and alternate hypotheses.
H0: The distributions are the same.
H1: The distributions are
different.H0: The distributions are
different.
H1: The distributions are
different. H0: The
distributions are the same.
H1: The distributions are the
same.H0: The distributions are different.
H1: The distributions are the same.
(b) Find the value of the chi-square statistic for the sample.
(Round the expected frequencies to three decimal places. Round the
test statistic to three decimal places.)
Are all the expected frequencies greater than 5?
YesNo
What sampling distribution will you use?
chi-squareuniform normalbinomialStudent's t
What are the degrees of freedom?
(c) Estimate the P-value of the sample test statistic.
P-value > 0.1000.050 < P-value < 0.100 0.025 < P-value < 0.0500.010 < P-value < 0.0250.005 < P-value < 0.010P-value < 0.005
(d) Based on your answers in parts (a) to (c), will you reject or
fail to reject the null hypothesis of independence?
Since the P-value > ?, we fail to reject the null hypothesis.Since the P-value > ?, we reject the null hypothesis. Since the P-value ? ?, we reject the null hypothesis.Since the P-value ? ?, we fail to reject the null hypothesis.
(e) Interpret your conclusion in the context of the
application.
At the 5% level of significance, the evidence is sufficient to conclude that the subject distribution of books in the library is different from that of books checked out by students.At the 5% level of significance, the evidence is insufficient to conclude that the subject distribution of books in the library is different from that of books checked out by students.
a) Level of Significance
State the null and alternate hypotheses.
H0: The distributions are the same.
H1: The distributions are different.
b) The Expected frequencies and chi square test statistic are given below
Subject Area | Percent of Books on Subject in Circulation | Number of Books in | ||
Library on This Subject (p) | Sample on This Subject (O) | Exp. Freq. E = np | (O-E)^2/E | |
Business | 32% | 259 | 284.16 | 2.228 |
Humanities | 25% | 228 | 222 | 0.162 |
Natural Science | 20% | 221 | 177.6 | 10.606 |
Social Science | 15% | 101 | 133.2 | 7.784 |
All other subjects | 8% | 79 | 71.04 | 0.892 |
Total | 888 | 888 | 21.671 |
Are all the expected frequencies greater than 5?
Answer: Yes
What sampling distribution will you use?
Answer: chi-square
What are the degrees of freedom?
Answer: degrres if freedom = n-1= 5-1=4
Under H0, the test statistic is
c) The P-Value is 0.000233
The p value < 0.005
d) Since the P-value ? ?, we reject the null hypothesis.Since the P-value ? ?, we fail to reject the null hypothesis.
e) At the 5% level of significance, the evidence is sufficient to conclude that the subject distribution of books in the library is different from that of books checked out by students.