Overview
Two-sample tests
This week you will how to use and interpret the general linear model when the x variable is categorical and has two groups. Just as with single linear regression, the model puts a line of best through data and the model parameters, the intercept and the slope, have the same in interpretation The intercept is one of the group means and the slope is the difference between that, mean and the other group mean. You will also learn about the non-parametric equivalents - the tests we use when the assumptions of the general linear model are not met.
Learning objectives
The successful student will be able to:
understand the principles of two-sample tests
appreciate that two-sample tests with
lm()
are based on the normal distribution and thus have assumptionsappropriately select parametric and non-parametric two-sample tests
appropriately select paired and and unpaired two-sample tests
apply and interpret
lm()
andwilcox.test()
evaluate whether the assumptions of
lm()
are metscientifically report a two-sample test result including appropriate figures
Instructions
-
- 📖 Read Two-Sample tests
-
- 💻 Parametric two-sample test
- 💻 Non-parametric two-sample test
- 💻 Parametric paired-sample test
-
💻 Appropriately test whether a genetic modification was successful in increasing omega 3 fatty acids in Cannabis sativa.
💻 ….