Mixed model analysis using lme4
0
0
Entering edit mode
3.3 years ago
b.g.tamang ▴ 20

Hi all,

I am a novice in using mixed models. I am not sure how to set up the fixed and random effects in mixed model. Your expertise would be much appreciated.

My experimental set up is as follows: Three years of experiment (Experiment), three nested-association-mapping families (Family) and within each family 50 lines making a total of 150 lines (Line). For each of the line, there are three replicates (Replicate). Several traits were measured (Trait).

So now I am not confident to define factors as fixed and which are random, which are to be nested within higher level grouping factor.

lmer (trait ~ (1|Genotype) + Experiment + (1:Replicate:Lines) + (1|Lines:Family) + (1|Family:Experiment)

Is this the correct way to do it?

mixed-model fixed-effect lme4 random-effect lmer • 562 views
ADD COMMENT

Login before adding your answer.

Traffic: 1705 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6