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 | |
|---|---|---|---|---|
| Computing Variance Covariance Matrix in a Loop in Rstan | 2 | 764 | April 30, 2021 | |
| Hierarchical dynamic linear model with rSTAN, problems with fitting a covariance matrix | 7 | 1358 | October 16, 2023 | |
| Time varying Covariance matrix in Rstan | 2 | 404 | October 16, 2023 | |
| Non-static covariance matrices? | 8 | 1689 | January 22, 2018 | |
| Sampling from Multi variate Normal with time varying Covariance Matrix in a way similar to matlab | 5 | 1241 | February 22, 2018 |