-
Notifications
You must be signed in to change notification settings - Fork 9
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
specifying starting values in geeglm #5
Comments
I have the same problem as DamienGeorges. |
Also experiencing this. |
Hello @DamienGeorges, @gordy2x, @troelsgk, We just stumbled on this same issue. I have made a pull request for a patch for @hojsgaard's consideration: #18 I see the issue is some time ago, but if still relevant, you can test it by installing the patch version:
Thanks, |
Thanks @jeffeaton, too late for the project I was running at that time but I am sure I will have the opportunity to try your patch in the future. |
Edit: just saw the pull request by Jeff which fixes this issue. However, the pull request ignores the value of Running into the same issue. After running a local copy of the code line-by-line in debug mode, I see that this issue occurs specifically at line 173 when Lines 163 to 173 in 4a5ee4c
This is because the Viewing
Viewing
which when run gives the following error
The variable When line 167 is changed to
then it runs without errors:
I haven't tested it for other parameters such as However, the glm call a few lines above for getting the initial coefficients runs fine, and uses values for Lines 146 to 151 in 4a5ee4c
|
I want to use
start
argument ingeeglm
model to help it to converge. With default starting values it seems the model runs forever, I suspect specifying starting point for the parameters can help thegeeglm
not to be stucked.Specifying starting values lead to the following error:
Here is a dummy reproducible example where I use coefficients from a fitted model (
gee1
) to specify starting point of the second one (gee1.start
)this returns the following error:
In
geeglm
help page it is indicated that thestart
argument behave the same than in a regularglm
but applying the exact same technique with aglm
works without any issue as in the dummy example bellow:Does anyone know how to use correctly
start
argument ingeeglm
function?The text was updated successfully, but these errors were encountered: