"Mixed effects models" refers to models that have both fixed effects and random effects. They are used to model longitudinal data or data that are clustered & thus do not have independent errors.

learn more… | top users | synonyms

1
vote
0answers
12 views

How do I fit a linear mixed model in R with autocorrelation, when the effect of time is of no interest?

I am attempting to fit a linear mixed model with the lme function using R. My data involve repeated measures, but the effect of time is not of interest to me, so I don't want to include it as a fixed ...
0
votes
1answer
31 views

Material difference between Mixed Effects Model and normal Linear Model

I have a question about normal linear models vs mixed models. Say I'm predicting prices for certain products, and I know two things: store and brand: In a linear model (lm), this would be: ...
0
votes
0answers
25 views

Is there a more efficient way to partition my data for use in lme4?

I'm currently using lme4 to fit the following model: Model = lmer(CA ~ P + T + S + (1 | Study), Data) P and T refer to pressure and temperature, and there is an ...
3
votes
0answers
41 views

Study on both hands of patients, mixed effects?

We want to test the correlation of a certain surgical procedure on the hand (carpal tunnel) and the development of trigger digit. We have both hands of the patients, some hands underwent surgery, ...
1
vote
0answers
27 views

Striping in residuals for linear mixed effect models

I am looking at the effects role has an opportunities to collaborate between groups in a social network. At a basic level the data are modeled as: relRatio~role ...
0
votes
0answers
11 views

What does the dfbeta mean for an lmer regression?

According to the documentation: DFBETAS (standardized difference of the beta) is a measure that standardizes the absolute difference in parameter estimates between a (mixed effects) regression ...
1
vote
0answers
13 views

Heavy-tailed errors in mixed-effects model

I'm relatively new to statistical modelling and `R', so please let me know If I should provide any further information/plots. I did originally post this question here, but unfortunately have not ...
0
votes
0answers
10 views

How to get beta values for categorical moderator levels in mixed-effect meta-analyses? [closed]

I've used the metafor package in R to run some mixed-effects meta-analyses, and the final reduced model for each analysis contains several categorical moderators as well as a continuous moderator. For ...
0
votes
0answers
24 views

In the optimal model, do I need to change 'REML=FALSE' to 'REML=TRUE'?

I did the model comparison using these three models: ...
1
vote
2answers
31 views

How do I identify a particular residual from a mixed-effects model in R?

Here's a plot of my residuals from a mixed-effects model in R (using lme4). There's one 'outlying' residual with a value of around 35 (index circa 90) that seems anomalous. I don't know if it has ...
1
vote
1answer
21 views

Random variable in mixed-effect model (ecological studie)

I'm beginner with the mixed-effects model, so I already apologize if my question is a bit naive. My problem is the following : I sample each time 30 plants in 6 populations on 9 mountains. So I ...
0
votes
1answer
50 views

Should I include this fixed effect? lme4 likelihood ratio test and lmerTest anova disagree

I have a mixed-effects model with two fixed effects and one random effect (group membership) estimated using lme4. log_dv ~ iv1 + iv2 + (1 | group) I want to ...
1
vote
1answer
23 views

power for mixed-effects model

I wonder if there is a simple way of calculating an achieved power for a mixed-effects model. The fixed effects are the intercept and a slope. The random effect is for the intercept at the two levels ...
0
votes
0answers
11 views

Which is the difference between conventional 2-way repeated measures ANOVA and mixed effect ANOVA?

Assuming I have two within-subjects factors (Xw1 and Xw2) for my experimental design I can therefore perform two way repeated measures ANOVA using the conventional procedure in R ...
5
votes
1answer
56 views

Real motivation for using mixed effect models, and when to use them and when not to

My question might sound naïve, but despite my internet search, I wasn't able to find a satisfactory answer. I've been introduced to linear regression, linear fixed effect and linear mixed effect ...
2
votes
1answer
30 views

What is the nature of the normality assumption in models for longitudinal data?

I'm working on a longitudinal dataset to which I've been fitting non-linear mixed effects model in R. Regarding normality, I have a few questions: Can I assume that a longitudinal data is normally ...
0
votes
1answer
20 views

Mixed-effects model without the random effect in the design?

Is it appropriate to create a mixed-effects model (for example, using SAS Proc Mixed) that specifies a random effect but does not include the random effect in the model itself? I ask because it seems ...
0
votes
1answer
19 views

Intercept in random effects mixed model no longer significant

When I add a categorical fixed effect to my mixed model (with one random effect and three continuous fixed effects) the intercept is no longer statistically significant. Does this mean that the newly ...
2
votes
1answer
409 views

Obtaining adjusted (predicted) proportions with lme4 - using the glmer-function

I aim to estimate the annual proportion of patients (% of patients) that are smokers in a population whose age and sex must be taken into account. In other words, I want to calculate the adjusted ...
2
votes
1answer
41 views

Why are the beta values provided in lmer() different than simple group means of observations?

In a 2-level mixed-effect model, the equation for level-1 is $$Y_{ij} = \beta_{0j} + r_{ij}$$ where $\beta_{0j}$ is the mean outcome for the $j$-th group. I ran the following model: ...
2
votes
1answer
91 views

R-Metafor: Meta-analysis and mixed effect model

This is an example of my dataset ...
0
votes
1answer
56 views

Post-tests to consider in mixed models

I have a mixed model of the form y~condition + Replicate + Error(Replicate) but at the moment, and am running into difficulties in performing a post-hoc test. I ...
2
votes
0answers
17 views

Mixed effect linear model R

Could someone please help me with interpretation of the results I've got using nlme package from R. I have 3 groups of animals, each group is divided into 3 subgroups, and each subgroup has a number ...
2
votes
0answers
32 views

What happens when fixed and random effects overlap?

For example, if your response is the number of ticks on deer, and you sample deer at 10 sites. You include 'site' as a random effect, but you also want to include the density of trees at each site as ...
1
vote
0answers
19 views

How to analyse the ratio of two continuous variables sampled repeatedly over time

I am measuring reproductive hormones in dolphins over time to look at seasonal changes. The sample type (respiratory vapour) that I am using suffers from variable water dilution that cannot easily be ...
0
votes
0answers
8 views

Calculate elasticities of mixed logit

How do we calculate the dis-aggregate direct elasticity of a random-coefficient logit model?
2
votes
1answer
69 views

Interpreting Reaction Time data with mixed-effects model

I have a problem with interpreting Reaction Time results with mixed-effect models. In the experiment, participants were split into 2 conditions. They looked at the same set of pictures and then took ...
5
votes
0answers
137 views

glmer in R: Significance estimates are not robust to order of data frame

I'm using a mixed effects model with logistic link function (using lme4 version 1.1-7 in R). However, I noticed that the estimates of significance for fixed effects change depending on the order of ...
2
votes
1answer
73 views

Where is the correlation parameter in the linear mixed-effect model equation?

Moscatelli et al provide the equation behind generalized linear mixed-effect models, and their paper is available online: http://www.journalofvision.org/content/12/11/26.long They say: "We ...
0
votes
1answer
64 views

Specification of Mixed Model

I have very big experiment with 70 places around country. In each place there are several experimental plots where measures have been done. There were several measurement occasions during last 50 ...
0
votes
1answer
48 views

Are level 1 and level 2 residuals in a mixed effects model always normally distributed?

Take this mixed effects model: $y_{ij} = \beta_0 + \beta_1X_{ij} + \mu_{j} + \epsilon_{ij}$ The level 2 residuals are $\mu_{j}$ and the level 1 residuals are $\epsilon_{ij}$. As I understand the ...
2
votes
0answers
44 views

Linear mixed effects model methodology suggestions

4 beehives were equipped with sensors that collected temp, humidity, pressure, decibels inside the hive. these are the response variables. the treatment was wifi exposure, the experimental groups ...
0
votes
0answers
12 views

Averaging against mixed-effect model

I have experimental data that contains information about 50 participants who performed a task in five different conditions (different set sizes). The result is the time spent on the task. My data is ...
1
vote
1answer
14 views

