Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 67822
10 votes

How to use the Cholesky decomposition, or an alternative, for correlated data simulation

CV is not about code, but I was intrigued to see how this would look after all the good answers, and specifically @Mark L. Stone contribution. The actual answer to the question is provided on his post …
Antoni Parellada's user avatar
3 votes

Cholesky versus eigendecomposition for drawing samples from a multivariate normal distribution

Here's the manual, or poor-man's, prove-it-to-myself demonstration: > set.seed(0) > # The correlation matrix > corr_matrix = matrix(cbind(1, .80, .2, .80, 1, .7, .2, .7, 1), nrow=3) > nvar = 3 # Thre …
Antoni Parellada's user avatar