πŸ—“οΈ Sessions 17 & 18: Linear regresssion

Author
Published

14 06 2024

Modified

21 06 2024

Simple linear regression is one of the most commonly used methods in inferential statistics or supervised machine learning. It can be used to study the relationship between two numerical variables and make predictions about the values of one of them based on the analysis of a sample. In this session we will discuss when to use linear regression models and where the limitations of this method lie.

πŸ‘¨β€πŸ« Lecture Slides

Either click on the slide area below or click here to download the slides.

πŸŽ₯ Lecture videos

So far, there are no learning videos available for this lecture.

πŸ“š Mandatory Reading

πŸ† Further readings

✍️ Coursework

  • Do the exercises LinearRegression1 from the DataScienceExercises package
learnr::run_tutorial(
  name = "LinearRegression1", 
  package = "DataScienceExercises", 
  shiny_args=list("launch.browser"=TRUE))

References

Ismay, C. and Kim, A. Y.-S. (2020) Statistical inference via data science: A ModernDive, into R and the tidyverse, Boca Raton: CRC Press, Taylor and Francis Group, available at https://moderndive.com/index.html.
James, G., Witten, D., Hastie, T. and Tibshirani, R. (2021) An introduction to statistical learning: With applications in R, Second edition., New York, NY: Springer.