Skip to content
Prev 12279 / 20628 Next

Bivariate MCMCglmm with repeated measures

Hi,

To do piecewise random regression forcing the two regression to `join'  
you could centre your covariate (Time) at the breakpoint. Then use:

random = ~us(1 + at.level(stage,1):Time+at.level(stage,2):Time):Individual

The first variance is the variance in the new intercepts (the value at  
the breakpoint) and the other two variances are the variances in  
slopes that emanate from either side of the breakpoint.

Bear in mind you will need a lot of data to get precise estimates from  
such a complex model, particularly if you want to break it up by sex  
too.

Cheers,

Jarrod




Quoting "PATRICK, Samantha" <spatrick at glos.ac.uk> on Wed, 13 Aug 2014  
13:53:58 +0000: