0
votes
1answer
39 views

Specifying Cross-Level Interactions in LMER

Please note: this post was previously posted on http://stackoverflow.com/q/26433718/4155221 and I have re-posted it here based on a suggestion in one of the comments. I am trying to figure out if ...
0
votes
0answers
9 views

Specifying Cross-Level Interactions in LMER [duplicate]

I am trying to figure out if it's okay to specify cross-level interactions in a hierarchical model with fixed effect predictor variables at both levels using the lmer function, and, if so, how to do ...
0
votes
0answers
21 views

Correlations of fixed effects in logit mixed model with a nested fixed effect

I am using lme4 in R to fit a logistic mixed effects model of psycholinguistic data with three categorial (binary) fixed effects and two crossed random factors (subjects; items). The critical ...
0
votes
1answer
39 views

F stats for post hoc test of a linear mixed effects model

I have an unbalanced linear mixed effects model with three fixed factors of various levels and one random factor for my repeated measures data (for details see here). Thanks to your help I managed to ...
1
vote
1answer
83 views

Summarizing and plotting several combined relationships with LMER

I want to see if there is a significant relationship between predictor and value. I've measured these two variables in 6 different conditions (not a full 3 x 3 design because feature1 and feature2 ...
0
votes
1answer
47 views

In which order should factors be removed when performing model simplification (lmer)?

I am a bachelor student in biology and for a project work, I have a model with a design like this (A, B & C are fixed factors, D is random and nested in C): ...
2
votes
1answer
57 views

What is the lme4::lmer equivalent of a three-way repeated measures ANOVA?

My question is based on this response which showed which lme4::lmer model corresponds to a two-way repeated measures ANOVA: ...
6
votes
2answers
201 views

How trustworthy are the confidence intervals for lmer objects through effects package?

Effects package provides a very fast and convenient way for plotting linear mixed effect model results obtained through lme4 ...
0
votes
0answers
32 views

lmer with multiply imputed data

How can I get pooled random effects for lmer after multiple imputation? I am using mice to multiple impute a dataframe. And lme4 for a mixed model with random intercept and random slope. Pooling lmer ...
0
votes
0answers
8 views

How to not only compute predicted values but also standard errors [migrated]

I am trying to generate standard errors for predicted values. I do manage to generate the predicted values, however, do not get the standard errors. Instead, I consistently get the following error ...
1
vote
1answer
28 views

Correct specification of HLM in lmer

I originally learned about random effects models when taking a course on Hierarchical Linear Models, which was taught using Raudenbush and Bryk's HLM book and software, and it sort of indoctrinated me ...
0
votes
0answers
34 views

Cross-classified HLM (random effects) with lmer in R

I need to run a cross-classified (partially nested / partially crossed) HLM in R using lmer. I haven't found many (any?) clear discussions on how to model this and how to set up the data (besides the ...
2
votes
0answers
58 views

Multiple correlated random non-nested intercepts in R

I am trying to estimate a longitudinal model in R in which there are several random intercepts that are correlated with each other, and the data are non-nested. For example, consider a simple ...
3
votes
1answer
51 views

What is the null model for a likelihood ratio test of a within-subjects factor?

Tissue samples were taken from 4 differention locations and repeatedly measured. This was done identically for 3 animals. The research question was: Are there differences in measurement between the ...
0
votes
1answer
58 views

Random effect significance in linear mixed model

I have performed LRT: ...
2
votes
0answers
175 views

Mixed effect linear regression model output interpretation

I just fitted the following linear mixed effects model: ...
0
votes
1answer
92 views

I am confused with ranef function in R

Do the ranef and fixef functions in lmer give the random and fixed effect coefficients? If ...
1
vote
1answer
73 views

Specifying a linear mixed model in lmer with replications nested within a fully crossed design

I’m trying to specify a linear mixed model for a somewhat complicated, nested & crossed method comparison study with replicated measurements. The goal is to partition and compare variances. It’s ...
0
votes
1answer
91 views

Number of observations in groups - linear mixed effects model

I would like to fit linear mixed effects model to my dataset, but I was wondering if quantity of observations in groups matter? I have some groups with about 60 observations in each, but there are ...
1
vote
0answers
43 views

Multiple covariates for each fixed effect

I'm analyzing data from a classical intervention design. Subjects were divided into groups, undertaking different interventions. Each subject was measured using the same tests before and after the ...
1
vote
1answer
100 views

mixed effects model output

Let's say we have this: ...
1
vote
1answer
93 views

Mixed Model Analysis of Experiment Data using lmer() Function (lme4 package in R) where Levels in Stimulus Grouping Factor equal Observations

I am running a post-hoc analysis on the data collected during an experiment in which 15 unique stimuli were presented to participants. Having run a least squares regression using the lm() function in ...
0
votes
0answers
25 views

Assessing the effect of related variables using lmer in R

I am trying to run a model to describe the rate of water table drawdown in the soil. The predicted variable is rate, and I am interested in the effect of two categorical variables: (1) if the water ...
4
votes
1answer
148 views

Mixed effects modelling; what to do when model is over-specified?

I'm trying to use mixed-effects modelling to analyse some data. There are a number of variables that I need to specify within the model, two of which are between-participants (...
2
votes
1answer
211 views

difference in results of mixed effects model in nlme and lme4 package

Can anyone please tell me why the results of random slope model is different for the same dataset when I use lme and lmer. I first fitted a random intercept model as follows using both lme as well ...
0
votes
0answers
55 views

