Question

1. For the following data: (a) Compute the value of the chi-square test statistic. (6) Test the hypothesis that X and Y are i

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Question 1

Solution:

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

Null hypothesis: H0: X and Y are independent.

Alternative hypothesis: Ha: X and Y are not independent.

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

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.05

Critical value = 5.991465

(by using Chi square table or excel)

Calculation tables for test statistic are given as below:

Observed Frequencies

Column variable

Row variable

X1

X2

X3

Total

Y1

87

74

34

195

Y2

12

32

18

62

Total

99

106

52

257

Expected Frequencies

Column variable

Row variable

X1

X2

X3

Total

Y1

75.11673

80.42802

39.45525

195

Y2

23.88327

25.57198

12.54475

62

Total

99

106

52

257

Calculations

(O - E)

11.88327

-6.42802

-5.45525

-11.8833

6.428016

5.455253

(O - E)^2/E

1.879902

0.513744

0.754267

5.912594

1.615807

2.372291

Chi square = ∑[(O – E)^2/E] = 13.0486

P-value = 0.001467

(By using Chi square table or excel)

P-value < α = 0.05

So, we reject the null hypothesis

There is not sufficient evidence to conclude that X and Y are independent.

Question 2

Solution:

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

Null hypothesis: H0: Health and happiness are not related.

Alternative hypothesis: Ha: Health and happiness are related.

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

We are given

Number of rows = r = 3

Number of columns = c = 3

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

α = 0.05

Critical value = 9.487729

(by using Chi square table or excel)

Calculation tables for test statistic are given as below:

Observed Frequencies

Column variable

Row variable

Excellent

Fair

Poor

Total

Very Happy

271

261

20

552

Pretty Happy

247

567

53

867

Not Too Happy

33

103

36

172

Total

551

931

109

1591

Expected Frequencies

Column variable

Row variable

Excellent

Fair

Poor

Total

Very Happy

191.1703

323.0119

37.81772

552

Pretty Happy

300.2621

507.3394

59.39849

867

Not Too Happy

59.56757

100.6486

11.78378

172

Total

551

931

109

1591

Calculations

(O - E)

79.82967

-62.0119

-17.8177

-53.2621

59.66059

-6.39849

-26.5676

2.351351

24.21622

(O - E)^2/E

33.33559

11.90507

8.394776

9.447916

7.015789

0.689255

11.84933

0.054932

49.76544

Chi square = ∑[(O – E)^2/E] = 132.4581

P-value = 0.0000

(By using Chi square table or excel)

P-value < α = 0.05

So, we reject the null hypothesis

There is sufficient evidence to conclude that Health and happiness are related.

