View source: R/cochranq.test.R
cochranq.test | R Documentation |
Tipo mc nemar ma per più di due tempi o più di due trattamenti, nulla che la proporzione sia la stessa.
cochranq.test(mat)
https://statisticaconr.blogspot.com/2011/10/cochran-q-test-in-r-nonparametric-test.html and https://stat.ethz.ch/pipermail/r-help/2006-September/113156.html
mydata <- matrix(c(
1, 1, 0,
0, 1, 0,
1, 1, 1,
0, 1, 0,
0, 1, 0,
0, 1, 1,
0, 0, 0,
0, 1, 0,
1, 1, 0,
0, 1, 0,
0, 0, 0,
0, 0, 1),
nrow = 12,
byrow = T,
dimnames = list(1 : 12,
c("MarcaA", "MarcaB", "MarcaC")))
cochranq.test(mydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.