data(BobBelcher)
BobBelcher$Instructor = factor( BobBelcher$Instructor,
levels = c("Linda Belcher", "Louise Belcher",
"Tina Belcher", "Bob Belcher",
"Gene Belcher"))
library(coin)
symmetry_test(Likert ~ Instructor | Rater, data= BobBelcher,
ytrafo = rank_trafo,
teststat = "quadratic")
PT = pairwisePermutationSymmetry(Likert ~ Instructor | Rater,
data = BobBelcher,
ytrafo = rank_trafo,
teststat = "quadratic",
method = "fdr")
PT
cldList(comparison = PT$Comparison,
p.value = PT$p.adjust,
threshold = 0.05)
Run the code above in your browser using DataLab