2 Comparing Two Means: Practical 9

You have previously undertaken a pen and paper practical where you calculated confidence intervals for the mean of a continuous (or quantitative) variable. You have also conducted a t-test and been introduced to the concept of analysis of variance (ANOVA). We will now carry out these tasks in R.

Before proceeding, ensure you are familiar with the basic concepts outlined in the Introduction to R in Practical 8. Especially ensure that you have installed the key packages tidyverse and epiDisplay and can read in data using the foreign package. Ensure you are working in an R notebook, copying code into chunks, and annotating your code as you go using RMarkdown. I suggest strongly working in pairs or splitting your screen.