Values separated by spaces:
            Df Sum Sq Mean Sq F value Pr(>F)   
group        2   7434    3717   7.978 0.0019 **
Residuals   27  12579     466                  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
    Welch Two Sample t-test
data:  controls$density and lows$density
t = -1.0761, df = 16.191, p-value = 0.2977
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -33.83725  11.03725
sample estimates:
mean of x mean of y 
    601.1     612.5 No sig. difference here.
    Welch Two Sample t-test
data:  controls$density and highs$density
t = -3.7155, df = 14.831, p-value = 0.002109
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -59.19139 -16.00861
sample estimates:
mean of x mean of y 
    601.1     638.7 These are different.
    Welch Two Sample t-test
data:  lows$density and highs$density
t = -3.2523, df = 17.597, p-value = 0.004525
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -43.15242  -9.24758
sample estimates:
mean of x mean of y 
    612.5     638.7 These are different too.
  Tukey multiple comparisons of means
    95% family-wise confidence level
Fit: aov(formula = density ~ group, data = rats)
$group
                  diff       lwr       upr     p adj
Highjump-Control  37.6  13.66604 61.533957 0.0016388
Lowjump-Control   11.4 -12.53396 35.333957 0.4744032
Lowjump-Highjump -26.2 -50.13396 -2.266043 0.0297843Look at P-values for the two tests:
Comparison        Tukey    t-tests
----------------------------------
Highjump-Control 0.0016     0.0021
Lowjump-Control  0.4744     0.2977
Lowjump-Highjump 0.0298     0.0045Assumptions:
Find median of all bone densities, regardless of group
Count up how many observations in each group above or below overall median
Test association between group and above/below
Mood’s median_test (over).
oneway.test as shown (for illustration):
    One-way analysis of means (not assuming equal variances)
data:  density and group
F = 8.8164, num df = 2.000, denom df = 17.405, p-value = 0.002268PMCMRplus. Install first.# gamesHowellTest(density ~ group, data = rats)
gamesHowellTest(density ~ factor(group), data = rats)         Control Highjump
Highjump 0.0056  -       
Lowjump  0.5417  0.0120  Careful: explanatory must be factor (so commented-out line does not work).
For two or more samples:
Comments