Linear regression

Author

Olga Dethlefsen

Linear models allows us to answer questions such as:

Learning outcomes

  • to understand what a linear model is and be familiar with the terminology
  • to be able to state linear model in the general vector-matrix notation
  • to be able to use the general vector-matrix notation to numerically estimate model parameters
  • to be able to use lm() function for model fitting, parameter estimation, hypothesis testing and prediction
  • to be able to evaluate model fit by interpreting \(R^2\) and \(R^2(adj)\) values
  • to be able to check model assumptions
  • to be able to use glm() for extending linear models into generalized linear models

Do you see a mistake or a typo? I would be grateful if you let me know via olga.dethlefsen@nbis.se

This repository contains teaching and learning materials prepared and used during “Introduction to biostatistics and machine learning” course, organized by NBIS, National Bioinformatics Infrastructure Sweden. The course is open for PhD students, postdoctoral researcher and other employees within Swedish universities. The materials are geared towards life scientists wanting to be able to understand and use basic statistical and machine learning methods. More about the course https://nbisweden.github.io/workshop-mlbiostatistics/