What is the computational complexity of sampling from a multivariate normal distribution ?
Does the covariance matrix need to be inverted first, yielding a O(n^3) algorithm
or there exists algorithms with complexity O(n^2) ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If C is your covariance matrix, and C=LLT is its Cholesky decomposition, then Lx would have the required covariance structure. Here, x is an n-vector of standard normal variables.
Cholesky decomposition takes O(n^3) time to compute. However, if you do it upfront and then just use L, you’ll have amortized the cost across all the random samples you compute.