Exercise sessions
Many of the problems are from the book used in the course, Introduction to Linear Regression Analysis by Montgomery et al. There is a solutions manual for the book.
The book and its solutions manual contain a few misprints, misprints_montgomery_fifth_ed.pdf Download misprints_montgomery_fifth_ed.pdf (for the fifth edition)
There are some results that are used several times in the exercises that are collected in a pdf, exercises_general_notes.pdf. Download exercises_general_notes.pdf. Note that this is not a formula sheet for the exam, just something that might help since the book isn't always clear when these results are used.
R stuff
- To start working with computer exercises, you should download the programming language R. The main page with links to downloads is https://www.r-project.org/ Links to an external site..
- R-studio is a very nice developing environment for R. It will be used in the exercise sessions as an editor. You can download it from here https://www.rstudio.com/ Links to an external site. and install it on your own computer.
- A quick introduction to R for beginners can be found here http://www.statmethods.net/ Links to an external site.
- A little longer introduction Links to an external site.
- John Cook's intro to R for programmers Links to an external site.
- Some of the exercises use data from Montgomery et al. Most of the data is found in a CRAN package called MPV, which can be downloaded from here Links to an external site. or installed directly from R-studio. The remaining data is found below.
Exercise session 1 - 19/1, 8:00-10:00.
- introduction_to_r.pdf Download introduction_to_r.pdf
- exercises Download exercises
- solutions Download solutions
- Data for MPV 2.1 - 2.7: rocket.data Download rocket.data
Exercise session 2 - 26/01, 8:00-10:00
- exercises Download exercises
- solutions Download solutions
- Code: MPV2_1-2_7.R Download MPV2_1-2_7.R, MPV2_23.R Download MPV2_23.R
Exercise session 3 - 30/01, 13:00-15:00
- exercises Download exercises
- solutions Download solutions
- Code: MPV3_1.R Download MPV3_1.R, MPV4_1-4_2.R Download MPV4_1-4_2.R
- Extra notes on confidence intervals and residual analysis: notes Download notes
Exercise session 4 - 2/2, 8:00-10:00
- exercises Download exercises
- solutions Download solutions
- R code for enhanced residual plots: resplot.R Download resplot.R
- Transistor data for Moore's law: moore.csv Download moore.csv
- Code: MPV5_10.R Download MPV5_10.R, exercise4_3.R Download exercise4_3.R, MPV6_1.R Download MPV6_1.R, MPV9_6.R Download MPV9_6.R, MPV9_10.R Download MPV9_10.R, exercise4_7.R Download exercise4_7.R
- Extra notes on model transformations, outliers, and multicollinearity: notes Download notes
Exercise session 5 - 16/2, 8:00-10:00
- exercises Download exercises
- solutions Download solutions
- CODE: James6_8_9.R Download James6_8_9.R James6_8_8.R Download James6_8_8.R, MPV15_10.R Download MPV15_10.R
- Extra notes on model building: notes Download notes
Exercise session 6 - 23/2, 8:00-10:00
- related to Project 2.
Exercise session 7 - 26/2, 8:00-10:00
This session is a review of some exercises from the exam generator. Note that these exercises (problems 5.7, 5.12, 6.1, 6.2, 6.3, 6.8) will not appear on the exam.
Exercise session 8 - 29/2, 10:00-12:00
- related to Project 2.