I want to simulate a correlation matrix which has some off-diagonal structures and also should have some hierarchical structures. For simulating correlation matrices which contain hierarchical structures, I am using this paper. But, I don't know how to add off-diagonal structures to it. I want to simulate a correlation matrix which somewhat have off-diagonal structures as below image
An example of a hierarchical structure in the correlation matrix is below image
Does anyone have a suggestion on how to simulate such correlation matrices?
R' Λ R
with random orthonormalR
in a language of your choice. $\endgroup$