Skip to content

cross-sex genetic correlation

2 messages · Simona Kralj Fiser, Jarrod Hadfield

#
Hi!

I have some further questions on the cross-sex genetic correlations.

It seems that many studies fail to obtain sample sizes that is big enough
to get the realistic 95% CI. One of the solutions I noticed is comparing
the models (ASReml) where rmf is set to 1 or 0. How could that be done when
using MCMCglmm models? I was thinking of comparing

1. model 1, rmf=1

prior1<-list(G=list(G1=list(V=matrix(p.var*0.5),n=1)),R=list(V=matrix(p.var*0.5),n=1))

model1 <- MCMCglmm(trait ~ sex, random = ~animal, pedigree = pedigree,data
= data, nitt = 100000, thin = 100, burnin = 15000, prior = prior1,verbose =
FALSE)

2. model 2 allowing sexes to have different variance and covariance

prior2 <- list(R=list(V=diag(2), nu=0.02), G=list(G1=list(V=diag(2), nu=2,
alpha.mu=c(0,0),alpha.V=diag(2)*1000)))

model1 <- MCMCglmm(trait~sex, random=~us(sex):animal, rcov=~idh(sex):units,
prior=prior2, pedigree=Ped, data=Data1, nitt=100000, burnin=10000, thin=10)


3. model 3 allowing sexes to have different variance, but covariance = 0
--> rmf = 0

prior2 <- list(R=list(V=diag(2), nu=0.02), G=list(G1=list(V=diag(2), nu=2,
alpha.mu=c(0,0),alpha.V=diag(2)*1000)))

model3 <- MCMCglmm(trait~sex, random=~idh(sex):animal,
rcov=~idh(sex):units, prior=prior2, pedigree=Ped, data=Data1, nitt=100000,
burnin=10000, thin=10)


My reasoning may be stupid, I hope that's not forbidden :-)

Is there any other way? Fixing variances with prior?

Thank you. Best wishes

Simona
On 26 July 2017 at 14:42, Jarrod Hadfield <j.hadfield at ed.ac.uk> wrote:

            

  
  
#
Hi,

Your reasoning is correct. Other options are also:

~sex:animal? which restrictis rmf=0 and vm=vf

~animal+sex:animal which restricts rmf>0 and vm=vf

Cheers,

Jarrod
On 16/01/2018 12:22, Simona Kralj Fiser wrote:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-mixed-models/attachments/20180116/2da68f43/attachment.ksh>