Skip to content
Prev 135 / 20628 Next

Simple explanation of the lme Algorithms?

On Sun, Mar 25, 2007 at 12:31:12PM -0500, Douglas Bates wrote:
Thanks for your response, Doug.  So, if I may paraphrase, does maxIter
refer to the maximum number of Newton-Raphson steps allowed for the
updating (by which I guess that you mean estimation) of the parameters
in the variance or correlation function, having conditioned on the
other fixed and random effects?  If my interpretation is correct then
I'm afraid that I'm still confused.  For example, if I compare the
output of
+ control=list(msVerbose=TRUE))
  0      320.256: -0.390137
  1      320.256: -0.390137

with
+ weights=varPower(), control=list(msVerbose=TRUE))
  0      320.256: -0.390137  0.00000
  1      320.254: -0.390137 0.00377348
  2      320.251: -0.402940 0.00405120
  3      320.109: -0.793763 0.127338
  4      319.381: -4.39127  1.26259
  5      319.359: -5.08632  1.48580
  6      319.359: -5.08547  1.48633
  7      319.359: -5.08607  1.48651
  0      319.985: -5.08607  1.48651
  1      319.984: -5.08517  1.48796
  2      319.984: -5.07930  1.48451
  3      319.966: -4.93970  1.43987
  4      319.874: -3.63622  1.02756
  5      319.872: -3.44497 0.967633
  6      319.872: -3.44235 0.966866
  7      319.872: -3.44233 0.966860
  0      319.721: -3.44233 0.966860
  1      319.721: -3.44261 0.966623
... etc


then I see that there are indeed an inner and outer loop with the
addition of the variance function, but both parameters appear to be
continuously updating.  So I guess that my interpretation is
incorrect.  Can you please help me clarify?

Andrew