seems like this discussion Partial-pooling of correlation (or covariance) matrices? - #4 by BenH could help, though if you really have diagonal cov matrices you’re in much simpler territory – but it might give you the idea :)
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Sampling from Multi variate Normal with time varying Covariance Matrix in a way similar to matlab | 5 | 1175 | February 22, 2018 | |
Parameterization of covariance matrices | 2 | 632 | September 24, 2020 | |
Computing Variance Covariance Matrix in a Loop in Rstan | 2 | 732 | April 30, 2021 | |
Multivariate normal with diagonal covariance matrix | 3 | 2537 | August 22, 2017 | |
Hierarchical dynamic linear model with rSTAN, problems with fitting a covariance matrix | 7 | 1278 | October 16, 2023 |