Exercise 1, for February 1.:
- Exercise 2.1, 2.3, 2.4.
- Extra exercises 1-3. These extra exercises are available here.
Exercise 1b, for February 8.:
-
Ex 1 (repeat)
- 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.
Exercise 2, for February 15.:
-
Exercise 3.1 , 3.3, 3.4 a-c (not the tournament selection)
- Extra exercises 4
- Note: In exercise 4, 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.
-
exer3_1.R, exer3_3.R, exer3_4.R (not the tournament selection),Extra exercises 4.
Exercise 3, for February 22:
- Exercise 4.2
- Extra exercises 5, 6, 9
- Exam in STK4051 spring 2021: Exercise 2
Exercise 4, for March 1.:
- 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, look for help in matrix cook book or use results from exponential family
Exercise 5, for March 8.:
- Extra exercises 13,14,15,16
Exercise 6, for Mars 15:
- Extra exercises 20, 21, 22, 23, 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
Exercise 7, for Mars 22:
- Extra exercises 26, 27, 29, 32
- Exercise 6.4
Exercise 8, for Mars 29:
- Extra exercises 19, 33, 35, 36
Exercise 9, for April 12
- Extra exercises 38, 39, 41,42
Exercise 10 for April 19:
- Book,Exercises 7.6, 7.7, 7.8 Data for exercise 7.8
- Code_7_6, Computation_7_6, Exercise_7_6.R, solution point (a)
- solution to exercise 7.7 Exercise7_8_a.R, Exercise7_8_b.R
Exercise 11 for April 26:
- Solve the problem 7.8 using McMC in STAN
- Trial exam 2019, 5,6,7
Exercise 12 for May 3.:
- Focus on the compulsory exercise part 1 & part 2. I will go trough some computations from an earlier exam in class
- Exam STK4051 2017: Exercise 2, solutions
Exercises for May 10:
- Trial exam 2019, 1,2,3,4