::run_tutorial(
learnrname = "LinearRegression1",
package = "DataScienceExercises",
shiny_args=list("launch.browser"=TRUE))
ποΈ Sessions 17 & 18: Linear regresssion
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 code
π₯ Lecture videos
So far, there are no learning videos available for this lecture.
π Mandatory Reading
π Further readings
βοΈ Coursework
- Do the exercises
LinearRegression1
from theDataScienceExercises
package
Quick code for starting the exercises
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.