1. Learn
  2. /
  3. Courses
  4. /
  5. Helsinki Open Data Science

Connected

Exercise

Good things come in Summary graphs

With large numbers of observations, graphical displays of individual response profiles are of little use and investigators then commonly produce graphs showing average (mean) profiles for each treatment group along with some indication of the variation of the observations at each time point, in this case the standard error of mean

$$se = \frac{sd(x)}{\sqrt{n}}$$

Instructions

100 XP
  • Create the summary data BPRSS with the mean and standard error of the variable bprs
  • Glimpse the data
  • Plot the mean profiles (with geom_errorbar() line commented out)
  • Uncomment the geom_errorbar() line and plot the mean profiles again
  • Note the considerable overlap in the mean profiles of the two treatment groups suggesting there might be little difference between the two groups in respect to the mean BPRS values