Skip to content
Prev 16349 / 20628 Next

What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure?

I think the problem is that there is only one observation per
subject-occasion-combination in this example.
In this case the random slopes are confounded with the residual variation
(see [1]).

One *can* fit this model using lmer(test ~ 1 + occ2 + occ3 + (1 + occ2 +
occ3|person), data = mydata,  control = lmerControl(check.nobs.vs.nRE =
"ignore")) or
lme(test ~ 1 + occ2 + occ3, mydata, random = ~ occ2 + occ3|person).

However, I don't know if the gls() fit ist more trustworthy than the
lmer/lme fit here.
I would be grateful if somebody more experienced in mixed models could
comment on this.

Best regards,
Maarten

[1]
https://stackoverflow.com/questions/26465215/random-slope-for-time-in-subject-not-working-in-lme4?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
On Wed, Mar 21, 2018 at 9:27 PM, Ben Pelzer <b.pelzer at maw.ru.nl> wrote:

            

  
  

Thread (14 messages)

Douglas Bates What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 20 Rune Haubo What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 21 Ben Pelzer What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 21 Maarten Jung What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 21 Ben Pelzer What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 21 Maarten Jung What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Ben Pelzer What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Maarten Jung What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Phillip Alday What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Ben Pelzer What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Rune Haubo What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Maarten Jung What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Rune Haubo What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22 Maarten Jung What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure? Mar 22