Re: [R] mixed model random interaction term log likelihood ratio test

2011-04-14 Thread seatales
1. The three levels of the vector DrugPair actually represent three genotypes, which are some randomly chosen genotypes from a population of many genotypes. That's why I thought it was justified as random effect. Does estimating them as random make sense then? 2. Also could you please elaborate o

[R] mixed model random interaction term log likelihood ratio test

2011-04-13 Thread seatales
Hello, I am using the following model model1=lmer(PairFrequency~MatingPair+(1|DrugPair)+(1|DrugPair:MatingPair), data=MateChoice, REML=F) 1. After reading around through the R help, I have learned that the above code is the right way to analyze a mixed model with the MatingPair as the fixed effec