does distance affect random effect distance matrix in mixed effects does a distance matrix contain an effect can the random effect matrix be a matrix distance matrix in mixed effects model distance matrix when to include random effect matrix does matrix represent random effects when to add random variable to mixed effect simulation distance matrix definition how is a distance matrix used in mixed effects how to construct a random effect matrix what does random effect matrix mean in mixed-effects how do you include a distance matrix can you use matrix of distance for random effects when you construct a distance matrix what is the function for random effect what is the random effect matrix why use distance matrix for random effects model what is the distance matrix in mixed effects can you use distance matrix for random effects in mixed-effects models