To find:
To show that there is a relationship between age( by college classification) and destination.
Answer to Problem 18E
Solution:
There is no relationship between age( by college classification) and destination.
Explanation of Solution
The following table represents the random sample of college Spring Break vacationers produces the results is,
Observed Sample of 192 College Students | |||||
Beach | Mountains | City | Home | Total | |
Freshman | 19 | 2 | 7 | 24 | 52 |
Sophomore | 15 | 4 | 3 | 20 | 42 |
Junior | 18 | 1 | 9 | 19 | 47 |
Senior | 21 | 6 | 4 | 20 | 51 |
Total | 73 | 13 | 23 | 83 | 192 |
Step 1: To state the null and alternative hypotheses.
Let the null hypothesis be that relationship between age( by college classification) and destination are independent of one another.
Null hypothesis:
Alternative hypothesis:
Step 2: To determine which distribution to use for the test statistic, and state the level of significance.
To determine there is a relationship between age( by college classification) and destination. Since we assume that the necessary condition that have been met. So, use the chi-square test for this association and the level of siginificance is
Step 3: To calculate the test statistic.
First calculate the expected value for each cell in the
Formula for calculating expected value of a frequency in a contingency table:
The expected value of the frequency for the ith possible outcome in a contingency table is given by
Where n is the sample size.
From the above table represent the value of n is 192.
The
The expected values of for age( by college classification) and mountains is given below,
The expected values of for age( by college classification) and city is given below,
The expected values of for age( by college classification) and home is given below,
The table represents the contingency table of expected values by using the above formula is given below,
Expected values | |||||
Beach | Mountains | City | Home | Total | |
Freshman | 19.7708 | 3.5208 | 6.2292 | 22.4792 | 52 |
Sophomore | 15.9688 | 2.8438 | 5.0313 | 18.1563 | 42 |
Junior | 17.8698 | 3.1823 | 5.6302 | 20.3177 | 47 |
Senior | 19.3906 | 3.4531 | 6.1094 | 22.0469 | 51 |
Total | 73 | 13 | 23 | 83 | 192 |
Formula for calculating test statistic for a Chi-Square test for association:
The test statistic for a chi-square test for association is given below,
Where Oi, is the observed frequency for the ith possible outcome and Ei is the expected frequency for the ith possible outcome and n is the sample size.
From the above table represent the value of n is 192.
The test statistic,
The following table represents the chi square test statistic value s given below,
Observed | Expected | |||
19 | 19.7708 | -0.7708 | 0.5942 | 0.0301 |
15 | 15.9688 | -0.9688 | 0.9385 | 0.0588 |
18 | 17.8698 | 0.1302 | 0.0170 | 0.0009 |
21 | 19.3906 | 1.6094 | 2.5901 | 0.1336 |
2 | 3.5208 | -1.5208 | 2.3129 | 0.6569 |
4 | 2.8438 | 1.1563 | 1.3369 | 0.4701 |
1 | 3.1823 | -2.1823 | 4.7624 | 1.4965 |
6 | 3.4531 | 2.5469 | 6.4866 | 1.8785 |
7 | 6.2292 | 0.7708 | 0.5942 | 0.0954 |
3 | 5.0313 | -2.0313 | 4.1260 | 0.8201 |
9 | 5.6302 | 3.3698 | 11.3555 | 2.0169 |
4 | 6.1094 | -2.1094 | 4.4495 | 0.7283 |
24 | 22.4792 | 1.5208 | 2.3129 | 0.1029 |
20 | 18.1563 | 1.8438 | 3.3994 | 0.1872 |
19 | 20.3177 | -1.3177 | 1.7364 | 0.0855 |
20 | 22.0469 | -2.0469 | 4.1897 | 0.1900 |
So, the value of test statistic,
Step 4:
Draw a conclusion and interpret the decision.
Degrees of freedom in a Chi-square test for association:
In a chi-square test for association the number of degrees of freedom for the chi-square distribution of the test statistic is given by,
Where R is the number of rows of the data in the contingency table (not including the row total and C is the number of columns of data in the contingency table (not including the column totals).
Rejection Region for Chi-Square Test for Association:
Reject the null hypothesis,
From the given information R = 4 and C = 4.
Substitute the above values in the formula of degrees of freedom to get the following,
The number of degrees of freedom for this test is 9.
Use the level of significance of
Use the “Area to the right of the critical value
The test statistic value is
Comparing the test statistic and critical value to get the following,
So, there is no relationship between age( by college classification) and destination.
Final statement:
There is no relationship between age( by college classification) and destination.
Want to see more full solutions like this?
Chapter 10 Solutions
Beginning Statistics, 2nd Edition
- 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