Add a comment
Know the answer?
Add Answer to:
1. For the following data: (a) Compute the value of the chi-square test statistic. (6) Test...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please help step by step thank you ? 1. The following data represent the level of...

    Please help step by step thank you ? 1. The following data represent the level of happiness and level of health for a random sample of people. Does the evidence suggest that health and happiness are related at the a = 0.05 level? Health Excellent 271 247 Good 261 Fair 82 231 Poor 20 53 567 Happiness Very Happy Pretty Happy Not Too Happy 33 103 92 36 a. Highlight the words or phrases that tell you what type of...

  • Cross-Tabulation and Chi-Square Test Respondents were asked to assess their current health condition and to report...

    Cross-Tabulation and Chi-Square Test Respondents were asked to assess their current health condition and to report their social class. Data is in the table below Social Class Middle- and Upper Lower- and Working- Class Respondents Tetal Health Status Class Respondents Fair/Poor 220 136 Excellent/Good 472 521 Total 1. What is the independent variable? What is its level of measurement (nominal, ordinal, ratio)? What is the dependent variable? What is its level of measurement (nominal, ordinal, ratio)? 2. Use the frequencies...

  • Q1) Is there a relationship between marital status and happiness? The data in the table show...

    Q1) Is there a relationship between marital status and happiness? The data in the table show the marital status and happiness of individuals who participated in the General Social Survey. Use the chi-square test to determine if the listed occupations and personality preferences are independent at the 0.05 level of significance. Round Evalues to two decimal places. (Chapter 12) Marital Status Not Row Happiness Married married Total Very happy 600 290 890 Pretty happy 720 955 1675 Not too happy...

  • Perform a chi-square independence test using either p-value or critical value approach, provided the conditions for...

    Perform a chi-square independence test using either p-value or critical value approach, provided the conditions for using the test are met. Be sure to state the hypotheses and the significance level, to obtain the expected frequencies, to obtain the critical value, to compute the value of the test statistic, and to state your conclusion. 4) The table below shows the age and favorite type of music of 668 randomly selected people. Rock Jazz Classical 15-25 50 85 73 25-35 68...

  • A die was rolled 600 times with the following results. Use the Chi-square Goodness of Fit...

    A die was rolled 600 times with the following results. Use the Chi-square Goodness of Fit Test to test whether the die is balanced. Use a significance level of 0.05. Give the null and alternative hypotheses, test statistic value, decision rule, and p-value. value 1 2 3 4 5 6 Frequency 87 96 108 89 122 98

  • Calculate the test statistic. Chapter 12. Chi-Square Test Saved Help Save & Exit Su Check my...

    Calculate the test statistic. Chapter 12. Chi-Square Test Saved Help Save & Exit Su Check my w Given the following contingency table, conduct a test for Independence at the 5% significance level. (You may find It useful to reference the appropriate table: chi-square table or F table) Variable A points Variable B 36 35 31 51 eBook a. Choose the null and alternative hypotheses. Hint Ho: The two variables are independent.; HA: The two variables are dependent. O Ho: The...

  • 0 The following data represent the level Education of health and the level of education for...

    0 The following data represent the level Education of health and the level of education for Not a H.S. graduate a random sample of 1687 residents H.S. graduate Complete parts (a) and (b) below. Some college Bachelor Degree or higher Excellent 74 92 63 75 Good 134 121 148 137 Fair 109 95 80 105 Poor 118 93 126 117 (a) Does the sample evidence suggest that level of education and health are independent at the a=0.05 level of significance?...

  • please help Find the critical value and rejection region for the type of chi are test...

    please help Find the critical value and rejection region for the type of chi are test with sample size n and level of significance a. Two-tailed test n 12, a- 0.05 x2L = 4.575-X2R = 1 9.675; x2 < 4.575, x2 > 19.6 OX2L=3.816.x2R= 21.920-X2< 3.81 6.x2-1.920 。X2L = 2.603, X2R = 26.757: Χ2 < 2.6c x2 > 26.757 X2L = 3.053, X2R = 24.725; X2 ,053-X2 > 24.725 .5 QUESTION 22 Find the rejection region for the specified hypothesis...

  • 2 COMPUTE THE VALUE OF TEST STATISTIC 3 STATE A CONCLUSION USE THE A= 0.10 LEVEL...

    2 COMPUTE THE VALUE OF TEST STATISTIC 3 STATE A CONCLUSION USE THE A= 0.10 LEVEL OF SIGNIFICANCE ( REJECT OR NOT REJECT ) صلاه Height and age: Are older men shorter than younger men? According to a national report, the mean height for U.S. men is 69.4 inches. In a sample of 279 men between the ages of 60 and 69, the mean height was x = 68.9 inches. Public health officials want to determine whether the mean height...

  • Value: 2 For many students, calculating the chi square value is the most challenging part of conducting a chi square test so it is important to practice. Consider the following information An F1 tall...

    Value: 2 For many students, calculating the chi square value is the most challenging part of conducting a chi square test so it is important to practice. Consider the following information An F1 tall, round seed pea plant is crossed with a dwarf, wrinkled seed pea plant. The following offspring are observed: Tall, round: 510 Tall, wrinkled: 495 Dwarf, round: 490 Dwarf, wrinkled: 505 a. What is the expected phenotype ratio? ## or ####, depending on what you think the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT