Skip to content
Prev 12916 / 20628 Next

c++ exception (unknown reason) when using an offset of the slope with glmer

Thank you very much. 
Probabilities of event range approximately between .05 to .60

You are right, If I choose an offset of the slope=0.1, I can obtain 
estimates of the intercept. 

The offset of 1.5 came from the expected increase in the risk of event 
when escalating the dose from 4 to 6. 

If I fit the model without offset, I get the following etimates for the 
fixed effects
intercept:: -12.7
dose     : 2.3


Finally, the reason for choosing an offset is to reduce the dimensionality 
of the model due to the sampling matrix. 
I work on an extension of phase I dose escalation design in oncology, 
where the proportion of data that is sampled at one or 2 dose levels 
increases with the overall sample size. Therefore after 30, 40, 50 
patients, the contribution of this dose level to the likelihood is 
massive. Esimating both the intercept and the slope of the dose-response 
relationship gets useless or even misleading. 


I am not sure to understand why offset of the dose = 1.5 is misleading for 
the intercept estimate, but I will dig in .

Thanks again for your help

Xavier





Ben Bolker <bbolker at gmail.com> 
28/01/2015 15:45

A
<xavier.paoletti at curie.fr>
cc
"r-sig-mixed-models at r-project.org" <r-sig-mixed-models at r-project.org>
Objet
Re: [R-sig-ME] c++ exception (unknown reason) when using an offset of the 
slope with glmer






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  Confirmed on

R Under development (unstable) (2015-01-26 r67627)
Platform: i686-pc-linux-gnu (32-bit)
lme4 1.1.8

 I will see what I can figure out.  I suspect the main problem is that
the doses range from 4 to 6, so with an offset of (1.5*dose), that
says that the logit-probability or log-odds should range from 6 to 9,
which corresponds to a baseline probability of 0.997 to 0.999.  Those
are very high probabilities: they're going to make it very hard to
make a sensible model.   Can you say a little bit more about what
you're trying to do/why an offset of 1.5 makes sense?

  Ben Bolker
On 15-01-27 08:24 AM, xavier.paoletti at curie.fr wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJUyPYHAAoJEOCV5YRblxUHjjUH/R5gK8gIHEhTUnEQQiGQMF/m
pkzjJK37im+Tjg9ivu8xiorw9YSl4NcoB8KHK4joMySZoLhI/jQ1dg16aWId0FNO
1WWP6OOodqF/GdCerqg6BIQFgHJag/HOYRYnrwzoSOKQk82ZhxWFqOILaQxd7EvG
RzPDs7pEbWPS/cHELPWrmuvU+CAlnuRU2qAadGRn93hx19VFLsdVHsfKCza0RQd6
MAKwnkcj8jM2EWnjFaUapaF6i3QGpuXQaIDJUhvoo0ObAhKKFU8awtDyZTW19jKk
1gnKFWQnahyBYtoGkQE6Nk9gPzOrOznwdS3d++YE3tVS5e3oPQCJrfBx/UF3D8A=
=fw27
-----END PGP SIGNATURE-----