Exercise 1, for January 23:
- 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 30:
-
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. Competition: Who gets a sufficiently good result with the least number of iterations?
Exercise 3, for February 6:
- Exercise 4.2, solution, exercise4_2.R
- 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 13:
- 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
Exercise 5, for February 20:
- Extra exercises 8 and 9.
Exercise 6, for February 26:
- 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 5:
- 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 12:
- 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
- Comments to Exercise. (slides)
Exercise 9, for Mars 19:
- 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 March 26:
- 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 2:
- Extra exercises 37, 38, 41 Extra_38 Solution 41
- Exercise 7.6, Code_7_6, Computation_7_6
- Slides with comments.
Exercises for April 16:
- Extra exercises 39, 40, 42 (Slides)
Exercises for April 23:
- 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 April 30:
- Focus on the compulsory exercise part 1 & part 2. I will go trough some computations from an earlier trial exam in class
- Trial Exam 2019, 1,2,4, solutions.
Exercises for May 7:
- Exercises 7.7, 7.8 Data for exercise 7.8, In addition solve the problem using McMC in STAN. solution to exercise 7.7 Exercise7_8_a.R, Exercise7_8_b.R, Exercise_7_8_stan.R, Exercise_7_8_stan.stan. Slides, recording
Exercises for May 14:
- Trial exam 2019, 5,6,7 & 8, solutions. recording