From p.dalgaard at biostat.ku.dk  Mon Sep 13 19:11:36 2004
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Mon Sep 13 19:12:25 2004
Subject: [Rd] Problem with mle in stats4 (R 1.9.1)
In-Reply-To: <003c01c499ac$82016290$82b98283@DH>
References: <003c01c499ac$82016290$82b98283@DH>
Message-ID: <x2isaijdpz.fsf@biostat.ku.dk>

"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


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