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

Already on GitHub? Sign in to your account

another problem with offsets/downdated VtV #396

Open
bbolker opened this Issue Sep 8, 2016 · 0 comments

Comments

Projects
None yet
1 participant
Owner

bbolker commented Sep 8, 2016 edited

I think we've seen similar issues before, but this one is cleaner/more reasonable.

Test data set is here

A Poisson model with an offset. If we leave the scale of the elapsed time in hours, we fail with a "Downdated VtV error" problem. If we scale the offset to days, the fit succeeds. Is there some sort of solution based on clamping the link function ... ?

h3 <- readRDS("misc/issues/offset_test.rds")
try(glmer(y~ns(x,2)+offset(log(elapsed))+(1|f),h3,family=poisson)) ## fails
glmer(y~ns(x,2)+offset(log(elapsed*24))+(1|f),h3,family=poisson)

@bbolker bbolker added a commit that referenced this issue Sep 8, 2016

@bbolker bbolker test for offset issue (#396) d7b9946

@bbolker bbolker added a commit that referenced this issue Sep 8, 2016

@bbolker bbolker test for offset issue (#396) 2d44353
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment