Questions tagged [crossed-random-effects]

Crossed random effects refers to 2+ sets of random effects where levels of 1 random effect can occur in multiple levels of another. Eg, students in classrooms are nested, but students reading different stories could be crossed.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

How to run a multilevel regression model with crossed random effects: items and participants?

I am trying to run a multilevel regression for my study: I have two random effects; participants (97) and items (which are the 20 words used in the study) Each participant had to spell the same words. ...
user avatar
0 votes
0 answers
10 views

Setting up a stacked dataframe for multilevel model analysis in R

I need to set up my data frame into a stacked or long form in order to do a random crossed effects multilevel analysis. My random factors are participants and items (words in the assessment) My fixed ...
user avatar
3 votes
1 answer
77 views

How to deal with crossed and nested factors at the same time in a linear mixed model?

I've recently started analysing the data for a project using linear mixed models but am not sure how to deal with crossed and nested factors at the same time. In my study, each participant reported ...
user avatar
1 vote
1 answer
48 views

Are my random effects nested or crossed?

I am using the R package lme4 to build a mixed-effects model. My data is set up in the following way: ...
user avatar
1 vote
1 answer
75 views

lmer model interaction with 1 intercept and 1 random effect

I am very new to statistical analysis, but I am trying to understand the mixed-effect model. The data that I have is the mass volume of different rats across different days. Each rat has different ...
user avatar
0 votes
2 answers
122 views

Interpreting FE and RE from plots in an lmer

I am currently trying to understand mixed effect models. And I would like to ask for some help understanding these results. The data that I have is the mass volume of different rats across different ...
user avatar
0 votes
0 answers
11 views

Cross-Classified Random Intercept Reliability

I have cross-classified data where respondents report multiple perceptions about multiple neighborhoods. Perception reports are clustered within respondents, and respondents are crossed with ...
user avatar
  • 33
1 vote
1 answer
87 views

Lme4 Crossed Effects Mixed Model w/ Interaction Terms

Greetings Statisticians! I am trying to create a crossed effects mixed model w/ interaction terms in lme4 to describe a regional analysis of MRI data in mouse brains w/ genotype, treatment, and time ...
user avatar
0 votes
0 answers
16 views

How to specify mixed effects model for repeated dyadic data

I am trying to figure out how to specify the model for a special case of repeated-measures dyadic data. To provide an illustration (which is analogous to my research project), let us say that I want ...
user avatar
  • 1
0 votes
0 answers
16 views

Mixed model with crossed intervention effects using lme4

I'm trying to set up mixed models using lme4 package. My data has the following structure: ...
user avatar
0 votes
0 answers
25 views

How can I calculate the standard error of measurement (SEM) for crossed data that were repeated once?

I have acquired the responses of 10 persons that rated 15 items twice. All persons rated all 15 items. (10x15, rows=participants and columns=items). I have calculated the test retest reliability of ...
user avatar
2 votes
1 answer
135 views

How do I specify crossed random intercepts in lme?

I want to run a random intercept mixed-effect model, with two random intercepts. I made some example data below, which consists of 10 subjects from 3 families that go to 3 different schools. They get ...
user avatar
  • 73
1 vote
1 answer
45 views

What would a linear mixed model look like in an experiment using human judgement?

I am trying to build a LME model for the following occasion: In an experiment 10 persons rated 15 items (all rated the same items). These items can be physically (sensors) characterised by different ...
user avatar
0 votes
0 answers
39 views

How to specify interaction between crossed and nested factor levels?

We have estimated a mixed model with random factors where respondent (id) is nested within group and also crossed (fully) with stimulus. In lme4 syntax this is written as: ...
user avatar
0 votes
1 answer
62 views

Crossed-random effects model: linear heteroscedasticity

we conducted a study in which two groups from different populations (both n = 25) were instructed to rate the symmetry (visual analogue scales, 0 to 100) of 50 different faces in randomised order each....
user avatar
0 votes
0 answers
13 views

Partially crossed two factor experiment: Model choice and inference

I have data from an ecological experiment featuring a partially crossed design. The experiment manipulated air temperature (3 levels: T1, T2, T3) and precipitation (2 levels: W1, W2). However, the ...
user avatar
  • 1
1 vote
1 answer
44 views

Fully crossed effects specification in a cross-over design

