Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLM.fit maxiter=0 incorrect #1728

Open
josef-pkt opened this issue Jun 2, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@josef-pkt
Copy link
Member

commented Jun 2, 2014

GLM fit still does a lot of initialization calculations that are not necessary if maxiter=0.

I'm using maxiter=0 with start_params=params to get a full results instance.

I think the error is in missing offset and exposure in the initialization
mu = self.family.fitted(np.dot(wlsexog, start_params)) see #1486

@kshedden kshedden referenced this issue Jun 4, 2014

Closed

MAINT: GLM #1734

josef-pkt added a commit that referenced this issue Jul 9, 2014

Merge pull request #1821 from josef-pkt/glm-maint_1734_rebased
REF Glm maint  rebased closes #1734 (PR)  closes #1728

PierreBdR pushed a commit to PierreBdR/statsmodels that referenced this issue Sep 2, 2014

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented May 13, 2015

maxiter=0 and method='irls' returns results with params is None

see #2393 for current case, working towards a generic solution

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented May 27, 2017

might be fixed, but needs checking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.