I am using ?bam in mgcv 1.8-24, and when I'm using the negative binomial family I sometimes get a warning that says:
In estimate.theta(theta, family, y, mu, scale = scale1, wt = G$w, : step failure in theta estimation
The results from the model fit still seem reasonable. I can often get the warning to go away just by changing k
slightly for my smooth term (I am using mostly parametric terms). After adjusting k
and getting rid of the warning, the results look the same.
I haven't been able to find any description of this warning. What is a "step failure", and is it something that I need to worry about?