You are trying to find out whether it is possible to detect a 10% change in transpiration if you apply a certain treatment to forest trees, and your funding restricts you to a sample size of 8 trees:
In a pilot study you find a mean of 4 \(Ld^{-1}\) (liters per day) with a standard deviation of 2 \(Ld^{-1}\). The expected difference is 1 \(Ld^{-1}\)
We simulate a t-test based on these assumptions, what do we conclude?
t.test(rnorm(8, mean = 4, sd = 2), rnorm(8, mean = 5, sd = 2))
Welch Two Sample t-test
data: rnorm(8, mean = 4, sd = 2) and rnorm(8, mean = 5, sd = 2)
t = 0.4066, df = 13.86, p-value = 0.6905
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-1.943 2.851
sample estimates:
mean of x mean of y
4.884 4.430