Question

In: Statistics and Probability

use the following contingency table a b c total 1 15 30 45 90 2 40...

use the following contingency table

a b c total
1 15 30 45 90
2 40 45 50 135
total 55 75 95 225

a. compute the expected frequency for each cell

b. compute x^2stat. is it significant at a=0.01

Solutions

Expert Solution

Solution:

Here, we have to use chi square test for independence of two categorical variables.

Null hypothesis: H0: Two variables are independent.

Alternative hypothesis: Ha: Two variables are dependent.

We assume level of significance = α = 0.01

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

We are given

Number of rows = r = 2

Number of columns = c = 3

Degrees of freedom = df = (r – 1)*(c – 1) = 1*2 = 2

α = 0.01

Critical value = 9.21034

(by using Chi square table or excel)

Calculation tables for test statistic are given as below:

Observed Frequencies

Column variable

Row variable

a

b

c

Total

1

15

30

45

90

2

40

45

50

135

Total

55

75

95

225

(Part a answer)

Expected Frequencies

Column variable

Row variable

a

b

c

Total

1

22

30

38

90

2

33

45

57

135

Total

55

75

95

225

Calculations

(O - E)

-7

0

7

7

0

-7

(O - E)^2/E

2.227273

0

1.289474

1.484848

0

0.859649

Test Statistic = Chi square = ∑[(O – E)^2/E] = 5.861244

(Part b answer)

χ2 statistic = 5.861244

P-value = 0.053364

(By using Chi square table or excel)

P-value > α = 0.01

So, we do not reject the null hypothesis

This test is not significant at α = 0.01.


Related Solutions

Use the following contingency table to complete​. A B C Total 1 10 25 55 90...
Use the following contingency table to complete​. A B C Total 1 10 25 55 90 2 40 50 60 150 Total 50 75 115 240 a. Compute the expected frequencies for each cell. b. Set up the null and alternative hypotheses to test. c. Compute X2STAT Is it significant at α=0.01​? d. Compute P-Value e.Is X2STAT significant at α=0.01​?
Use the following contingency table to complete​ (a) and​ (b) below. A B C Total 1...
Use the following contingency table to complete​ (a) and​ (b) below. A B C Total 1 15 35 40 90 2 30 35 45 110 Total 45 70 85 200 (a). Compute the expected frequencies for each cell. (b) Compute χ2STAT. Is it significant at α=0.01​?
Use the following contingency table to complete​ (a) and​ (b) below. A B C Total 1...
Use the following contingency table to complete​ (a) and​ (b) below. A B C Total 1 15 30 45 90 2 45 50 55 150 Total 60 80 100 240 a. Compute the expected frequencies for each cell. A B C 1 2 ​(Type integers or​ decimals.) b. Compute χ2STAT. is it significant at α=0.005​? Set up the null and alternative hypotheses to test. Choose the correct answer below. H0​: πA= πB= πC H1​:Not all πj are equal​ (where j=​A,...
Group A Group B Subject 1 40 30 Subject 2 42 45 Subject 3 30 38...
Group A Group B Subject 1 40 30 Subject 2 42 45 Subject 3 30 38 Subject 4 37 32 Subject 5 23 28 A small hypothetical study explored the response to two treatments where each subject in the study received both treatments (e.g. in a cross-over design). The data are given below 1) Analyze the information using a paired t-test (e.g. with GraphPad) a) What is the observed value of the test statistic from this test? b) What can...
The water in a 40-L tank is to be heated from 15°C to 45°C by a...
The water in a 40-L tank is to be heated from 15°C to 45°C by a 25-cm-diameter spherical heater whose surface temperature is maintained at 85°C. Determine how long the heater should be kept on. Given: The properties of air at 1 atm and the film temperature of 57.5°C. Fluid temperature = Average temperature for water (15+45)/2=30°C k = 0.6515 W/m.°C, v = 0.493 x 10-6 m2/s, Pr = 3.12, and ? = 0.501 x 10-3 K-1 The properties of...
Problem set 2: use the following table to answer questions 4-7 (40 pts total): # of...
Problem set 2: use the following table to answer questions 4-7 (40 pts total): # of children Frequencies 0 472 1 218 2 175 3 320 4 187 5 128 6 47 7 33 8 20 N 1,600 Please find the mean for numbers of children in this distribution (20 pts). # of children Frequencies How many # of children in each category: # of Children * Freq. in each column 0 472 0*472=0 1 218 2 175 3 320...
1. Show that the following wff is a contingency. (A → B) ∧ (B → ¬A)...
1. Show that the following wff is a contingency. (A → B) ∧ (B → ¬A) → A. 2. Show that the following wff is a tautology. (A → (B → C)) → ((A → B) → (A → C)). 3. Determine if the following wff is a tautology, contradiction, or a contingency. (A ∨ B) → (C ∨ A) ∧ (¬C ∨ B). 4. Write down the full DNF or full CNF of the following wff (P → ¬Q)...
Consider the following contingency table that is based on a sample survey. Column 1 Column 2...
Consider the following contingency table that is based on a sample survey. Column 1 Column 2 Column 3 Row 1 136 90 83 Row 2 96 54 88 Row 3 125 75 110 a. Write the null and alternative hypotheses for a test of independence for this table. H 0 : Rows and columns are ; H 1 : Row and columns are . b. Calculate the expected frequencies for all cells assuming that the null hypothesis is true. Round...
Consider the following contingency table that is based on a sample survey. column 1 column 2...
Consider the following contingency table that is based on a sample survey. column 1 column 2 column 3 row 1 137 86 77 row 2 93 51 86 row 3 126 76 112 a. Write the null and alternative hypotheses for a test of independence for this table. H0: Rows and columns are: Independent or dependent H1: Rows and columns are: Independent or dependent b. Calculate the expected frequencies for all cells assuming that the null hypothesis is true. Round...
Consider the following contingency table that is based on a sample survey. column 1 column 2...
Consider the following contingency table that is based on a sample survey. column 1 column 2 column 3 row 1 137 86 77 row 2 93 51 86 row 3 126 76 112 a. Write the null and alternative hypotheses for a test of independence for this table. H0: Rows and columns are: Independent or dependent H1: Rows and columns are: Independent or dependent b. Calculate the expected frequencies for all cells assuming that the null hypothesis is true. Round...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT