[R] When using Rdonlp2 to do a MLE, I got some "system is exactly singular" error

From: Hsiao-nan Cheung <niheaven_at_gmail.com>
Date: Tue, 08 Mar 2011 22:01:02 +0800


Recently I use Rdonlp2 to do a MLE of Markov-switching with TVTP, but during the optimization, there is always a "Error in solve.default(...) : Lapack routine dgesv: system is exactly singular" error, what's wrong? When searching on the web, someone said it is because the Hessian matrix, and could be fixed by modified Marquardt algorithm, and is this algorithm realized in R? Or what else could I do?


Hsiao-nan Cheung

R-help_at_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. Received on Tue 08 Mar 2011 - 14:12:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Mar 2011 - 14:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive