Skip to content
Prev 66605 / 398503 Next

lme: random effects of a quadratic term

I tried to replicate in R the example that Pinheiro and Bates present
on section 1.5 of their mixed-effects book, the pixel intensity
example.
When I run it in R the second order term does not appear in the
estimated model. But, when I write
I get the same results as in the Pinheiro and Bates book, and the plot
of the augPred values is a quadratic function as in Figure 1.18. The
same happens with my data when I use the I(alcadakm^2) .

Can it be that S accepts day^2 but R doesn't?

Thanks again!

Montse



On Sat, 26 Mar 2005 17:39:43 +0000 (GMT), Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote: