t-test
One sample: compare
We are using the same data (from our sample) to estimate our variance. We estimated from the sample so this is a tricky situation.
It may seem strange that we know the true mean
This is relevant in Quantitative Genetics. If we have two pure (homozygote) lines and cross them into an F1 hybrid, we would know the mean from the parent generation that should be expected in the offspring, but there would be no genetic variance in the homozygote parent generation, and suddenly there will be lots in the offspring. So the t-test would be relevant here.
The formula
Similar to the z-score we calculate a
Note that this depends on
Just like with the
Two-sample t-test
This is the most common kind of t test. We have two samples (one from the treatment group
We also have the variance of the sample averages
Based on some assumptions and our null hypothesis, there are two things that should be true:
- If the sample variances are both part of the true variance, their average should approximate the true sample distribution:
- Based on the null hypothesis, we should expect:
With degrees of freedom
This is where statistics starts and our class ends :)