Path: news.mathworks.com!not-for-mail
From: Peter Perkins <Peter.PerkinsRemoveThis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: glmfit iteration limit
Date: Wed, 23 Jul 2008 09:42:25 -0400
Organization: The MathWorks, Inc.
Lines: 10
Message-ID: <g67cg1$m2s$1@fred.mathworks.com>
References: <g65cp8$dth$1@fred.mathworks.com> <g67af2$i91$1@fred.mathworks.com>
NNTP-Posting-Host: perkinsp.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1216820545 22620 172.31.57.88 (23 Jul 2008 13:42:25 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 23 Jul 2008 13:42:25 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <g67af2$i91$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:481224



Tom Lane wrote:

> One cause for excessive iterations can be complete separation in regression 
> with a binomial response.

Just to follow up on what Tom said, 100 iterations is a _lot_ for the IRLS 
algorithm that GLMFIT uses.  I'm not saying that there aren't cases where you 
usefully need more than that, but I suggest first looking that the fit that 
you're getting after 100 iterations and seeing if there's anything you should be 
paying more atention to in your data.  Tom cites the most common example.