cochranq.test: Cochran's Q Test for Dependent Samples

Description Usage Arguments Value References Examples

View source: R/funciones.R

Description

A mean difference test for depending samples proposed by Marascuilo & McSweeny (1967).

Usage

1

Arguments

x

A matrix or data.frame

Value

A list with class "htest" containing the following components:

statistic: the value of the Cochran's Q statistic.

df: Degree of freedom of the Chi squared distribution corresponding to the test.

p.value: an approximate p-value for the test.

References

Conover, W. J. (1999) "Practical Nonparametric Statistics", 3rd Edition, Jhon Wiley & Sons.Inc

Examples

1
2
3
x = as.table(matrix(c(1,1,0,1,0,1,1,1,0,0,1,1,1,1,1,1,0,
1,1,1,0,1,1,1,1,1,0,0,0,1,1,0,1,0,1,1),ncol=3))
cochranq.test(x)

bencuben/nparametric documentation built on July 15, 2020, 2:54 a.m.