ifr_cochran_qtest: Cochran Q Test

View source: R/ifr-cochran-q-test.R

ifr_cochran_qtestR Documentation

Cochran Q Test

Description

Test if the proportions of 3 or more dichotomous variables are equal in the same population.

Usage

ifr_cochran_qtest(data, ...)

Arguments

data

a data.frame or tibble

...

columns in data

Value

ifr_cochran_qtest returns an object of class "ifr_cochran_qtest". An object of class "ifr_cochran_qtest" is a list containing the following components:

df

degrees of freedom

n

number of observations

pvalue

p value

q

cochran's q statistic

Deprecated Function

infer_cochran_test() has been deprecated. Instead use ifr_cochran_qtest().

References

Sheskin, D. J. 2007. Handbook of Parametric and Nonparametric Statistical Procedures, 4th edition. : Chapman & Hall/CRC.

Examples

ifr_cochran_qtest(exam, exam1, exam2, exam3)


inferr documentation built on April 4, 2025, 2:08 a.m.