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

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 14 Sep 2004 - 03:11:36 EST

"Daniel Hoppe" <daniel.hoppe@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@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue Sep 14 03:15:45 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:16 EST