Use software to test the null hypothesis of whether there is a relationship between the two classifications, A and B, of the 3×3 contingency table shown below.
B1 | B2 | B3 | Total | |
A1 | 44 | 68 | 42 | 154 |
A2 | 53 | 70 | 48 | 171 |
A3 | 72 | 56 | 75 | 203 |
Total | 169 | 194 | 165 | 528 |
Test using ?=0.05.
(a) ?2=
(b) Find the degrees of freedom.
(c) Find the critical value. ?2=
Solution:
Here, we have to use the Chi square test for independence of two categorical variables.
The null and alternative hypotheses for this test are given as below:
Null hypothesis: H0: There is no relationship between the two classifications A and B.
Alternative hypothesis: Ha: There is a relationship between the two classifications A and B.
We are given
Level of significance = ? = 0.05
Test statistic formula is given as below:
Chi square = ?[(O – E)^2/E]
Where O is observed frequencies and E is expected frequencies.
E = row total * column total / grand total
Excel output for this test is given as below:
Chi-Square Test |
||||||||
Observed Frequencies |
||||||||
Column variable |
Calculations |
|||||||
Row variable |
B1 |
B2 |
B3 |
Total |
(O - E) |
|||
A1 |
44 |
68 |
42 |
154 |
-5.29167 |
11.41667 |
-6.125 |
|
A2 |
53 |
70 |
48 |
171 |
-1.73295 |
7.170455 |
-5.4375 |
|
A3 |
72 |
56 |
75 |
203 |
7.024621 |
-18.5871 |
11.5625 |
|
Total |
169 |
194 |
165 |
528 |
||||
Expected Frequencies |
||||||||
Column variable |
||||||||
Row variable |
B1 |
B2 |
B3 |
Total |
(O - E)^2/E |
|||
A1 |
49.29167 |
56.58333 |
48.125 |
154 |
0.568083 |
2.30351 |
0.779545 |
|
A2 |
54.73295 |
62.82955 |
53.4375 |
171 |
0.054869 |
0.818332 |
0.553289 |
|
A3 |
64.97538 |
74.58712 |
63.4375 |
203 |
0.759446 |
4.631913 |
2.107451 |
|
Total |
169 |
194 |
165 |
528 |
||||
Data |
||||||||
Level of Significance |
0.05 |
|||||||
Number of Rows |
3 |
|||||||
Number of Columns |
3 |
|||||||
Degrees of Freedom |
4 |
|||||||
Results |
||||||||
Critical Value |
9.487729 |
|||||||
Chi-Square Test Statistic |
12.57644 |
|||||||
p-Value |
0.013542 |
|||||||
Reject the null hypothesis |
||||||||
Expected frequency assumption |
||||||||
is met. |
Answers:
Part a
Chi square = 12.57644
(From above output)
Part b
Number of columns = c = 3
Number of rows = r = 3
Degrees of freedom = (c – 1)*(r – 1)
Degrees of freedom = (3 – 1)*(3 – 1)
Degrees of freedom = 2*2 = 4
Degrees of freedom = 4
Part c
We are given
Level of significance = ? = 0.05
Degrees of freedom = 4
So,
Critical value = 9.487729
(By using Chi square table or excel)
Use software to test the null hypothesis of whether there is a relationship between the two...
Use software to test the null hypothesis of whether there is a relationship between the two classifications, A and B, of the 3×3 contingency table shown below. Test using α=0.01. NOTE: You may do this by hand, but it will take a bit of time. B1 B2 B3 Total A1 40 68 55 163 A2 40 44 77 161 A3 64 71 63 198 Total 144 183 195 522 (a) χ2= (b) Find the degrees of freedom. (c) Find the...
(1 point) Use software to test the null hypothesis of whether there is a relationship between the two classifications, A and B, of the 3 x 3 contingency table shown below. Test using a0.05. NOTE: You may do this by hand, but it will take a bit of time. B1 B2 By Total Ai 73 55 42 170 A2 70 74 47 191 Аз 69174 79222 Total 212 203 168 583 (b) Find the degrees of freedom. (c) Find the...
Im using SPSS to test whether the researchers’ predictions are true and to determine the proportion of cholesterol concentration that is explained by time watching TV. but I dont know what test to run. please help DATA is below Case Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39...
Answer the following blanks for design column B2 Design Column B2: KL 30, Use an HSS section, Fy 46 ksi. pe 0.9 Use table 10.5 from handout Calculate the following: Column tributary area: Artb (At2) Total column load: Pu (kips)- Column nominal Load: Pr (Kkips)- Lightest Column Section: Column Selection Table Pu (kips)- BLE 10.5 Safe Factored Loads for Selected 46-ksi Yield Stress Tube Steel Columns Effective Length (KL) in feet Area (in.2) 06 8 10 12 14 16 18...
We are interested in the relationship between the compensation of Chief Executive Officers (CEO) of firms and the return on equity of their respective firm, using the dataset below. The variable salary shows the annual salary of a CEO in thousands of dollars, so that y = 150 indicates a salary of $150,000. Similarly, the variable ROE represents the average return on equity (ROE)for the CEO’s firm for the previous three years. A ROE of 20 indicates an average return...
Help with T-Account. I was able to match up the Assets but having issue with post closing balance and balancing up liabilities and equity. Any help will be highly appreciated. Insert page Lmyout Formulas Dats Renew View Developer N Pro 1U ?lel me what you want to do Cu God Neutral |Calculation. Ahti ΣΑυ¡Sum..ρ Formating" Table Debi Credil Journal Entry Solution: 04/01/19 Cash 2,500 Common Stock 25,000 Paid in Capital-CS 17,500 06/01/19 Cash 129,800 Preferred Stock 110,000 9 Toys for...
Partial payments are made on the dates indicated. Use the United States rule to determine the balance due on the note at the date of maturity. (The Effective Date is the date the note was written.) Assume the year is not a leap year. Effective Partial Payment Maturity Principal Date Amount Date Date $1900 19% Sept. 1 $500 Oct. 1 Dec. 1 $500 Nov. 1 Click the icon to view a table of the number of the day of the...
For the following two datasets labeled y1 and y2 match one quantity in column A with one quantity in column B. The sample means and variances are labeled as y1, y2, S12 and S22. The population means and variances from which they were drawn are labeled μ1,μ2, σ12, and σ22. Assume that the two samples are independent random samples. H0: μ1=μ2 against the alternative Ha: μ1≠μ2 using significance level α=.01. Using the data from problem 1 provide the following information...
A partial payment is made on the date indicated. Use the United States rule to determine the balance due on the note at the date of maturity. (The Effective Date is the date the note was written.) Assume the year is not a leap year. Effective Partial Payment Maturity Principal Rate Date Amount Date Date $4000 4% April 1 $1000 May 1 June 1 Click the icon to view a table of the number of the day of the year...
Please use C++ as a Programming language and do the tasks specified per the Guideline above and include comments of your work. Please make sure that the following test cases are working: Example 1 For input D13 D60 D76 D12 A17 D98 A94 D70 D3 A23 A42 D45 A100 D50 A99 A22 A87 A4 A90 D88 A71 A20 D39 D83 A97 A56 D28 A9 D43 A19 D5 A11 A54 A73 D54 A9 A24 A58 D6 D80 A72 A47 A82 A12...