Learn R Programming

ordinalTables (version 1.0.0.3)

Stuart_marginal_homogeneity: Computes Stuart's Q test of marginal homogeneity.

Description

Stuart, A. (1955). A test for homogeneity of the marginal distributions in a two-way classification. Biometrika, 42(3/4), 412-416.

Usage

Stuart_marginal_homogeneity(n)

Value

a list containing q: value of q test-statistic df: degrees of freedom p: upper tail p-value of q

Arguments

n

matrix of observed counts

Examples

Run this code
Stuart_marginal_homogeneity(vision_data)

Run the code above in your browser using DataLab