# Example 7.8 from "Applied Nonparametric Statistical Methods" (5th edition)
cochran.q(ch7$outcome, ch7$climb, ch7$member, do.exact = FALSE, do.asymp = TRUE)
# Exercise 7.14 from "Applied Nonparametric Statistical Methods" (5th edition)
cochran.q(ch7$soc.media.use, ch7$participant, ch7$day, do.exact = FALSE, do.asymp = TRUE)
Run the code above in your browser using DataLab