[R] NUMERIC DERIVATE

Thomas W Blackwell tblackw at umich.edu
Thu Dec 18 02:33:08 CET 2003


On Wed, 17 Dec 2003, Savano S. Pereira wrote:

> UseRs,
>
> I used the optim function
>
> valor.optim <- optim(c(1,1,1),logexp1,method
> ="BFGS",control=list(fnscale=-1),hessian=T);
>
> and I want to calculate the derivates,  [ ... snip ... ]
>
> but I found,  [ ... snip ... ]
>
> The derivates are zero. Why?

Do you suppose it could have something to do with the
condition for finding an optimum ?

-  tom blackwell  -  u michigan medical school  -  ann arbor  -




More information about the R-help mailing list