[R-sig-ME] What is the lmer/nlme equivalent of the REPEATED subcommand in SPSS's MIXED procedure?

Phillip Alday phillip.alday at mpi.nl
Tue Mar 20 11:44:01 CET 2018


I suspect that /REPEATED is just the way to specify random effects, so

random=~factor1|participant in nlme.

(I'm also guessing that the intercept in both the fixed and the random
effects is implicit.)

Phillip



On 20/03/18 09:00, Maarten Jung wrote:
> Dear list,
> I came across a SPSS syntax like this
> 
> MIXED value BY factor1
>     /CRITERIA=CIN(95) MXITER(100) MXSTEP(10) SCORING(1)
> SINGULAR(0.000000000001)
>     HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0.000001,
>     ABSOLUTE)
>     /FIXED=factor1 | SSTYPE(3)
>     /METHOD=REML
>     /REPEATED=factor1 | SUBJECT(participant) COVTYPE(UN).
> 
> and struggle to find an equivalent lmer/nlme (or R in general) formulation
> for this kind of models.
> Does anybody know how to convert the REPEATED subcommand into R code?
> 
> Please note that I asked the question on Stack Overflow about two month ago:
> https://stackoverflow.com/questions/48518514/what-is-the-lmer-nlme-equivalent-of-the-repeated-subcommand-in-spsss-mixed-proc
> 
> Best regards,
> Maarten
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>



More information about the R-sig-mixed-models mailing list