infer_cochran_qtest: Cochran Q Test

Description Usage Arguments Value Deprecated Function References Examples

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

Description

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

Usage

1

Arguments

data

a data.frame or tibble

...

columns in data

Value

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

n

number of observations

df

degrees of freedom

q

cochran's q statistic

pvalue

p-value

Deprecated Function

cochran_test() has been deprecated. Instead use infer_cochran_qtest().

References

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

Examples

1
infer_cochran_qtest(exam, exam1, exam2, exam3)

rsquaredacademy/inferr documentation built on Oct. 4, 2018, 5:43 a.m.