sambrilleman / rstanarm

rstanarm R package for Bayesian applied regression modeling
http://mc-stan.org/interfaces/rstanarm.html
GNU General Public License v3.0
0 stars 1 forks source link

Fix Sigma values returned in the fitted model/stanfit object #50

Closed sambrilleman closed 7 years ago

sambrilleman commented 7 years ago

The construct_Sigma_nms function I introduced in a previous commit, only returned the Sigma_nms, but it was supposed to alter some of the values in theta_L to generate the correct Sigma matrix for the random effects.

To fix the bug that created, I have just scrapped the construct_Sigma_nms function, and reintroduced the original code to both stan_glm.fit.R and stan_jm.R