powered by
Stuart, A. (1955). A test for homogeneity of the marginal distributions in a two-way classification. Biometrika, 42(3/4), 412-416.
Stuart_marginal_homogeneity(n)
a list containing q: value of q test-statistic df: degrees of freedom p: upper tail p-value of q
matrix of observed counts
Stuart_marginal_homogeneity(vision_data)
Run the code above in your browser using DataLab