[R-sig-ME] Mixed linear model with nested and interaction term
henganl2 at illinois.edu
Fri May 4 20:30:50 CEST 2018
I am analyzing my data with following model,
model1 <- lmer(Yield~Treatment+(1|Location)+(1|Location:Treatment)+(1|Location:Block), data=A)
in here, I want to set an random interaction term (Location*treatment) and an random nested term (block nested within location).
But I couldn't get similar ANOVA results when I compare the output with SAS porc mixed output.
So, I think i might make some mistake in the model in R...
Can anyone give me some suggestion?
Thanks in advance!
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models