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
Applied Statistics in Business and Economics
- Introduce yourself and describe a time when you used data in a personal or professional decision. This could be anything from analyzing sales data on the job to making an informed purchasing decision about a home or car. Describe to Susan how to take a sample of the student population that would not represent the population well. Describe to Susan how to take a sample of the student population that would represent the population well. Finally, describe the relationship of a sample to a population and classify your two samples as random, systematic, cluster, stratified, or convenience.arrow_forward1.2.17. (!) Let G,, be the graph whose vertices are the permutations of (1,..., n}, with two permutations a₁, ..., a,, and b₁, ..., b, adjacent if they differ by interchanging a pair of adjacent entries (G3 shown below). Prove that G,, is connected. 132 123 213 312 321 231arrow_forwardYou are planning an experiment to determine the effect of the brand of gasoline and the weight of a car on gas mileage measured in miles per gallon. You will use a single test car, adding weights so that its total weight is 3000, 3500, or 4000 pounds. The car will drive on a test track at each weight using each of Amoco, Marathon, and Speedway gasoline. Which is the best way to organize the study? Start with 3000 pounds and Amoco and run the car on the test track. Then do 3500 and 4000 pounds. Change to Marathon and go through the three weights in order. Then change to Speedway and do the three weights in order once more. Start with 3000 pounds and Amoco and run the car on the test track. Then change to Marathon and then to Speedway without changing the weight. Then add weights to get 3500 pounds and go through the three gasolines in the same order.Then change to 4000 pounds and do the three gasolines in order again. Choose a gasoline at random, and run the car with this gasoline at…arrow_forward
- AP1.2 A child is 40 inches tall, which places her at the 90th percentile of all children of similar age. The heights for children of this age form an approximately Normal distribution with a mean of 38 inches. Based on this information, what is the standard deviation of the heights of all children of this age? 0.20 inches (c) 0.65 inches (e) 1.56 inches 0.31 inches (d) 1.21 inchesarrow_forwardAP1.1 You look at real estate ads for houses in Sarasota, Florida. Many houses range from $200,000 to $400,000 in price. The few houses on the water, however, have prices up to $15 million. Which of the following statements best describes the distribution of home prices in Sarasota? The distribution is most likely skewed to the left, and the mean is greater than the median. The distribution is most likely skewed to the left, and the mean is less than the median. The distribution is roughly symmetric with a few high outliers, and the mean is approximately equal to the median. The distribution is most likely skewed to the right, and the mean is greater than the median. The distribution is most likely skewed to the right, and the mean is less than the median.arrow_forwardDuring busy political seasons, many opinion polls are conducted. In apresidential race, how do you think the participants in polls are generally selected?Discuss any issues regarding simple random, stratified, systematic, cluster, andconvenience sampling in these polls. What about other types of polls, besides political?arrow_forward
- Please could you explain why 0.5 was added to each upper limpit of the intervals.Thanksarrow_forward28. (a) Under what conditions do we say that two random variables X and Y are independent? (b) Demonstrate that if X and Y are independent, then it follows that E(XY) = E(X)E(Y); (e) Show by a counter example that the converse of (ii) is not necessarily true.arrow_forward1. Let X and Y be random variables and suppose that A = F. Prove that Z XI(A)+YI(A) is a random variable.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