Contents
Which is the formula for the mcmcglmm formula?
Arguments fixed formula for the fixed effects, multiple random formula for the random effects. Multiple rcov formula for residual covariance structur family optional character vector of trait distr mev optional vector of measurement error var
Is there a tutorial for mcmcglmm in R?
MCMCglmm is a package for fitting Bayesian mixed models in R and was written by Jarrod Hadfield. Its use is roughly similar to lme4’s but there are some additional complexities that the user has to deal with. This tutorial aims to get you started with MCMCglmm and shows how the Bayesian analogue of an lme4 model can be implemented with MCMCglmm.
Which is the only linking function in mcmcglmm?
Currently, the only linking.functions available are mm and str. mm fits a multimembership model where multiple random terms are separated by the + operator. str allows covariances to exist between multiple random terms that are also separated by the + operator. In both cases the levels of all multiple random terms have to be the same.
Which is an example of a mcmcglmm model?
For example, MCMCglmm supports multi-variate dependent variables and a wide variety of distributions, for instance, multinominal, exponential, zero-inflated, and censored distributions. Further, MCMCglmm can be used to implement Hurdle models and models with heterogenous residual variances.
How to create a multivariate linear mixed model?
Multiple random terms can be passed using the + operator, and in the most general case each random term has the form variance.function (formula):linking.function (random.terms). Currently, the only variance.functions available are idv, idh, us, cor [] and ante []. idv fits a constant variance across all components in formula.
Which is Markov chain Monte Carlo sampler for multivariate mixed models?
Markov chain Monte Carlo Sampler for Multivariate Generalised Linear Mixed Models with special emphasis on correlated random effects arising from pedigrees and phylogenies (Hadfield 2010). Please read the course notes: vignette (“CourseNotes”, “MCMCglmm”) or the overview vignette (“Overview”, “MCMCglmm”)
Which is an example of a multi-response model?
For example a multi-response model might have the R-structure defined by ~us (trait):units optional character vector of trait distributions.