[R-sig-ME] Linear mixed effects

Victoria Stimple victoriastimple at gmail.com
Thu Mar 23 01:19:13 CET 2017


Hi all, I am writing to receive some help on the following issue:

I want to estimate different slopes and intercepts for the three groups.
For example: group A is subjects whose father's were blue-collar; group B
is subjects whose father's were white-collar; group C is subjects whose
father's were other types of workers. I have repeated measures for 10
annual surveys and subjects reported how much of their income they saved. I
want to see if the intercept and trajectory differs for the three groups.

This is what I come up with but I am not sure if this gets at the
appropriate verbal explanation. Thank you very much for your time. I truly
appreciate it. Thank you!

m1 <- lmer(savings~ time + (time|subjects))
m1 looks at the impact of time on savings and estimates intercepts and
slopes for each subject.

m2 <- lmer(savings~time*fathers_occupation + (time|subjects))

Does m2 examine the differences in the intercept and slope for the two
groups?

	[[alternative HTML version deleted]]



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