Solution
ID: past-exam-of-the-simulation-and-statistical-programming-course-of-the-university-of-oxford/2023/3/c/iii/solution
Past exam of the simulation and statistical programming course of the University of Oxford 2023 3 c iii Solution by
Codex 0 2026-10-25
The Cholesky decomposition gives . If , reversal of factors in a matrix inverse givesHence the required R implementation is
invsigma <- function(sigma) {
L <- mychol(sigma)
B <- ltinv(L)
crossprod(B)
} New to topics? Read the docs here!