collinearity in linear mixed effects model

I have one dependent variable (continuous data) and 4 independent data (mix of continuous and count) collected over 35 years across several states. I am using a linear mixed effect models with a ...
0
votes
1answer
88 views

Linear mixed effect models with two independent variables

I am estimating a random intercept and a random slope model using the following R code. My dependent and independent variable are both continuous. ...
1
vote
0answers
38 views

R-squared for linear mixed effects model [duplicate]

I ran linear mixed effects model in R. model<-lmer(yld ~ rain + (1+rain|state),data=data,REML=FALSE) Is there any way I can generate an R-squared for the ...
0
votes
0answers
18 views

difference between mixed effect and a simple ANCOVA

So I have collected data for 50 years of my dependent variable (continuous) data (x), independent (continuous) variable (y) across 10 locations. My null hypothesis is that the regression slopes ...
2
votes
1answer
58 views

Are best linear unbiased predictions (BLUPs) a good indicator of the mean value for that random effect member?

I have data on prices of houses in different districts, and would like to determine how expensive different districts are when it comes to buying a house. However, houses vary with respect to ...
0
votes
0answers
56 views

Help with lmer in the lme4 package

I am new to using linear mixed models and would greatly appreciate any help I can get. I have an equation of the form $ y = X\beta + Zu + \epsilon$ where $u$ is a random effect whose covariance ...
0
votes
0answers
35 views

Mixed modelling with lmer

I've read multiple posts on model fitting using lmer(), but I saw multiple versions of using the error term which made it confusing for me. I have a factorial ...
0
votes
0answers
22 views

Do I need by-item effects in my lmer model, with gain scores as DV?

I'm attempting to fit a relatively straightforward linear model in R, but am in doubt as to whether by-item effects should be included in the model. Any input would be most appreciated! Study design: ...
1
vote
0answers
60 views

In an experiment w/binomial responses, some subjects gave the same answer for all trials. [How] can a Mixed Effects model (R's lmer) deal with this?

I recently ran a pilot of an experiment on Amazon's Mechanical Turk. In the experiment, participants read 5 items, and answered a yes/no question about each one. A between-participants factor was ...
2
votes
1answer
210 views

anova type III test for a GLMM

I am fitting a glmer model in the lme4 R package. I'm looking for an anova table with p-value shown therein, but I cannot find ...
1
vote
0answers
34 views

Should I control for random effects of participant in an individual differences design?

I'm trying to analyse a survey study in which I'm interested in the way that individual differences between my participants influence how they respond to my stimuli. The stimuli are pieces of writing ...
0
votes
0answers
50 views

Estimated SD equal to 0 (lmer)

I'm trying to fit a mixed model of my data, but I'm getting the estimated between-subject standard deviation equal to zero. I need to estimate the between-subject standard deviation and within-subject ...
2
votes
1answer
3k views

Lmer model fails to converge

My data is described here What can cause a "Error() model is singular error" in aov when fitting a repeated measures ANOVA? I am trying to see the effect of an interaction using ...
0
votes
0answers
81 views

Differences between lsmeans and difflsmeans

I've created an lmer model. The effects of one of my treatments, "Fertilizer" varies depending on whether I use lsmeans or ...
4
votes
2answers
189 views

Is my dataset suitable for a mixed effects model?

I've been putting a lot of work over the last few days into bring mixed effects models to bear on some behavioural data I've collected for my thesis, but it's occurred to me that I'm not 100% sure ...
0
votes
0answers
78 views

Specification of a mixed model with nesting with lmer

I've been told my model wasn't statistically correct, but I'm not sure what I should do. What I have is basically 2 species: A and B. For each species, I have 3 replicates: 1, 2, and 3 (=6 ...
0
votes
0answers
59 views

Should I be using a GLMM?

I'm looking at the influence of pollen type on whether a flower sets fruit (i.e., yes or no = 1 or 0). Then looking at number of seeds per fruit (1-6 possible). I was told I should use lmer, however ...
1
vote
0answers
137 views

Repeated measures mixed model using lmer in R

I’m hoping to get some guidance in specifying a mixed model using the lme4 package in R. The study is quite straightforward. It’s a repeated measures design with pre/post measurements on the ...
1
vote
0answers
226 views

lme / lmer - split-plot with Non orthogonal subdesign

I have an agricultural field experiment (testing a plant protection agent): Split plot design with: ...
0
votes
0answers
90 views

Cannot do Tukey test in multcomp

After performing series of linear mixed models in lme4 to justify which model with which level of interaction to be used, now I would like to do the Tukey's test for multiple comparison. So first, I ...
3
votes
0answers
332 views

lmer() parametric bootstrap testing for fixed effects

I am performing a parametric bootstrap to test whether I need a specific fixed effect in my model or not. I have mainly done this for exercise and I am interested if my procedure so far is correct. ...
0
votes
0answers
62 views

Two-way interaction: interpret output from LMM in lmer

I have asked a question in this topic relating interpreting two- and three-way interactions in this link: How to interpret 2-way and 3-way interaction in lmer? ...
0
votes
0answers
48 views

Interpretation of three-way interaction in an output of lmer

I am using lme4 to run a three-way interaction model. I have three independent variables: animal (rat, lion, dog), color (red, green, blue) and sex (male, female). The baselines are as follows: ...
2
votes
2answers
116 views

A good source to understand interaction in LMM?

I would like to know more about interaction in LMM using lmer. Can you recommend me any books, articles, websites?
1
vote
0answers
40 views