Re: [R] GAM (mgcv) warning: matrix not positive definite

2012-02-06 Thread Arnaud Mosnier
Thanks for the explanation ! Happy to know there is no problem with my models. Have a good day, Arnaud 2012/2/3 Simon Wood > It is completely safe to ignore this. Here is what is going on... > > mgcv routine 'mroot' is calling R routine 'chol' to find the *pivoted* > Choleski factor of a posit

Re: [R] GAM (mgcv) warning: matrix not positive definite

2012-02-03 Thread Simon Wood
It is completely safe to ignore this. Here is what is going on... mgcv routine 'mroot' is calling R routine 'chol' to find the *pivoted* Choleski factor of a positive semi definite matrix. This is deliberate, and completely ok to do, but 'chol' issues a warning when a matrix is only positive s

[R] GAM (mgcv) warning: matrix not positive definite

2012-02-03 Thread Arnaud Mosnier
Dear list, I fitted the same GAM model using directly the function gam(mgcv) ... then as a parameter of another function that capture the warnings messages (see below). In the first case, there is no warning message printed, but in the last one, the function find two warning messages stating "mat