Re: [R] MGCV: Use of irls.reg option

2012-06-22 Thread r-help . 20 . trevva
Hi Simon, Thanks for taking the time to reply. Please let me explain a few more details. The problem that I am working on is essentially the same as the Bristol Channel Sole Egg distribution example in your book and in the "soap" paper but instead it is Herring Larvae in the English Channel - sam

Re: [R] MGCV: Use of irls.reg option

2012-06-21 Thread Simon Wood
Hi Mark, irls.reg is kind of `legacy code'. Does model fitting actually fail for your example, or is it just that the estimated spatial smooth looks unpleasant? best, Simon On 06/21/2012 01:28 AM, r-help.20.tre...@spamgourmet.com wrote: Hi, In the help files in the mgcv package for the ga

[R] MGCV: Use of irls.reg option

2012-06-20 Thread r-help . 20 . trevva
Hi, In the help files in the  mgcv package for the gam.control() function, there is an option irls.reg. The help files describe this option as: For most models this should be 0. The iteratively re-weighted least squares method by which GAMs are fitted can fail to converge in some circumstances. F