Skip to content
Back to formatted view

Raw Message

Message-ID: <CABghstROfDNP3j3mOE_JGa5ipx3QYT2rpXUrJeUJ4_f1PfXhHg@mail.gmail.com>
Date: 2018-05-04T18:39:43Z
From: Ben Bolker
Subject: Mixed linear model with nested and interaction term
In-Reply-To: <14FC5E11B32FB84FB0D08FE2F4127AFE2B53742A@CHIMBX6.ad.uillinois.edu>

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!
>
> Heng-An
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models