Hi, 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?
Thanks! Hsiao-nan Cheung ______________________________________________ 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.