[R] nlm continued

Jim Lindsey jlindsey at alpha.luc.ac.be
Wed Nov 24 12:01:38 CET 1999


OK I figured it out. The attributes have to be on the value returned,
not on the function itself.
  I tried a linear (not log linear) regression with Poisson, using
only the gradient, not the hessian. It took one extra iteration (13
instead of 12) and gave twice as many warnings (28 instead of 16)
compared to not supplying the gradient. The answers are identical to 5
decimal places.
  Sorry to bother the list with this. Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list