Skip to content

chisq.test

2 messages · Stephen Choularton, Peter Dalgaard

#
"Stephen Choularton" <mail at bymouth.com> writes:
Chi-squared test for given probabilities

data:  c(40, 30, 20)
X-squared = 6.6667, df = 2, p-value = 0.03567
No. You want to test different *hypotheses* about the distribution on
 the three groups. E.g. for 2:1:1 split:
Chi-squared test for given probabilities

data:  c(40, 30, 20)
X-squared = 3.3333, df = 2, p-value = 0.1889