Generalized Linear Mixed (effects) Models are typically used for modeling non-independent non-normal data (eg, longitudinal binary data).

learn more… | top users | synonyms

2
votes
1answer
16 views

confidence intervals around lines from glmer in lme4

I have spent a large amount of time trying to figure out how to generate a desired plot, and was wondering if any one can help. The plot is to illustrate an interaction between 'time' and 'group' on a ...
0
votes
1answer
17 views

Generalized linear model with random effects for skewed data

I'd like to use SPSS Generalized Linear Model to analyze a dataset of insects collected from one particular species of vegetables. I have following variables: NUMBER (number of insects collected) ...
0
votes
0answers
30 views

Marginal and Conditional $R^2$ for GLMM

I am trying to calculate $R^2$ (variance explained) for a set of data using GLMM's, and . Here's some dummy data. ...
1
vote
0answers
17 views

glmm for complete randomized block design with repeated measurement

I want to analyze count data from a complete randomized block design using a glmm. Observational plots are organized in 2 blocks. Within these blocks I have 5 different tratements which are replicated ...
0
votes
0answers
30 views

Error when using mixed function in afex package on GLMM

I have been using lme4 in order to fit an overdispersion model and GLMM to my data as shown below. This seems to work fine. ...
0
votes
0answers
7 views

Distribution-specific variance component to use with R-squared for ordinal logistic GLMM

I think this should be straightforward, though I cannot find an answer after digging around a lot within work by Nakagawa et al. on $R^2$ values for GLMMs. My question is similar to that posed before ...
1
vote
1answer
35 views

Translate glmer (lme4) model specification into MCMCglmm

I am having some computational trouble estimating the following model with the glmer function in lme4: ...
3
votes
0answers
39 views

Quasipoisson or negative binomial glmm with differing dispersion by group

I have a set of count data, which look something like this: ...
0
votes
0answers
10 views

Is GzLMM with linear linking function identical to (G)LMM?

Should I hesitate to report a "generalized linear mixed model with linear linking function (and assumption of a normally distributed target)" as simply a "(general) linear mixed model" in a ...
0
votes
0answers
6 views

Accounting for initial values of reponse variable in binomial GLM

R v.3.1.0. Mac OSX 10.9.5. Can somebody please recommend a method to account for initial values of a response variable in binomial GLMM? I am designing an ecological experiment, and am having a hard ...
0
votes
0answers
15 views

Zero-inflated mixed models with two-stage fitting

Zero-inflated models have a count component (Poisson/Neg. Binomial) and a zero component (logistic regression part). glmmADMB supports the zero-inflation feature but only through estimating a ...
1
vote
1answer
35 views

Model selection: can I compare the AIC from models of count data between linear and poisson models?

I am modeling count data (with offset / exposure parameter). My modeling strategy is use of a Poisson model and a negative binomial regression model. I compare model AICs, which are about -760 for my ...
0
votes
1answer
58 views

Computing repeatability from overdispersed zero-inflated negative binomial GLMMM in R

I'm trying to compute repeatability of a count response variable from a Generalized linear mixed model with multiple fixed effects and individual ID as a random effect. I'm dealing with both ...
1
vote
0answers
44 views

GLMM with 2 insignificant variables has lower AIC or BIC compared to same model without those variables…?

I am having a hard time understanding what's going on in with my model selection, and why a model with two insignificant variables is getting chosen as the "best model" over a model without those two ...
0
votes
0answers
22 views

How to analyze nested, repeated and unbalanced questionnaires where the outcome is binary?

Background: My data was collected once a year for 6 years using the same questionnaire. All responses have a person-specific ID. 18 554 responses from 5 654 unique persons were collected from 7 ...
0
votes
0answers
20 views

How many random effects to specify in glmmADMB?

I am not sure if I could use 4 random effects in a glmmADMB model. According to Bolker et al. (TREE 24: 127-131, 2009) when there are more than 3 random effects MCMC should be used. However, I do not ...
0
votes
0answers
71 views

Can I get some help writing a full model? in R, using lme4, glmm, with overdispersion

I'm trying to see how treatments affect species call counts at different locations. But I am not sure what model formula I need to use. My data is organized in an excel file and looks like this: ...
2
votes
1answer
59 views

MATLAB2014b `fitglme` causes error on intermediate results

((This post is a duplicate from Stack Exchange as there was no response there)) MATLAB R2014b's library function fitglme is acting up. It seems to be producing ...
0
votes
0answers
113 views

Explained variation ($R^2$) from MCMC glmm - Nakagawa & Schielzeth 2013

This is a follow up to a question I asked previously, where I suggested that variance-covariance matrices could be used to derive correlations, which are then usable as estimates of how much each ...
1
vote
0answers
28 views

Confidence interval for psychometric binomial GLM model on more than one subject in R

I'm trying to estimate the confidence interval of a psychometric curve (binomial probit GLM), for a population (now only two subjects). Suppose I've subject "a" and subject "b", which performs ...
0
votes
0answers
21 views

Probit regression with misclassified binary dependent variable in R

Is there a generalized linear mixed-effects model implementation for R that could handle misclassified binary data? Unless I have overlooked something in the documentation, glmer with ...
1
vote
1answer
90 views

In what sense is the interpretation of coefficients in a GLMM subject-specific?

There is something I'm not quite understanding conceptually about the output from generalized linear mixed models. I have read that the target of inference in GLMMs is subject-specific. For example, ...
6
votes
0answers
214 views

Overdispersion and modeling alternatives in Poisson random effect models with offsets

I have run into a number of practical questions when modeling count data from experimental research using a within-subject experiment. I briefly describe the experiment, data, and what I have done so ...
2
votes
2answers
92 views

Standardize non-normal predictors before performing binomial GLMM using mean and sd?

I am planning to predict a binomial variable (1/0, a used point by an animal or point available to an animal in its range) using several continuous, distance-based predictor variables (distance to ...
0
votes
0answers
29 views

Problem running dredge function with glmmadmb model

I'm running the following model in R: ...
2
votes
0answers
35 views

How can I evaluate spatial autocorrelation in a binomial GLMM?

Following Dormann et al 2007 Ecography, I have employed a GLMM approach in R to account for spatial autocorrelation in a binomial regression model (logistic regression) that does not have random ...
0
votes
0answers
16 views

choosing the best structure of the random effects in a GLMM [duplicate]

I am trying to choose the best random effect structure in a GLMM, before starting with the fixed terms. To do that I include all the fixed effect and their interactions (beyond optimal model) and ...
1
vote
0answers
31 views

lmer, effect of a ramdom factor in a covariate [closed]

hi I am doing a General Linear Mixed Model in R, lme4 package. I want to test the effect of a random effect on a covariate, as well as on the response variable. I thin that the command would be the ...
5
votes
1answer
77 views

Do I need more than one random slope?

When constructing a GLMM in R, do I need more than one random slope if I "see" that slopes differ for multiple continuous variables? In my case, I am analysing the number of plant species (...
2
votes
2answers
139 views

Can I include covariate as random effect in glmer?

I have a question regarding covariates in a GLMM. My model comprises a condition variable and a covariate. Crucially, my binomially distributed dependent variable can be interpreted only in dependency ...
0
votes
0answers
9 views

Clear explanation of pseudo likehood

In generalized linear mixed model (glimmix) parameters are estimated using pseudo likelihood. I was trying to understand how this type of likelihood calculated. Thanks !!!
0
votes
0answers
53 views

Looking for an intuitive and simple way of visualizing the effects of factors in a GLMM analysis

This is a conceptual question. I have data to which I fit a GLMM. The data are numerical observations (a metabolite concentration in the blood, hence defined over the positive real), obtained from 2 ...
0
votes
1answer
138 views

How to interpret “main effects” in a GLMM?

Recently, I asked a question about what procedure to use to analyse mixed data with dichotomous outcomes, see [here][1]. Now I started running some first analyses (mainly with SPSS, but I'll post the ...
0
votes
0answers
17 views

fitting behavioral data using glmmADMB while accounting for 2 repeated measured structures

I am attempting to analyze an experiment where I am testing for differences in agonistic behaviors (e.g. bite etc...) between two morphs of frogs sampled over 5 time periods (2 days; morning and ...
0
votes
0answers
19 views

Repeated measures in GLMM

I have a dataset in which individuals in some plant populations were measured over 3 consecutive years. My response variable is the reproduction of each individual. My fixed effects involve: one ...
1
vote
0answers
10 views

How can parameter expansion be applied to cox proportional hazard models with random effects?

Parameter expansion is used in various GLMMs to accelerate e.g. EM or Gibbs convergence. Is anybody aware of a paper/work which implements PX for CPH?
0
votes
0answers
33 views

Some doubts about using time random effect

I'm starting with lme4 and GLMM. Maybe this question can be basic for experimented researchers, but I'm still learning. I have a pooled data where every ...
0
votes
0answers
121 views

Convergence warnings in glmer

I am running a Generalized Linear Mixed Model in R 3.0.2 using lme4 1.1-7 for a dichotomous outcome variable (success, 0 = no, 1 = yes) ...
2
votes
0answers
63 views

Data analysis : replication, pseudoreplication and mixed models

I have several questions concerning analysis of data, especially when there are replications and/or pseudoreplications. First, I read an example in « pseudoreplication is a pseudoproblem » where we ...
1
vote
0answers
81 views

Assumptions of Linear Mixed Model

I had data with repeated measurement and nested design. Conventional ANOVA requires strict control on homogeneity of variance and repeated measurement ANOVA requires assumption of sphericity. ...
0
votes
0answers
21 views

How to measure classification accuracy based on presence only data?

I have a binomial GLMM which I calibrated with data on recreational visits (presence) compared with random controls where no visits were recorded (absence). I generated the controls myself, whereas ...
4
votes
1answer
69 views

Assessing the fit of GLMM implimentation of a Rasch model to binary data using lme4

I'd like to assess the fit of the kinds of models described by de Boeck et al (2011) (http://www.jstatsoft.org/v39/i12). They are GLMM implementation of Rasch family models, e.g.: ...
1
vote
1answer
83 views

Using interaction terms in an MCMCglmm

I am using MCMCglmm models in R, with hierarchically nested data. The basic structure of the data is as follows - each dyad is a unique combination of focal/other: ...
0
votes
0answers
81 views

MCMCglmm interpretation of effective sample size

I'm running a selection of MCMCglmm models in R, and have a basic question about the outputs. Based on what I've been reading, one indication that the model is mixing well is a large effective ...
1
vote
0answers
62 views

Testing GLMM residuals against specific families and link functions (R)

When running a GLMM in R with family=gaussian and link=identity, it's easy enough to test whether normality and homoscedasticity ...
4
votes
1answer
123 views

GLMM overfitting solutions

in GLMM faq page http://glmm.wikidot.com/faq there is a statement about overfitting: "One alternative (suggested by Robert LaBudde) is to "fit the model with the random factor as a fixed effect, get ...
1
vote
1answer
127 views

Testing whether random effects are normally distributed in R

I've been working on a GLMM in R and I see that an assumption of the test is that the random factor must be normally distributed (that is, unless you're using a package like ...
0
votes
1answer
78 views

Can someone look at my method for fitting a GEE to my data?

I’ve been doing some statistical analyses in R on some data. It’s for use in a manuscript I’m hoping to get published in a biological journal. Unfortunately, the tests I ended up having to run are ...
1
vote
1answer
26 views

model comparison when alternatives are not all nested within one another

I am running a glmm with three fixed effects: opponent 1 size ("1") opponent 2 size ("2") opponent 1 size - opponent 2 size ("diff") I am unable to run all three variables in the model at once ...
5
votes
1answer
82 views

Should I exclude random effects from a model if they are not statistically significant?

Should I include random effects in a model even if they aren't statistically significant? I have a repeated measures experimental design, in which each individual experiences three different ...