Skip to content
Prev 5679 / 20628 Next

trouble getting data scale predictions from a binomial MCMCglmm model

Hi Kari,

Sorry, I saw your prior specification with a G-structure and presumed  
you'd fitted a random effect. Your method is taking a point estimate  
of the fixed effects from summary, whereas the predict function uses  
the complete posterior.  This should explain the discrepancy.

In many replicates you will have complete separation (since p=0.001  
for 25 the data points associated with treatment 2) or something close  
to this.   This shouldn't effect the consistency of getting the  
predictions in the two ways, but you need to be very careful about  
under/overflow and priors. In this example I would set the prior  
variance on the fixed effects to something like pi^2/3+1 or pi^2/3+2.

Cheers,

Jarrod
On 23 Mar 2011, at 13:15, Kari Ruohonen wrote: