Skip to content
Prev 75583 / 398502 Next

monte carlo simulations/lmer

On 8/13/05, Eduardo Leoni <e.leoni at gmail.com> wrote:
As Rolf Turner indicated, you can wrap the call to lmer in try() to
prevent breaking the loop on convergence failure.  I'm not sure
exactly what Bayesian analysis you are doing but you may want to look
at the function mcmcsamp in versions 0.98-1and later of the Matrix
package.  It can take a fitted lmer object and create an MCMC sample
from the posterior distribution of the parameters assuming a locally
uniform prior on the fixed-effects parameters and the non-informative
prior described by Box and Tiao for the variance-covariance matrices.