Hello all ! i have 20 of A and 20 of B, i spend 4 of 20 from A and 17 out of 20 B, i have calculate null hypothesis and alternative hypothesis and statistical results as below can someone make me correct and clear on this issue?
data <- c(4,17) #
Chi-squared test for given probabilities
X-squared = 8.0476, df = 1, p-value = 0.004556