?

AP® Statistics

Free Version

Upgrade subject to access all content

Moderate

Chi-Squared GOF Test

APSTAT-PXKYAE

The vegetable sales at a local convenience store last year broke down as follows: $34\%$ broccoli, $21\%$ peas, $18\%$ carrots, $17\%$ cabbage, and $10\%$ beans.

Recently a random sample of $123$ vegetable-buying customers found that $39$ bought broccoli, $23$ bought peas, $20$ bought carrots, $17$ bought cabbage, and $24$ bought beans. A chi-squared goodness of fit test was performed.

Determine the test statistic, p-value, and degrees of freedom.

A

Test statistic: $23.42$

P-value: $0.01$

Degrees of freedom: $122$

B

Test statistic: $12.57$

P-value: $0.01$

Degrees of freedom: $122$

C

Test statistic: $12.57$

P-value: $0.01$

Degrees of freedom: $4$

D

Test statistic: $23.42$

P-value: $0.025$

Degrees of freedom: $122$

E

Test statistic: $12.57$

P-value: p $<0.0005$

Degrees of freedom: $4$