Hi,

Use the `auglag' function in "alabama" if you want to get the Hessian at 
convergence.  This typically tends to perform better than `constrOptim.nl'.  
Also,  `constrOptim.nl' does not compute the Hessian.   You should not specify 
method="L-BFGS-B". The default method "BFGS" is better in this setting.

Hope this helps,
Ravi
-------------------------------------------------------
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins 
University

Ph. (410) 502-2619
email: rvarad...@jhmi.edu<mailto:rvarad...@jhmi.edu>


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to