Exercise 1, for January 21:
- Exercise 2.1, 2.3, 2.4. (Exer2_1.R), 2.3 (Exer2_3.R), 2.4 (Exer2_4.R) Solutions
- Extra exercises 1-3. These extra exercises are available here, solutions
Exercise 2, for January 28:
-
Exercise 3.1 (exer3_1.R), 3.3 (exer3_3.R), 3.4 a-c (exer3_4.R) (not the tournament selection)
- 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 3, for February 4:
- Exercise 4.2, exercise4_2.R, solutions
- Extra exercises 4, 5, 6, 7, solutions, genetic_linkage.R,
- 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.
Exercise 4, for February 11:
- Exercises 4.3 a,b, 3.8, trivariatenormal.dat, trivariatenormal.txt, wine.dat, wine.txt, exer3_8.r, exer4_3.R ,Solutions
- Exam in STK4051 fall 2017: Exercise 1, solution
- Note: Exercise 4.3 is a challenge, look for help in matrix cook book.
Exercise 5, for February 18:
- Extra exercises 8 and 9.
Exercise 6, for February 25:
- Extra exercises 12 , Extra_12.R
- Extra exercises 13,14,15,16. Extra_13.R, Extra_15.R, Extra_16.R
- Solutions to the extra exercises
Exercise 7, for Mars 4:
- Extra exercises 20, 21, 22, 23, 24 Extra_20.R, solution to the extra exercise Extra 21.R, Extra 22.R, solutions
- Exercise 6.3, Exercise_6_3.R
Exercise 8, for Mars 11:
- Extra exercises 26, 27, 29, 30, Extra_26.R, Extra_27.R, Extra_29.R, Extra_30.R, solutions.
- Exercise 6.4, Exer6_4.R
Exercise 9, for Mars 18:
- Extra exercises 32, 33, 35, 36,Extra_32.R, Extra_33.R, Extra_35.R, Extra_36.R
- Slides with comments
Exercise 10 and extra work, for April 8:
- Extra exercises 10, 17, 18, 19, 34. Extra_10.R, Extra_17.R, Extra_34.R
- Book 7.1 7.2. Exercise_7_1.R, Exercise_7_2.R
Exercise 11 for April 15:
- Extra exercises 37, 38, 41 Extra_38 Solution 41
- Exercise 7.6, Code_7_6, Computation_7_6, Exercise_7_6.R, solution point (a)
- Slides with comments.
Exercises for April 22:
- Extra exercises 39, 40, 42 (Slides)
Exercises for April 29:
- Exercises 7.7, 7.8 Data for exercise 7.8, solution to exercise 7.7 Exercise7_8_a.R, Exercise7_8_b.R, Slides
Exercises for May 6:
- 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 20:
- Exercises 7.7, 7.8 Data for exercise 7.8, solution to exercise 7.7 Exercise7_8_a.R, Exercise7_8_b.R, Slides
- Solve the problem 7.8 using McMC in STAN. Exercise_7_8_stan.R, Exercise_7_8_stan.stan.
Exercises for May 27:
- Trial exam 2019, 5,6,7 & 8, solutions.