[R-sig-ME] help with glmer

Ben Bolker bbolker @ending from gm@il@com
Fri Nov 30 02:15:24 CET 2018

You should use log(time) as an offset, not time.  I prefer to include
it in the model formula, but that's largely a question of style.
@SteveCandy: with a cloglog link in a binomial-outcome model, using
log(time) as an offset allows a natural way to scale the probability
of mortality within the time for which an individual has been

I recently added a bullet point about using time rather than log(time)
as an offset here:


Another example of this approach:

On Thu, Nov 29, 2018 at 8:07 PM Steve Candy <burwood70 using gmail.com> wrote:
> Hi Sachiin
> I do not understand why "time" is included as an offset and even before
> that what the variable "number of years" refers to. An offset does not
> allow any scaling by a corresponding regression coefficient so you have to
> be very careful  to determine whether a predictor variable can validly be
> included as an offset.
> cheers
> Steve
> --
> Dr Steven G. Candy
> Director/Consultant
> (ABN: 83 601 268 419)
> 70 Burwood Drive
> Blackmans Bay, TASMANIA, Australia 7052
> Mobile: (61) 0439284983
>         [[alternative HTML version deleted]]
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

More information about the R-sig-mixed-models mailing list