Exercise 1, for January 24th:
- Exercise 2.1, 2.3, 2.4.
- Extra exercises 1-3. These extra exercises are available here.
- Solutions: Exer2_1.R, Exer2_3.R, Exer2_4.R
Exercise 2, for January 31st.:
-
Exercise 3.1 , 3.3
- Test the code ADMM_Lasso, on the baseball data. Try different values of tolerance and penalty parameter and to check the number of iterations required for convergence.
- Extra exercises 4 ( 4c just for methods covered in class) Note: By communicate we mean that it is possible to move from any state to any other states in a finite number of steps by allowing one-step moves within the neighbourhoods.
Exercise 3, for February 7th:
-
Exercise 3.4 a-c (not the tournament selection)
- Extra exercises 4c (rest), 5,6
Exercise 4, for February 14th.:
- Exercise 4.2
- Extra exercises: 7, 9
- Exam in STK4051 spring 2021: Exercise 2
- Slides Ex4
Exercise 5, for February 21st.:
- Exercises 4.3 a,b, 3.8, trivariatenormal.dat, trivariatenormal.txt, wine.dat, wine.txt
- Extra exercises 8 and 11, 12
- Note: Exercise 4.3 is a challenge, use results from exponential family , (or look for help in matrix cook book)
Exercise 6, for February 27th.:
- Extra exercises 13,14,15,16
Exercise 7, for Mars 7th:
- Extra exercises 19, 20, 21, 22, 30
- Exercise 6.3
- Extra_20.R, solution to the extra exercise Extra 21.R, Extra 22.R, Extra_30.R, solutions
- Exercise_6_3.R
- Slides
Exercise 8, for Mars 13th:
- Extra exercises 26, 27, 29, 32
- Exercise 6.4
Exercise 9, for Mars 20st:
- Extra exercises 33, 35, 36
- 6.5b
Exercise 10, for April 10th
- Extra exercises 38, 39, 41,42
Exercise 11 for April 17th:
- Book exercises: 7.6, 7.7, 7.8
- Data for exercise 7.8
- Solutions to_7_6, Code_7_6
- Solution to exercise 7.7 , Exercise7_8_a.R, Exercise7_8_b.R
- Slides
Exercise 12 for April 24th:
- Solve the problem 7.8 using McMC in STAN
- Trial exam 2019, 8.
- Exam 2020, problem 1 and problem 5
- Exercise_7_8_stan.R, Exercise_7_8_stan.stan.
- Solutions 2019
- Solutions 2020, 1a
- Slides
Exercise 13 for May 8th:
- Trial exam 2019, 1,2,4,5,6 & 7
- Solutions
- Slides
Exercises for May 22nd:
- Exam STK4051 2017: Exercise 1 & 2