In: Statistics and Probability
Background: Morris Saldov conducted a study in
Eastern and Central Newfoundland in 1988 to examine public
attitudes towards social spending. In particular, the study tried
to determine if knowing someone on public assistance (yes, no)
affected one's views on social spending (too little, about right,
too much). The data from the study is summarized in the table
below.
Yes | No | Total | |
Too little | 38 | 7 | 45 |
About right | 17 | 13 | 30 |
Too much | 8 | 7 | 15 |
Total | 63 | 27 | 90 |
Source: Morris Saldov, Public Attitudes to Social Spending in Newfoundland," Canadian Review of Social Policy, 26, November 1990, pages 10-14.
Yes | No | |
Too little | ||
About right | ||
Too much |
You are interested in investigating whether the type of computer a person primarily uses and the type of car they drive are dependent. The table below shows the results of a survey.
Sedan | SUV | Truck | |
---|---|---|---|
Tablet | 75 | 91 | 53 |
Notebook | 93 | 98 | 38 |
Desktop | 129 | 119 | 29 |
What can be concluded at the αα = 0.10 significance level?
In Milwaukee, they randomly sampled 280 female voters, and 220 male voters. They collected data on the respondent's opinion on building a new sports stadium. We want to know whether there is good evidence that one's gender influences whether a person is for or against the new stadium. Use αα = 0.05.
For Bond Issue | Against Bond Issue | Total | |
---|---|---|---|
Men | 77 | 203 | 280 |
Women | 14 | 206 | 220 |
Total | 91 | 409 |
500 |
c) Chi Square Test Statistic = Incorrect 1 decimal place
a.
Given table data is as below
calculation formula for E table matrix
expected frequencies calculated by applying E - table matrix formulae
calculate chisquare test statistic using given observed frequencies, calculated expected frequencies from above
set up null vs alternative as null, Ho: no relation b/w X and Y OR X and Y are independent alternative, H1: exists a relation b/w X and Y OR X and Y are dependent level of significance, α = 0.05 from standard normal table, chi square value at right tailed, ᴪ^2 α/2 =5.991 since our test is right tailed,reject Ho when ᴪ^2 o > 5.991 we use test statistic ᴪ^2 o = Σ(Oi-Ei)^2/Ei from the table , ᴪ^2 o = 8.995 critical value the value of |ᴪ^2 α| at los 0.05 with d.f (r-1)(c-1)= ( 3 -1 ) * ( 2 - 1 ) = 2 * 1 = 2 is 5.991 we got | ᴪ^2| =8.995 & | ᴪ^2 α | =5.991 make decision hence value of | ᴪ^2 o | > | ᴪ^2 α| and here we reject Ho ᴪ^2 p_value =0.011 ANSWERS --------------- null, Ho: no relation b/w X and Y OR X and Y are independent alternative, H1: exists a relation b/w X and Y OR X and Y are dependent test statistic: 8.995 critical value: 5.991 p-value:0.011 decision: reject Ho |
we have enough evidence to support the claim that if knowing someone on public assistance (yes, no) affected one's views on social spending (too little, about right, too much).
b.
Given table data is as below
calculation formula for E table matrix
expected frequencies calculated by applying E - table matrix formulae
calculate chisquare test statistic using given observed frequencies, calculated expected frequencies from above
set up null vs alternative as null, Ho: no relation b/w X and Y OR X and Y are independent alternative, H1: exists a relation b/w X and Y OR X and Y are dependent level of significance, α = 0.1 from standard normal table, chi square value at right tailed, ᴪ^2 α/2 =7.779 since our test is right tailed,reject Ho when ᴪ^2 o > 7.779 we use test statistic ᴪ^2 o = Σ(Oi-Ei)^2/Ei from the table , ᴪ^2 o = 18.542 critical value the value of |ᴪ^2 α| at los 0.1 with d.f (r-1)(c-1)= ( 3 -1 ) * ( 3 - 1 ) = 2 * 2 = 4 is 7.779 we got | ᴪ^2| =18.542 & | ᴪ^2 α | =7.779 make decision hence value of | ᴪ^2 o | > | ᴪ^2 α| and here we reject Ho ᴪ^2 p_value =0.001 ANSWERS --------------- null, Ho: no relation b/w X and Y OR X and Y are independent alternative, H1: exists a relation b/w X and Y OR X and Y are dependent test statistic: 18.542 critical value: 7.779 p-value:0.001 decision: reject Ho |
we have enough evidence to support the claim that whether the type of computer a person primarily uses and the type of car they drive are dependent.
c.
Given table data is as below
------------------------------------------------------------------ calculation formula for E table matrix
------------------------------------------------------------------ expected frequencies calculated by applying E - table matrix formulae
------------------------------------------------------------------ calculate chisquare test statistic using given observed frequencies, calculated expected frequencies from above
------------------------------------------------------------------ set up null vs alternative as null, Ho: no relation b/w X and Y OR X and Y are independent alternative, H1: exists a relation b/w X and Y OR X and Y are dependent level of significance, α = 0.05 from standard normal table, chi square value at right tailed, ᴪ^2 α/2 =3.8415 since our test is right tailed,reject Ho when ᴪ^2 o > 3.8415 we use test statistic ᴪ^2 o = Σ(Oi-Ei)^2/Ei from the table , ᴪ^2 o = 36.9698 critical value the value of |ᴪ^2 α| at los 0.05 with d.f (r-1)(c-1)= ( 2 -1 ) * ( 2 - 1 ) = 1 * 1 = 1 is 3.8415 we got | ᴪ^2| =36.9698 & | ᴪ^2 α | =3.8415 make decision hence value of | ᴪ^2 o | > | ᴪ^2 α| and here we reject Ho ᴪ^2 p_value =0 ANSWERS --------------- null, Ho: no relation b/w X and Y OR X and Y are independent alternative, H1: exists a relation b/w X and Y OR X and Y are dependent test statistic: 36.9698 critical value: 3.8415 p-value:0 decision: reject Ho |
we have enough evidence to support the claim that whether there is good evidence that one's gender influences whether a person is for or against the new stadium.