Skip to content
/ ST2304 Public

Teaching material for ST2034: Statistical Modelling for Biologists/Biotechnologists

License

Notifications You must be signed in to change notification settings

oharar/ST2304

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ST2304

This is the material for ST2304 Statistisk modellering for biologer/bioteknologer (or ST2304 Statistical modelling for biologists/bioteknologists), which is run at NTNU. It includes a module for each week, and exercises starting at week 3. I have not included the solutions to the exercises, for obvious reasons.

Each module is written as an R markdown file. It includes explanations of the topic, in-class exercises (with hints and solutions) and links to videos and other material. In theory rendering the R markdown files will provide everytning, with the exception of embedded videos (see below).

Please consider the licence for this repo to be CC BY-NC-SA

Here are some extra resources, which might be helpful. If you find some more, please tell us and we can add them to the list.

Videos

The videos are hosted on NTNU's Panopto site. If you need to render the R Markdown files to create a new html file, the videos don't embed properly. So instead you need to embed them by hand. There are two ways to do this, depending on what we've done:

The easiest is if we have already added the html code in the RMarkdown document. If we have done this it will be commented out, so try this:

  • search the html file for "<!---".
  • check that this comments out a video: it should start with an iframe tag ("<iframe src=...."), and should be next to a link to the video
  • remove the commenting out: "<!---" and "--->"
  • save the file (and check it's OK)

If you do not find any videos this way, we probably added them with Plan B. So you need to do this:

  • search the html file for "ADD EMBED".
  • work out which video goes with this. The link to the video should be just above the ADD EMBED.
  • Go to the video, and getthe code: Settings (the cog at the top of the screen) > Share > Embed > Copy Embed Code
  • Paste the code into the html file, in place of the "ADD EMBED X"

If that doesn't work, you could try to extract them from previous years' pages.

Note that you will have to do this evert time you re-make the html document.

Acknowledgements

The material was initially created and revised by @oharar and @emilygsimmonds.

Course Content

Module 1: Introduction

Taskcard link (this will be explained)

Module 2: Estimating a Parameter

Module 3: Confidence Intervals

Exercises start this week!

Module 4: Normal Distribution

Module 5: Regression

Module 6: Model Checking

Module 7: Multiple Regression

Module 8: Categorical Variables (aka ANOVA)

Module 9: Interactions between Categorical Variables

Module 10: Model Selection

This week's module is split into 3 parts, because it was getting a bit long.

In addition we have a couple of scripts that might help you when running the problems in R:

Module 10a: Full Analyses (the precise location of this might vary depending on things like Easter)

This week will be a bit different. We want you to look at the whole process of data analysis, i.e. use all the parts you have been learning over the last few weeks to answer some biological questions.

We only expect you to answer one of these, but we will be happy if you try both. There are two ways to answer them: some exam-style questions (for those of you looking ahead), and a more free-form "try to do the analysis on your own". For those of you taking the continuation exam, note that this will probably be an oral exam, so we will ask you to do an analysis like this, and discuss in in the exam.

Module 11: GLMs (week beginning March 23rd) ===

Module 12: Binomial Generalised Linear Models

Module 13: Poisson Generalised Linear Models

About

Teaching material for ST2034: Statistical Modelling for Biologists/Biotechnologists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages