Skip to content

Low intercept estimate in a binomial glmm

12 messages · Zack Steel, Luca Borger, Jarrod Hadfield +4 more

#
Hi,

plogis(-2.3776295) is the mode not the mean.

An approximation for the mean is:

c2<-((16*sqrt(3))/(15*pi))^2

plogis(-2.3776295/sqrt(1+c2*4.6432))

and this should be closer to the observed mean.

Cheers,

Jarrod



Quoting Zack Steel <zacksteel at gmail.com> on Wed, 3 Apr 2013 12:58:46 -0700:

  
    
#
Hi,

I think the Diggle approximation is more accurate:

sd<-seq(0,4,length=100)
x<-(-2.3776295)

Emu<-sapply(sd, function(sd){mean(plogis(rnorm(10000, x,sd)))})

plot(Emu~sd) # simulated expectations

c2<-((16*sqrt(3))/(15*pi))^2

lines(plogis(x/sqrt(1+c2*sd^2))~sd, col="red")
lines(plogis(x+0.5*sd)~sd, col="blue")

# approximations for the expectation

Cheers,

Jarrod



Quoting lborger <lborger at cebc.cnrs.fr> on Wed, 03 Apr 2013 22:58:04 +0200:

  
    
#
lborger <lborger at ...> writes:
Be my guest -- it's a wiki after all ... (I've written most
of it, but there have been a few very welcome edits, in addition
to a whole bunch of commercial spam that I have to keep going
in and weeding ...)
[snip]
#
Surely it is an issue of how you define multi-collinearity.

Centering is a simple re-parameterisation that, like any
other  re-parameterisation, makes no difference to the
predicted values and their standard errors (well, it will
make some small difference to the numerical computational
error, but with modern software that should be of scant
consequence).  Re-parameterisation may however give
parameters that are much more interpretable, with much
reduced correlations and standard errors   That is the
primary reason, if there is one, for doing it.

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
http://www.maths.anu.edu.au/~johnm
On 05/04/2013, at 4:40 PM, Paul Johnson <pauljohn32 at gmail.com> wrote:

            
#
John Maindonald <john.maindonald at ...> writes:
... but unfortunately centering often *can* make a difference
in GLMM fitting with lme4.  It would be nice eventually to
do *internal* orthogonalization of the fixed-effects design
matrix (or at least allow a switch for it), to make hand-centering/
scaling/orthogonalization unnecessary, but for the time
being there really are cases where centering matters.

  Ben Bolker
#
Well, yes, not necessarily of scant consequence when general
optimisation algorithms are used!

Also, note that type III sums of squares are defined with respect to
a specific parameterisation.  Do not use them unless in the rare
event that one can make a good case for a particular choice of 
parameterisation! 

Random effects are defined with respect to a particular 
parameterisation. 

John Maindonald             email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
http://www.maths.anu.edu.au/~johnm
On 06/04/2013, at 11:49 AM, Ben Bolker <bbolker at gmail.com> wrote: