Displaying 1 result from an estimated 1 matches for "mctm".
Did you mean:
ctm
2005 Sep 12
0
Help with a more flexible funtion for multiple comparision of means
...a sample:
a) Generating data and calling the function:
tra = gl(4, 5, label = c('A', 'B', 'C', 'D'))
blo = rep(1:5, 4)
pro = c(NA, 26, 20, 23, 21, 31, 25, 28, 27, 24, 22, 26, NA, 25, 29, 33, 29, 31,
34, NA)
x = aov(pro ~ tra) #or x= aov(pro ~ blo + tra)
res = mctm(x, which='tra', test='SNK', conf.level=0.95)
print(res)
b) The R output:
$Table
Tables of means
Grand mean
26.70588
tra
A B C D
22.5 27 25.5 31.75
rep 4.0 5 4.0 4.00
$Ordered means
tra
D B C A
31.75 27.00 25.50 22.50
$Result
D B...