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

Bug fix, for multivariate JM with etavalue assoc #7

Closed sambrilleman closed 7 years ago

sambrilleman commented 7 years ago

Inside one of the (m in 1:M) loops in jm.stan, the indexing for the etavalue assoc was M instead of m, which meant the etavalue for one submodel was repeated M times!! Should now correctly loop over the etavalues for each of the submodels.

Also using prior*_aux was throwing error, since wasn't being set to NULL in matched call.