Mixed effects model with level 2 explanatory variable

Take this linear mixed effects model, which is discussed on the CMM website: Centre for Multilevel Modelling $y_{ij} = \beta_0 + \beta_1X_{ij} + \beta_2\bar{X}_j + u_j + e_{ij}$ The variable $X$ is ...
2
votes
0answers
152 views
3
votes
0answers
66 views

Recommendation for books/notes for linear mixed effect models for longitudinal data?

I'm a beginner in data analysis who needs to learn (say in a period of 2 to 3 weeks or so) the key ideas and techniques in the linear mixed effect models for longitudinal data. I'll apply them in ...
1
vote
0answers
19 views

Not sure whether to include random effect that's related to fixed effects

I'm unsure about whether I need to include a random effect in a mixed effects model that I'm running, as the fixed effects are related to this random effect. I'm looking at how the intelligibility ...
0
votes
0answers
22 views

Can any one give me inf how I can form X, Z, R, G, and A matrices using dummy variables using the posted info below?

Y=Xb +Zu + e, where y represents a vector of observed (measured) phenotype values, b is vector of unknown parameters for “fixed" effects, while X is corresponding design matrix, u is vector of ...
2
votes
1answer
118 views

Probabilities of odds ratios in random intercept models?

I'm using R and the lme4 package to compute mixed effects models with binary outcome (glmer). I have included continuous ...
0
votes
1answer
35 views

Mixed effects models - which are the random parts?

I have data on family care for elderly people. Data stem from 6 EU counries. People were asked at baseline and followed-up one year later. Now I'd like to find predictors that explain why people ...
0
votes
0answers
88 views

Multilevel analysis in R and Stata

I am trying to replicate a multilevel logistic analysis which uses a dyadic time series data set and R. As for my part, I am using the same data set but Stata. The original syntax has the following ...
0
votes
0answers
15 views

interpreting an interaction of two continuous variables in a mixed effects model [duplicate]

I am hoping for some guidance on how to interpret the interaction in a mixed effects model. The interaction is between two continuous variables (EarlyLanguageExposure and NeighborhoodSize). My ...
0
votes
1answer
77 views

Coding of categorical random effects in R: int vs factor

I have a problem with coding of a 2-level categorical predictor variable in R, and subsequently using it as a random slope in lmer(). I can keep the factor as numeric, coded using the treatment ...
0
votes
0answers
67 views

How to report mixed effects logistic regression

I have several models predicting different binary outcomes as a function of time (binary variable: before/after intervention) and age (ranges 4 to 14), measured in different students within different ...
0
votes
0answers
38 views

Proc Mixed for a random slopes model - contrast the slopes?

I have a need to make predictions about a set of students $^1$ who are nested under teachers, under schools, under districts. I have produced the below model, and I now wish to do some forecasting at ...
2
votes
1answer
95 views

Using the same variable as a fixed and random effect in Mixed Effect Models

The experiment this data comes from an experiment where two people collaborate to put objects in a specific order. The Direction has the target array on their screen, and the Matcher has a scrambled ...
1
vote
1answer
140 views

Interpreting a linear mixed effect model's interaction term

I am a biologist and am attempting to analyze the effects of time and location on depth. I was told I needed to use a mixed effects model to account for the random variables of Individual and tracking ...
0
votes
0answers
55 views

Trying to understand the basics of a mixed-effects logistic regression model for a 10-step continuum

I am trying understand how to correctly build a mixed-effects logistic regression model in R. I believe my model is pretty simple and straight forward but I'm lacking in experience and uncertain I'm ...
3
votes
2answers
104 views

Fixed effect vs random effect when all possibilities are included in a mixed effects model

In a mixed effects model the recommendation is to use a fixed effect to estimate a parameter if all possible levels are included (e.g., both males and females). It is further recommended to use a ...
0
votes
0answers
45 views

Mixed effects structure: Main effects in random slopes with between-subjects design

My question is about whether it is appropriate to include certain random slopes in a mixed effects model with a between-subjects design. This is my first question on this stack exchange, and I'm ...