
State the null and alternative hypothesis.
Find the degrees of freedom for the
Find the critical value of chi-square from Appendix E or from Excel’s
Calculate the chi-square test statistics at 0.05 level of significance.
Interpret the p-value.
Check whether the conclusion is sensitive to the level of significance chosen, identify the cells that contribute to the chi-square test statistic and check for the small expected frequencies.
Perform a two-tailed, two-sample z test for

Answer to Problem 30CE
The null hypothesis is:
And the alternative hypothesis is:
The degrees of freedom for the contingency table is 1.
The critical-value using EXCEL is 3.841.
The chi-square test statistics at 0.05 level of significance is 1.50.
The p-value for the hypothesis test is 0.221.
There is enough evidence to conclude that the correct response and type of cola are independent.
The conclusion is not sensitive to the level of significance chosen.
The cells (1, 1) and (1, 2) contribute the most to the chi-square test statistic.
There is no expected frequencies that are too small.
It is verified that
Explanation of Solution
The table summarizes the grade and order of papers handed in.
The claim is to test whether the data provide sufficient evidence to conclude that the grade and order handed in are independent. If the claim is rejected, then the grade and order handed in are not independent.
The test hypotheses are given below:
Null hypothesis:
Alternative hypothesis:
The degrees of freedom can be obtained as follows:
Substitute 2 for r and 2 for c.
Thus, the degrees of freedom for the contingency table is 1.
Procedure for critical-value using EXCEL:
Step-by-step software procedure to obtain critical-value using EXCEL software is as follows:
- Open an EXCEL file.
- In cell A1, enter the formula “=CHISQ.INV.RT(0.05,1)”
- Output using EXCEL software is given below:
Thus, the critical-value using EXCEL is 3.841.
Test statistic:
Software procedure:
Step by step procedure to obtain the chi-square test statistics and p-value using the MINITAB software:
- Choose Stat > Tables >Cross Tabulation and Chi-Square.
- Choose Row data (categorical variables).
- In Rows, choose Grade.
- In Columns, choose Order handed in.
- In Frequencies, choose Count.
- In Display, select Counts.
- In chi-square, select Chi-square test, Expected cell counts and Each cell’s contribution to chi-square.
- Click OK.
Output using the MINITAB software is given below:
Thus, the test statistic is 1.50 and the p-value for the hypothesis test is 0.221.
Rejection rule:
If the p-value is less than or equal to the significance level, then reject the null hypothesis
Conclusion:
Here, the p-value is greater than the level of significance.
That is,
Therefore, the null hypothesis is not rejected.
Thus, the data provide sufficient evidence to conclude that the correct response and type of cola are independent.
Take
Here, the p-value is greater than the level of significance.
That is,
Therefore, the null hypothesis is not rejected.
Thus, the data provide sufficient evidence to conclude that the correct response and type of cola are independent.
Thus, the conclusion is same for both the significance levels.
Hence, the conclusion is not sensitive to the level of significance chosen.
The cells (1, 1) and (1, 2) contribute the most to the chi-square test statistic.
Since all
Two-tailed, two-sample z test:
The test hypotheses are given below:
Null hypothesis:
Alternative hypothesis:
The proportion of “yes” responses to the regular cola is denoted as
Where
The proportion of number of “yes” responses to the diet cola is denoted as
Where
The pooled proportion is denoted as
Test statistic:
The z-test statistics can be obtained as follows:
Thus, the z-test statistic is –1.22.
The square of the z-test statistic is,
Thus the square of the z-test statistic is same as the chi-square statistics.
Procedure for p-value using EXCEL:
Step-by-step software procedure to obtain p-value using EXCEL software is as follows:
- Open an EXCEL file.
- In cell A1, enter the formula “=2*(1-NORM.S.DIST(–1.22,1))”
- Output using EXCEL software is given below:
Thus, the p-value using EXCEL is 1.778, which is not same as the p-value obtained in chi-square test. But the square of the z-test statistic is same as the chi-square statistics.
Thus, it is verified that
Want to see more full solutions like this?
Chapter 15 Solutions
Gen Combo Ll Applied Statistics In Business & Economics; Connect Access Card
- Your chance of winning a small prize in a scratch-off ticket is 10 percent. You buy five tickets. What’s the chance you will win at least one prize?arrow_forwardSuppose that 60 percent of families own a pet. You randomly sample four families. What is the chance that two or three of them own a pet?arrow_forwardIf 40 percent of university students purchase their textbooks online, in a random sample of five students, what’s the chance that exactly one of them purchased their textbooks online?arrow_forward
- A stoplight is green 40 percent of the time. If you stop at this light eight random times, what is the chance that it’s green exactly five times?arrow_forwardIf 10 percent of the parts made by a certain company are defective and have to be remade, what is the chance that a random sample of four parts has one that is defective?arrow_forwardQuestion 4 Fourteen individuals were given a complex puzzle to complete. The times in seconds was recorded for their first and second attempts and the results provided below: 1 2 3 first attempt 172 255 second attempt 70 4 5 114 248 218 194 270 267 66 6 7 230 219 341 174 8 10 9 210 261 347 218 200 281 199 308 268 243 236 300 11 12 13 14 140 302 a. Calculate a 95% confidence interval for the mean time taken by each individual to complete the (i) first attempt and (ii) second attempt. [la] b. Test the hypothesis that the difference between the two mean times for both is 100 seconds. Use the 5% level of significance. c. Subsequently, it was learnt that the times for the second attempt were incorrecly recorded and that each of the values is 50 seconds too large. What, if any, difference does this make to the results of the test done in part (b)? Show all steps for the hypothesis testarrow_forward
- Question 3 3200 students were asked about the importance of study groups in successfully completing their courses. They were asked to provide their current majors as well as their opinion. The results are given below: Major Opinion Psychology Sociology Economics Statistics Accounting Total Agree 144 183 201 271 251 1050 Disagree 230 233 254 227 218 1162 Impartial 201 181 196 234 176 988 Total 575 597 651 732 645 3200 a. State both the null and alternative hypotheses. b. Provide the decision rule for making this decision. Use an alpha level of 5%. c. Show all of the work necessary to calculate the appropriate statistic. | d. What conclusion are you allowed to draw? c. Would your conclusion change at the 10% level of significance? f. Confirm test results in part (c) using JASP. Note: All JASP input files and output tables should be providedarrow_forwardQuestion 1 A tech company has acknowledged the importance of having records of all meetings conducted. The meetings are very fast paced and requires equipment that is able to capture the information in the shortest possible time. There are two options, using a typewriter or a word processor. Fifteen administrative assistants are selected and the amount of typing time in hours was recorded. The results are given below: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 typewriter 8.0 6.5 5.0 6.7 7.8 8.5 7.2 5.7 9.2 5.7 6.5 word processor 7.2 5.7 8.3 7.5 9.2 7.2 6.5 7.0 6.9 34 7.0 6.9 8.8 6.7 8.8 9.4 8.6 5.5 7.2 8.4 a. Test the hypothesis that the mean typing time in hours for typewriters is less than 7.0. Use the 1% level of significance. b. Construct a 90% confidence interval for the difference in mean typing time in hours, where a difference is equal to the typing time in hours of word processors minus typing time in hours of typewriter. c. Using the 5% significance level, determine whether there is…arrow_forwardIllustrate 2/7×4/5 using a rectangular region. Explain your work. arrow_forward
- Write three other different proportions equivalent to the following using the same values as in the given proportion 3 foot over 1 yard equals X feet over 5 yardsarrow_forward2. An experiment is set up to test the effectiveness of a new drug for balancing people's mood. The table below contains the results of the patients before and after taking the drug. The possible scores are the integers from 0 to 10, where 0 indicates a depressed mood and 10 indicates and elated mood. Patient Before After 1 4 4 2 3 3 3 6 4 4 1 2 5 6 5 6 1 3 7 4 7 8 6 9 1 4 10 5 4 Assuming the differences of the observations to be symmetric, but not normally distributed, investigate the effectiveness of the drug at the 5% significance level. [4 Marks]arrow_forward3. (i) Consider the following R code: wilcox.test(UK Supermarkets $Salary ~ UKSupermarkets $Supermarket) (a) Which test is being used in this code? (b) What is the name of the dataset under consideration? How would be adapt this code if we had ties? What other command can be used which deals with ties? (ii) Consider the following R code: install packages("nortest") library(nortest) lillie.test (Differences) (a) Assuming the appropriate dataset has been imported and attached, what is wrong with this code? (b) If this code were to be corrected, what would be determined by run- ning it? [3 Marks]arrow_forward
- Big Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL


