Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
276 views

How to perform multilevel moderated mediation analysis with {mediate}

I'm attempted to run a multilevel moderated mediation analysis in R using the mediate package. Some details on my sample: I have an experimentally manipulated ...
Ethan Milne's user avatar
3 votes
0 answers
415 views

How should I specify a multi-level moderated mediation in lavaan?

I have a repeated measures crossover design where two treatments were delivered to all participants, and measurements of the mediator M and outcome Y were taken following each treatment. I also have a ...
Ben Smith's user avatar
0 votes
1 answer
63 views

Between-person level interaction

I have a database called dat1. Each participant (id) had multiple measurements. One of the variables measures type of the stress called stress_type (acute=0, chronic =1) and another variable is the ...
MAIMAU's user avatar
  • 11
0 votes
1 answer
62 views

Can I disentangle an interaction in a multilevel model by reordering factors?

I have a multilevel model with two factors (factor A - 2 levels; factor B - 3 levels) and continuous covariate, all of which interact. There is a random effect of participant and random slopes on the ...
Hu12345's user avatar
  • 15
0 votes
0 answers
114 views

how to use graph_model in reghelper correctly

I spent so many hours trying to create bargraph for lmer in R but I cant find a way to get each condition group mean to vary. I want to plot the following model ...
numpynp's user avatar
  • 21
0 votes
0 answers
683 views

Multilevel structural equation modeling with interaction between latent variables: designing the model and choosing the appropriate software

This has been a bit of a conundrum I've been trying to solve for a while and relates to a question I asked a while ago. I am trying to build a 4-level structural equation model (SEM) with latent ...
Pål Bjartan's user avatar
0 votes
1 answer
72 views

Interpreting an interaction in a mixed effects regression

...
Magenta Sunrise's user avatar
3 votes
2 answers
295 views

Multi-level / mixed-effect / hierarchical linear regression. Model and interpretation advice? [closed]

I want to run and then report a multi-level model on the ChickWeight data in R. I have done several analyses of which I have a few questions. I've been told the AIC is a good way to test a model's ...
Magenta Sunrise's user avatar
3 votes
0 answers
741 views

How to run a moderated multilevel mediation in R?

I am trying to run a moderated multilevel mediation in R. I have encountered the mlma and bmlm packages, as well as Elizabeth Page-Gould's open-source code for testing indirect effects in multi-level ...
JElder's user avatar
  • 1,252
2 votes
1 answer
2k views

Clustering and interactions in a multilevel model in R

We are conducting an individual participant level meta-analysis on a series of clustered randomised controlled trials, where we are mainly interested in an interaction effect with a characteristic (...
user2958701's user avatar
2 votes
1 answer
3k views

how do I plot interactions with continuous and categorical predictors in mixed models?

I'm very unsure how to plot mixed-level data consisting of a mixture of categorical and continuous predictors, so any help would be appreciated. This is the data ...
locus's user avatar
  • 1,629
2 votes
1 answer
79 views

can I test a mixed levels model with only some levels of a predictor to explore interactions?

I have this data frame ...
locus's user avatar
  • 1,629
1 vote
1 answer
253 views

Interaction effects in network meta-analysis (multiple treatment comparison) in R, with greater than two levels per effect?

I have a problem extremely similar to that found in question "Interaction effects in network meta-analysis (multiple treatment comparison) in R?", where I would like to use meta-analysis to ...
RLeg's user avatar
  • 11
3 votes
1 answer
1k views

Interactions between levels in lme4

We are implementing multilevel models in lme4 and have a question about how to handle cross-level predictors. This is a psychology experiment where individual participants come into the lab and ...
user1753987's user avatar
0 votes
1 answer
2k views

Multi level regression with interaction using R lme4

I'd like to do a regression analysis with interactions, my data has two levels (school classes and pupils). My variables are: Predictor = dummy variable on Level 1, dependent Variable = metric on ...
Stefanie Brimmers's user avatar
3 votes
1 answer
4k views

Specifying Cross-Level Interactions in LMER [closed]

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 ...
Miranda's user avatar
  • 31
1 vote
1 answer
2k views

Multilevel model where an interaction is a varying slope

I have a multilevel problem where I want to have a random intercept and a random slope. However the random slope is the interaction of two predictors. In this case, do I also have to allow random ...
George Michaelides's user avatar
2 votes
1 answer
842 views

Multi-Level Model with two scores per level 2 unit - reasonable analysis?

I have an experimental design with attitudes toward one positive and one negative stimulus nested within individuals. I also have a continuous predictor at the person level (a personality construct). ...
Andreas's user avatar
  • 21