Skip to content
Prev 13889 / 20628 Next

Zero cells in contrast matrix problem

On 15-10-26 06:56 AM, Francesco Romano wrote:
In general a reasonable form is normal(cov = diag(v,np)) where v is
the prior variance (generally something reasonably
large/non-informative; 9 (=std dev of 3) is probably an OK default) and
np is the number of fixed-effect parameters.  You can figure this out via

ncol(model.matrix(~Syntax*Animacy*Group,data=trialglm)

or multiply 2*4*2 to get 16 ...