Skip to content
Prev 13218 / 20628 Next

contrast of predicted slopes from MCMCglmm model

Hi Russ,

Thanks again for the feedback and quick response!  My primary goal is 
simply to compare slopes within species and slope differences among 
species, the tests and CIs are a secondary concern.  lstrends() provides 
an easy means of estimating average slopes andslope differences .  I 
take your point about diagnostics and plotting, though, and will do some 
checking such as comparing the lstrends estimates to analogous estimates 
calculated using predict.MCMCglmm output.

On the point about the covariance matrix, the MCMCglmm output includes 
VCV samples.  So, I suppose I could calculate posterior modes of each 
cell in the vcv and use that instead?  Otherwise using the means should 
be fine.  From visual inspection of the posterior samples they're quite 
normal in appearance, so the means and modes should be quite close to 
each other.

Cheers,
Dan.
Lenth, Russell V wrote: