Skip to main content

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
3 votes
1 answer
46 views

Nested, Crossed or both random effects

I am building a GLMM model with a binomial response variable, and I am having trouble determining which combination or nested or crossed effects to use. My situation is the following: 1.) I have ...
geoscience123's user avatar
0 votes
0 answers
29 views

GLMMs with crossed random effects: How do I quantify the reduction in random effects variance of including fixed effects? Or, indeed, should I?

I am modelling test score outcomes (0/1) using a GLMM with crossed random effects for persons and items. As I add significant fixed effects estimates for person and item, the variance estimate for the ...
Tiptoe's user avatar
  • 1
0 votes
0 answers
36 views

Multilevel Modelling with Crossed and Nested Factors in R

I am trying to create a model to determine the effects of Stations and Circuits (and any interaction) on students scores in an OSCE exam, using the lmer function in R. I have 3 factors: circuit $\beta$...
D Ram's user avatar
  • 1
1 vote
0 answers
65 views

Predicting current area-level counts from repeated cross sectional presence/absence surveys

Problem statement I’m trying to predict the “current” distribution of wood-burning fireplaces at ZIP code level across 9 California counties based on 15 years of surveys with presence/absence data on ...
dholstius's user avatar
  • 101
0 votes
0 answers
55 views

lmer (lme4) nested random structure gives singular fit

I'm running the following model on some reaction time data: ...
Brechje van Osch's user avatar
1 vote
0 answers
74 views

How my linear mixed effect model should look like? [duplicate]

I want to fit a linear mixed effect model with a response variable called "PhiPS2", along with independent variables such as habitat, season, and species. However, I'm not sure which of ...
scholar101's user avatar
4 votes
1 answer
210 views

Random effects without repeated measures?

As I understand it, random effects are good for repeated measure designs where a random intercept, for example, represents deviations from an over-all trend. Given data with many grouping factors, ...
Nate's user avatar
  • 1,653
8 votes
3 answers
437 views

Mixed model with nested and crossed random effects

I'm new to mixed effects models and am trying to use the lmer() function from the lme4 R package to specify a random effects ...
Tim's user avatar
  • 135
2 votes
1 answer
29 views

Physical model for multilocation RCBD with repeated measures in time

I am trying to write a model for an experimental design that looks like this: There are 5 farms (A,B,C,D,E) , and each farm has a RCBD design with 2 treatments(1,2) randomized in 4 blocks in each farm....
Rabin KC's user avatar
1 vote
0 answers
66 views

crossed random effects in nonlinear mixed-effects model

I am a beginner in mixed effects modeling and am trying to find some useful code to solve my current problem. Specifically, I'm having some problems with model fitting. I'm looking for a ...
Duochishuiguo's user avatar
0 votes
1 answer
56 views

Specify a correlation between two cross-classified random variables in a mixed-effect model

I posted this question in a different version on R-sig-mixed-models and received no reply. I am trying my luck here. I am trying to emulate an ANOVA-based approach to analyzing round-robin data with a ...
Avi Kluger's user avatar
1 vote
1 answer
156 views

Specifying a mixed effects model with repeated constructs but cross-sectional observations (crossed vs. nested data at three levels)

I have a question about specifying a mixed model with crossed data across multiple levels. Consider the following situation: Let’s say I collected data on Americans’ perceptions about the importance ...
JmQ's user avatar
  • 129
1 vote
1 answer
61 views

How to specify random slopes when random effects are nested or crossed

I'm trying to run a model which has 3 random effects. Its data on an animal species and the random effects are 'group', 'mother' and 'individual'. Individual should be nested within mother, and then ...
JJRich91's user avatar
1 vote
0 answers
39 views

Proper analysis of completely crossed design with subjects and items as random effects (brms)

I have the following study design: stimuli: 240 pictures: 6 pictures of 40 students each (each student fixated one of six points and during each fixation one picture was taken) each stimulus was ...
Coconutts's user avatar
2 votes
1 answer
173 views

How to simulate multilevel data based on with- and between-group correlations?

I want to conduct a power simulation for my research with crossed random effects model in the R environment. Specifically, in the pilot study, each participant randomly rates 10 stimuli out of a ...
Bo WANG's user avatar
  • 31
2 votes
0 answers
74 views

Best practices for determining complex random effects structures

I am decently familiar with basic random effect structures for mixed effect models (i.e., random intercepts per id) but struggle to identify the most justifiable structures for more complex study ...
zr2015's user avatar
  • 41
2 votes
1 answer
480 views

brms model specification with 3 (crossed or nested?) levels

I have a data set that looks like this toy data ...
lilla's user avatar
  • 23
4 votes
1 answer
58 views

Accounting for nuisance confounding variable in multi level model for crossed or multiple membership study

I am trying to use a multi level model for a study where participants take part in 3 separate sessions where they complete a cognitive task and I measure reaction time. During each session, they ...
Zeke M.'s user avatar
  • 41
0 votes
0 answers
35 views

Combining two fixed factors in one factor

I have a question about a mixed model I'm running. The formula is the following: DV ~ Combined * Sex * Arousal + (1 + Combined | Subject) + (1 | Item) My question ...
Francesca's user avatar
1 vote
1 answer
115 views

Nested Linear Mixed Effects Model for Region-of-Interest to Region-of-Interest (ROI-to-ROI) Analysis

I am trying to examine the effects of language (English/Mother Tongue) on functional connectivity between different regions of interest (ROI). Hence, I employed a nested Linear Mixed Effects Model ...
Wei Ting Chua's user avatar
1 vote
0 answers
62 views

Identifying random effects structure to simulate dataset - lmer

I am trying to simulate a dataset based on an existing study. 60 participants completed the experiment twice. Each time, they were randomly assigned to either condition A or condition B. The condition ...
alex's user avatar
  • 11
1 vote
0 answers
21 views

Crossed effects without all combinations

There are a number of posts on Cross Validated explaining the difference between nested and crossed random-effects. In this example, it is noted that all feasible random effects categories are linked ...
geoscience123's user avatar
1 vote
0 answers
50 views

Fitting a longitudinal three-level in lme4 with multiple informants

I am trying to fit a multilevel longitudinal model and I am not sure how to conceptualize the structure and how to specify it with lme4 notation. My outcome of interest is the child's internalized ...
Myriam's user avatar
  • 11
6 votes
2 answers
724 views

Getting mixed answers on when to include random slopes into crossed effects linear mixed model

I've tried reading through the other threads here on this subject but I still don't really understand the specifics to the answer I'm looking for. I have a crossed effects model that looks something ...
Shawn Hemelstrand's user avatar
1 vote
1 answer
197 views

Specifying Random Effects Structure in LMER

I am trying to work out how best to specify a random-effects structure for a mixed effects model. My experiment had 85 participants, who each completed 96 trials of a task. From observing the data, I ...
Rupert Riddle's user avatar
1 vote
1 answer
65 views

diference between nested and crossed random effects within my study [duplicate]

dear. How are you. There is long since I have been trying to solve a doubt about diference between nested and crossed random effects within my study. So I am here to ask and seek for some information. ...
Rodrigo Cabrera da Silva's user avatar
0 votes
0 answers
73 views

Multilevel Model Crossed Random Effects

I am analyzing a dataset using a multilevel model approach and have been recommended to look at using crossed random effects due to the structure of data. I've currently been treating my data as 2 ...
TibialCuriosity's user avatar
1 vote
0 answers
368 views

Why random effects explain more variance than fixed effects

I have run a mixed-effects model that included fixed effects as well as random intercepts and random slopes. The design of the experiment is crossed: there are participants, each of whom evaluate a ...
Pablo Bernabeu's user avatar
0 votes
0 answers
33 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. ...
Paige Cox's user avatar
3 votes
1 answer
269 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 ...
Gloria Ma's user avatar
2 votes
1 answer
167 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: ...
geoscience123's user avatar
2 votes
1 answer
220 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 ...
Rosa Maria's user avatar
0 votes
2 answers
256 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 ...
Rosa Maria's user avatar
1 vote
1 answer
365 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 ...
Lothar the Quick's user avatar
3 votes
1 answer
927 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 ...
Abdel's user avatar
  • 113
3 votes
1 answer
49 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 ...
Ifigenia's user avatar
0 votes
0 answers
53 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: ...
Reynard's user avatar
0 votes
1 answer
70 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....
Davide Capponi's user avatar
1 vote
1 answer
243 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 (...
rcirer's user avatar
  • 53
1 vote
0 answers
19 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 ...
Kathy's user avatar
  • 11
1 vote
1 answer
231 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 (...
Christina Richards's user avatar
0 votes
1 answer
220 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. ...
Mehdi Looha's user avatar
2 votes
1 answer
140 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. ...
Lea's user avatar
  • 45
0 votes
1 answer
184 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): ...
David M.'s user avatar
  • 278
3 votes
1 answer
842 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 ...
HenrikG's user avatar
  • 97
3 votes
1 answer
142 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) ...
James's user avatar
  • 31
0 votes
1 answer
150 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 ...
Julia's user avatar
  • 1
3 votes
1 answer
72 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 (...
Ole Herbchandler's user avatar
5 votes
1 answer
200 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)...
User33268's user avatar
  • 1,742
2 votes
1 answer
83 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,...
achmed's user avatar
  • 35