Reputation: 13
I've been asked to calculate the z-value of standardized residuals in chi-square test, does this make sense? If so, how can it be calculated in R?
Example:
observed <- matrix(c(30, 10, 20, 15), nrow = 2, byrow = TRUE)
chi_sq_test <- chisq.test(observed)
Upvotes: 0
Views: 59