In: Statistics and Probability
My second question
A mental health service agency is conducting a study of how clients pay for the counseling services they receive. The agency accepts payment in one of four ways: in person, by mail, by credit card, or by third-party insurance. The agency randomly sampled 400 clients to determine if there is a relationship between the client’s age and the payment method used. The following sample results were obtained:
Counseling Service Payments
Payment Method | Age of Client | |||
---|---|---|---|---|
20-30 | 31-40 | 41-50 | Over 50 | |
In Person | 8 | 12 | 11 | 13 |
By Mail | 29 | 67 | 72 | 50 |
By Credit Card | 26 | 19 | 5 | 7 |
By Third-Party Insurance | 23 | 35 | 17 | 6 |
Based on the sample data, can the agency conclude there is a relationship between the age of the client and the payment method used? Conduct the appropriate test at the α = 0.01 level of significance.
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.01 from standard normal table, chi square value at right tailed, ᴪ^2 α/2 =21.666 since our test is right tailed,reject Ho when ᴪ^2 o > 21.666 we use test statistic ᴪ^2 o = Σ(Oi-Ei)^2/Ei from the table , ᴪ^2 o = 50.314 critical value the value of |ᴪ^2 α| at los 0.01 with d.f (r-1)(c-1)= ( 4 -1 ) * ( 4 - 1 ) = 3 * 3 = 9 is 21.666 we got | ᴪ^2| =50.314 & | ᴪ^2 α | =21.666 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: 50.314 critical value: 21.666 p-value:0 decision: reject Ho |
we have enough evidence to support the claim that the agency conclude there is a relationship between the age of the client and the payment method used.