Learn R Programming

ordinalTables (version 1.0.0.3)

Bhapkar_marginal_homogeneity: Bhapkar's (1979) test for marginal homogeneity

Description

Fits the marginal homogeneity model using WLS.

Usage

Bhapkar_marginal_homogeneity(n)

Value

a list containing the chi-square statistic, the df and p-value.

Arguments

n

matrix containing the table to analyze

Details

See: Bhapkar, V. P. (1966). A Note on the Equivalence of Two Test Criteria for Hypotheses in Categorical Data. Journal of the American Statistical Association, 61(313), pp.228-235.

Examples

Run this code
Bhapkar_marginal_homogeneity(vision_data)

Run the code above in your browser using DataLab