Overview of course

Note: Lectures and exercises classes are both for master students enrolled in the course Applied Statistics, block 2, 2020 and for PhD students on Statistical methods for the Biosciences I, block 2, 2020.

Session number Date Topic Book pages Details
1 November 18, 2020 Basic principles Chapters 1, 3, and 4 link
2 November 25, 2020 Counts and proportions Chapter 6 (possibly skipping 6.1 and 6.3) link
3 December 2, 2020 Categorical regression Chapter 10 (skipping 10.1.2 and 10.1.3) link
4 December 9, 2020 Regression analysis + Analysis of Variance Chapters 7 link
5 December 16, 2020 Random effects + Repeated measurements Chapter 9 (skipping 9.4, 9.6 and 9.7) link
6 January 6, 2021 Non-linear regression + Design of Experiments + Mediation and Confounding Chapters 11 link

Details for each day of the course

Day 1: November 18, 2020

Link to online teaching (lectures)

Link to online teaching (exercise classes at 12:45)

Link to online teaching (exercise with TA / Phillip)

I suggest that you always start by using the first link for exercise classes when you log on at 12:45!

Slides

Exercise sheet

Data (from lectures and exercises)

R - programs (for lectures and some exercises)

  • Feeding concentrate and milk yield: feed_concentrate.R
  • Data example 1 from slides (Change in glucose level): glucose.R
  • Data example 3 from slides (Phosphor concentration in lakes): lakes.R
  • Part of the solution to Exercise 1.5: hint1_5.R

Day 2: November 25, 2020

Link to online teaching (lectures)

Link to online teaching (exercise classes at 12:45 by Bo Markussen)

Link to online teaching (exercise classes at 12:45 by Phillip)

LabApplStat R-package (by Bo Markussen)

Bo Markussen (who developed the teaching material for this course) has created an R-package LabApplStat that you are asked to install on your computer.

If you are using the latest version of R (4.0.3), and you have installed the devtools R-package on your computer, then you should be able to install LabApplStat directly from github by running

devtools::install_github("bomarkussen/LabApplStat",upgrade="never")

You may also save the following tar.gz-file and install the package by running

install.packages("myfolder/LabApplStat_1.4.0.tar.gz", repos = NULL, type = "source")

Slides

Papers

  • Sifting the evidence—what’s wrong with significance tests?: Sifting the evidence
  • Beyond Power Calculations: Assessing Type S (Sign) and Type M (Magnitude) Errors: Type S M error

Exercise sheet

Data (from lectures and exercises)

R - programs (for lectures and some exercises)

Day 3: December 2, 2020 (NB: Change of program!)

Important:

Exercise classes on December 2, 2020 are cancelled. Lectures have been moved until afternoon (12:45) and you have to use the following link.

Slides

Exercise sheet

Data (from lectures and exercises)

R - programs (for lectures and some exercises)

Day 4: December 9, 2020

Link to lectures

Link to exercises with Phillip.

Link to exercises with Bo.

Exercise classes start at 12.45.

You are in the same exercise class as you were last time. You can see what class you belong to in this document.

Slides

Exercise sheet

Bo and I will walk you through exercises 4.1 and/or (depending on time) 4.2 at the end of the class.

All R scripts, data files and exercise solutions (R scripts) are available in this zip file: download

For anyone attending my class: I live-coded a small script when we walked through exercises 4.1 and 4.2, which is available here: download

Day 5: December 16, 2020

Link to lectures

Link to exercises with Phillip.

Link to exercises with Bo.

Slides

Exercise sheet

We will go through exercise 5.2 at the end of the class. This walkthrough will not be recorded.

All R scripts, data files and exercise solutions (R scripts) are available in this zip file: download

Day 6: January 6, 2021

Link to lectures

Link to exercises with Phillip.

Link to exercises with Bo.

Slides

Exercise sheet

All R scripts, data files and exercise solutions (R scripts) are available in this zip file: download