[R-sig-ME] Mixed linear model with nested and interaction term
bbolker at gmail.com
Fri May 4 20:39:43 CEST 2018
This seems like a reasonable model specification. Can you show us
the results you're getting from R and SAS, and your SAS syntax (some
people here understand that language), so that we can see what looks
different? (It would help if you also wrote a few sentences about
what you see as the important differences between the results.)
On Fri, May 4, 2018 at 2:30 PM, Lin, Heng-An <henganl2 at illinois.edu> wrote:
> Hi all,
> 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]]
> R-sig-mixed-models at r-project.org mailing list
More information about the R-sig-mixed-models