a.
Find the value of the
a.
Answer to Problem 20E
The value of chi-square statistic is 0.965.
Explanation of Solution
Calculation:
The
Contingency table:
A contingency table is obtained as using two qualitative variables. One of the qualitative variable is row variable that has one category for each row of the table another is column variable has one category for each column of the table.
The hypotheses are:
Null Hypothesis:
Alternate Hypothesis:
Now, it is obtained that,
Gender | Male | Female | Row Total |
Optimistic | 1,148 | 815 | 1,963 |
Pessimistic | 225 | 178 | 403 |
Column Total | 1,373 | 993 | 2,366 |
Expected frequencies:
The expected frequencies in case of contingency table is obtained as,
Now, using the formula of expected frequency it is found that the expected frequency for the optimistic male is obtained as,
Hence, in similar way the expected frequencies are obtained as,
Gender | Male | Female |
Optimistic | ||
Pessimistic |
Chi-Square statistic:
The chi-square statistic is obtained as
The accept and reject can be rewritten as,
Male | 1 |
Female | 2 |
Test Statistic:
Software procedure:
Step -by-step software procedure to obtain test statistic using MINITAB software is as follows:
- Select Stat > Table > Cross Tabulation and Chi-Square.
- Check the box of Raw data (categorical variables).
- Under For rows enter Row.
- Under For columns enter Gender.
- Check the box of Count under Display.
- Under Chi-Square, click the box of Chi-Square test.
- Select OK.
- Output using MINITAB software is given below:
Thus, the value of chi-square statistic is 0.965.
b.
Find the proportion of men who were optimistic.
b.
Answer to Problem 20E
The proportion of men who were optimistic is 0.836.
Explanation of Solution
Calculation:
From part (a), it is found that,
Gender | Male | Female | Row Total |
Optimistic | 1,148 | 815 | 1,963 |
Pessimistic | 225 | 178 | 403 |
Column Total | 1,373 | 993 | 2,366 |
Hence, the proportion of men who were optimistic is,
Thus, the proportion of men who were optimistic is 0.836.
c.
Find the proportion of women who were optimistic.
c.
Answer to Problem 20E
The proportion of women who were optimistic is 0.821.
Explanation of Solution
Calculation:
From part (a), it is found that,
Gender | Male | Female | Row Total |
Optimistic | 1,148 | 815 | 1,963 |
Pessimistic | 225 | 178 | 403 |
Column Total | 1,373 | 993 | 2,366 |
Hence, the proportion of women who were optimistic is,
Thus, the proportion of women who were optimistic is 0.821.
d.
Find the test statistic z for testing the null hypothesis that the two proportions are equal versus the alternative that they are not equal.
d.
Answer to Problem 20E
The test statistic z for testing the null hypothesis that the two proportions are equal versus the alternative that they are not equal is 0.9821.
Explanation of Solution
Calculation:
Assume that
It is also assumed that
The random variables
The assumptions for performing a Hypothesis Test for the difference between two population proportions are defined as,
- The two random samples are independent to each other.
- Each population size is at least 20 times of the sample size.
- The individuals in the each sample are divided into two categories.
- The minimum sample size in each category is 10.
A random sample of 1,373 men and another random sample of 993 women are asked in the General Survey that whether they were optimistic about the future. There is no statistical relationship between these two samples. Hence, the two random samples are independent to each other.
The number of men and women in United States are much larger than the drawn samples. Hence, population size is more than 20 times of the sample size
The individuals in the each sample are classified in two categories. One is optimistic and another is pessimistic.
The sample size of men is 1,148 and the sample size of women is 815.
Now, as all the assumptions for performing a Hypothesis Test for the difference between two populations proportions are satisfied, then one can proceed to perform a Hypothesis Test for the difference between two population proportions.
The hypotheses are:
Null Hypothesis:
That is, the population proportions of men and proportion of women who were optimistic are same.
Alternative Hypothesis:
That is, the population proportions of men and proportion of women who were optimistic are not same.
The test statistic z is defend as
The pooled proportion is defined as
From part (a), it is found that,
Gender | Male | Female | Row Total |
Optimistic | 1,148 | 815 | 1,963 |
Pessimistic | 225 | 178 | 403 |
Column Total | 1,373 | 993 | 2,366 |
Thus,
From part (b), it is found that,
Hence, the proportion of men who were optimistic is 0.836.
Therefore,
From part (c) it is found that proportion of women who were optimistic is 0.821.
Therefore,
Hence,
Thus, the test statistic value is,
e.
Prove that
e.
Explanation of Solution
Calculation:
From part (a), it is found that
Hence,
From part (a), it is found that value of chi-square statistic is 0.965.
Hence, it is proved that
f.
Find the P-values for each of these tests using technology.
Prove that P-values are equal.
f.
Answer to Problem 20E
The P-values for each of these tests is 0.326.
Explanation of Solution
Calculation:
From part (a), it is found that the P-value for the chi square test is 0.326.
Using z test:
Software procedure:
Step by step procedure to obtain the P-values using the MINITAB software is given below:
- Choose Stat > Basic Statistics > 2 Proportions.
- Choose Summarized data.
- In First sample, enter Trials as 1,373 and
Events as 1,148. - In Second sample, enter Trials as 993 and Events as 815.
- Check Perform hypothesis test.
- Under Test Method choose Use the pooled estimate of the proportion.
- Click OK.
The output is MINITAB software is given below:
Therefore, the P-value is 0.326.
Hence, it is proved that the P-values for each of these tests are same.
g.
Conclude that when a contingency table has two rows and two columns, the chi square tests equivalent to the test for the difference between proportions.
g.
Explanation of Solution
It is found that the P-values for chi-square test and z test are same. Moreover, the square of z test statistic is same as the chi-square test statistic.
Hence, it can be concluded that when a contingency table has two rows and two columns, the chi square tests equivalent to the test for the difference between proportions.
Want to see more full solutions like this?
Chapter 10 Solutions
Essential Statistics
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman