Lab Answer the follwoing questions part1 To create the expec

Lab- Answer the follwoing questions- part1-

To create the expected matrix for a contingency table. To conduct a chi-square test for independence using p-values. Use the data provided in the table below to test (at the 10% level of significance) if a person\'s preference about the type of pet they own is independent of their gender. Label column C1 Male and column C2 Female. Enter the observed frequencies in the table below into the appropriate cells in Row 1 and Row 2 in Minitab. You should end up with a 2 X 2 matrix. Use the formula Expected Count = Row total X Column Total to fill in the expected matrix for the contingency table. Note. You will not need to enter these in Minitab. This step is just to practice calculating expected cell counts.

Solution

Observed Frequencies

Column variable

Row variable

Male

Female

Total

cat

21

29

50

dog

38

32

70

Total

59

61

120

Expected Frequencies

Column variable

Row variable

Male

Female

Total

cat

24.5833

25.4167

50

dog

34.4167

35.5833

70

Total

59

61

120

Chi-Square Test for Association: Worksheet rows, Worksheet columns

Rows: Worksheet rows   Columns: Worksheet columns

        Male Female All

1         21      29   50
       24.58   25.42

2         38      32   70
       34.42   35.58

All       59      61 120

Cell Contents:      Count
                    Expected count


Pearson Chi-Square = 1.761, DF = 1, P-Value = 0.184
Likelihood Ratio Chi-Square = 1.767, DF = 1, P-Value = 0.184


Do not reject the null hypothesis

Observed Frequencies

Column variable

Row variable

Male

Female

Total

cat

21

29

50

dog

38

32

70

Total

59

61

120

Expected Frequencies

Column variable

Row variable

Male

Female

Total

cat

24.5833

25.4167

50

dog

34.4167

35.5833

70

Total

59

61

120

Lab- Answer the follwoing questions- part1- To create the expected matrix for a contingency table. To conduct a chi-square test for independence using p-values.
Lab- Answer the follwoing questions- part1- To create the expected matrix for a contingency table. To conduct a chi-square test for independence using p-values.

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site