I am trying to specify a linear mixed model using lme4, and do not completely understand how to specify a crossed random effects structure. The study design looks like this: we have n subjects (...
user avatar
  • 53
1 vote
0 answers
11 views

sample size in mixed effects models with crossed random effects

I am trying to plan the needed sample size for my eye-tracking study. The outline is as follows: Each participant will view approx. 100 images for 3 seconds each for which fixation data will be ...
user avatar
  • 11
1 vote
1 answer
99 views

Crossed random effects: how do we model multiple reciprocal transplants in lme4?

I saw the previous post on "Crossed vs nested random effects: how do they differ and how are they specified correctly in lme4?" with a very nice descriptive response from @RobertLong (...
user avatar
0 votes
1 answer
105 views

What is the appropriate random effect model and R-code for following data and question?

I attached a data here called image_study. The “image_study.csv” dataset contains data from a study examining the speed of classification of two different types of image: artworks, and natural images. ...
user avatar
2 votes
1 answer
62 views

Negative binomial regression analysis with crossed random effects

I face a challenge in running a model comprising (1) crossed random effects and (2) a zero-inflated negative binomial regression in R. In the study, I analyze interactions between organizations. ...
user avatar
  • 45
0 votes
1 answer
67 views

Linear Mixed Model with Date Covariate and Missing Values

Let us consider the table below, which contains (a sample of) the sale prices of different properties in successive years (not all properties are sold each year): ...
user avatar
  • 268
2 votes
1 answer
179 views

Linear Mixed Model With Partially Crossed Random Effects

I am trying to apply a linear mixed model on my data. Unfortunately all howto's and papers I found yet do not help me with my design: I have 30 different texts (stimuli) which are rated on 5 items (on ...
user avatar
  • 77
3 votes
1 answer
64 views

Equation notation for crossed-effect mixed models

I have conducted a crossed-effect logistic regression using Stata's meqrlogit command and have been asked to provide the equation notation. I have participants (ID) who each rated 8 activities (act) ...
user avatar
  • 31
0 votes
1 answer
57 views

Longitudinal mixed-effect model with crossed random effects

I'm having a hard time figuring out the appropriate fixed and random effect structure for my model and would appreciate some help. In my study the frequency of two environmental behaviors was assessed ...
user avatar
  • 1
3 votes
1 answer
44 views

How to build a GLMM that observes the years since experimental design was established?

Hello, my first question, quite individual, so I find it difficult to relate already answered questions to mine. I have observed the vegetation development in forests of 5 different areas (...
user avatar
4 votes
1 answer
107 views

Interpreting nested random effects

I was playing around with some data and had hard time to understand the meaning of nested effects. Here's an example of a dataset (selfesteem2 from package datarium)...
user avatar
  • 1,448
2 votes
1 answer
59 views

Crossed effects in lmer or lme4

I conducted an experiment where I want to predict response times in a picture classification task from person characteristics (age, prior experience) and item characteristics (similarity; color, shape,...
user avatar
  • 33
5 votes
1 answer
422 views

Lmer model syntax for a combination of crossed and nested random effects

I'm trying to use the lmer() function in R to specify a particular random effects structure for a model that has four levels: each measurement on a students occurs ...
user avatar
3 votes
1 answer
346 views

How to fit the right cross-classified multilevel model

. I would like to study the link between mortality (outcome and binary variable) and competition between hospitals (Predictor). The competition faced by the hospital is measured by the Herfindahl-...
user avatar
2 votes
1 answer
596 views

Crossed or nested random effects in a repeated measures and a between-subject design?

After reading a lot of material on nested and crossed effects, I am still unsure on whether the random effects in my design are nested or crossed. I would really appreciate advice from some more ...
user avatar
1 vote
0 answers
42 views

Two factorial time series mixed effect model using lmer

I'm facing a problem regarding the the selection of an appropriate model and right synthax using lmer()-command (lme4-package). But first let me explain the design of the study: Study design: I ran an ...
user avatar
  • 11
2 votes
1 answer
53 views

Singular fit for a mixed-effects model with crossed design

I have a dataset where different features were measured for three conditions. Each feature consists of sub-features, and sub-features are nested within features. I'm interested in the contrasts cond1 ...
user avatar
1 vote
1 answer
275 views

Cross-classified mixed models in lme4: How to code cluster variables when there are >2 random intercepts?

Let's suppose that I have a dataset where individual responses to a questionnaire are cross-classified within two grouping variables, G1 and G2. Based on this very informative post, it seems that ...
user avatar
  • 11
4 votes
1 answer
822 views

crossed random effects with autoregression, glmmTMB

I am working on data that have crossed random effects as well as a autoregressive covariance structure. I would like to check if there is something unlogical about my approach, as the model I would ...
user avatar
  • 41
6 votes
1 answer
181 views

lme4 - correct formula for a crossed factor nested mixed model

I am having a little trouble verifying correct notation for a crossed factor nested mixed model anova using lme4 package in R. My data is experimental, I applied two crossed treatments (light and ...
user avatar
  • 63
0 votes
0 answers
58 views

Generalized linear (logit) mixed-effects model with the random (crossed) effects drawn from a bivariate normal distribution

I am trying to implement a generalized mixed-effects model specified as: Dependent variable $y = \log(\frac{p}{1 - p})$ where $p$ is a quantity measured for a pair of individuals ($i$ and $j$). $E(...
user avatar
6 votes
1 answer
619 views

Bootstrapping with more than one random effect

Consider an experiment with $m$ subjects and $n$ words. Every subject rates every word, producing an $(m \times n)$ data matrix $\hat{X}$. I am interested in forming a confidence interval around $f(\...
user avatar
151 votes
1 answer
101k views

Crossed vs nested random effects: how do they differ and how are they specified correctly in lme4?

Here is how I have understood nested vs. crossed random effects: Nested random effects occur when a lower level factor appears only within a particular level of an upper level factor. For ...
user avatar
  • 3,074