129k views
2 votes
The categories of a categorical variable are given along with the observed counts from a sample. The expected counts from a null hypothesis are given in parentheses. Compute the x-test statistic, and use the x-distribution to find the p-value of the test. Category Observed (Expected) A 25 (20) B 35(40) C 50(60) D 90(80) Round your answer for the chi-square statistic to two decimal places, and your answer for the p-value to four decimal places. chi-square statistic = p-value = i

1 Answer

2 votes

Answer:

χ² = 4.80

Pvalue = 0.1874

Explanation:

Given :

Category Observed (Expected)

A 25 (20)

B 35(40)

C 50(60)

D 90(80)

The Chisquare statistic (χ²) is given by :

χ² = Σ(observed - Expected)² / Expected

χ² = (25-20)²/20 + (35-40)/40 + (50-60)²/60 + (90-80)²/80

χ² = 1.25 + 0.625 + 1.67 + 1.25

χ² = 4.795

χ² = 4.80 (2 decimal places)

Using the Chisquare Pvalue calculator :

df = n - 1 = 4 - 1 = 3

Pvalue = 0.1874

User Gosia
by
4.1k points