[Rd] Problem with mle in stats4 (R 1.9.1)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Sep 13 19:11:36 CEST 2004


"Daniel Hoppe" <daniel.hoppe at univie.ac.at> writes:

> Hi!
> 
> This is a repost of an earlier message (with a clearer example
> demonstrating the problem I ran into). If you run the mle example in
> stats4
....
> This happens because optim gets the old ndeps but just one variable to
> optimize. The optim error is not reported, so the problem is rather hard
> to trace. Would you agree that this would be worth fixing?

Definitely (and the problem is still in 2.0.0 alpha). Thanks for the
reminder.

> (original posting with quick workaround
> http://tolstoy.newcastle.edu.au/R/help/04/07/1778.html)

Could well be fix, not just workaround.... Given that optim wasn't
designed to be able to hold arguments constant, any fix is going to be
somewhat kludgy.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list