Fitting GLM with a pre-assigned starting parameter #1601

yizhong opened this Issue Apr 18, 2014 · 0 comments


None yet

1 participant

yizhong commented Apr 18, 2014


I am using generalized linear model in statsmodels to fit biological data, which follows the Gamma distribution.

My question is can we make glm to allow a pre-assigned starting coefficient?
I know the starting point is calculated by "family.starting_mu()": (y+y.mean())/2,
Could it be useful to have a small change at line 386 in
like this:

if starting_coefficient is Null:
mu =
mu =, starting_coefficient)

I saw the similar question raised before:
#443 (comment)
But I didn't get the point.

Many thanks,


@yizhong yizhong closed this Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment