Skip to content
Prev 13743 / 20628 Next

MCMCglmm: Fixing the priors in multivariate response models without random effects

Hi,

The issue is that both outcomes are binary and you are trying to  
estimate an unstructured residual covariance matrix. The diagonal  
elements (the variances) are not identifiable and so need to be  
constrained. The simplest method is to constrain the matrix to a  
correlation matrix using corg(trait):units.

Its hard to say without knowing what the data are, but I would think  
you need to fit trait in the fixed effect part of the model together  
with an interaction between trait and other predictors.

Also, I would recommend using family="threshold" rather than  
family="categorical" for bivariate problems. I've given the reasons  
for this in older posts. For example, the probit section of:

https://stat.ethz.ch/pipermail/r-sig-mixed-models/2014q1/021875.html

Regarding the correct dimension of the prior for the fixed effects, B  
should be equal to the number of fixed effects fitted. I can't see how  
many you have, but definitely more than 2: it looks closer to 20.

Cheers,

Jarrod





Quoting Iker Vaquero Alba <karraspito at yahoo.es> on Fri, 18 Sep 2015  
22:26:20 +0000 (UTC):