Skip to main content

Questions tagged [multilevel-analysis]

Statistical analysis of datasets comprising several levels of hierarchy (e.g., students nested in classes nested in schools or hierarchical forecasting). For questions about mixed models use [mixed-model] tag. For nested random effects, use [nested-data].

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

Why do top-down approaches produce biased coherent forecasts?

The context is forecasting hierarchical time series. Section 10.4 of "Forecasting: Principles and Practice" (2nd edition) by Hyndman & Atahnasopoulos states: One disadvantage of all top-...
Richard Hardy's user avatar
0 votes
0 answers
26 views

Moderation in linear mixed model

I ran a Linear Mixed Model in R with 2 centered predictors and a Group variable. fit1a <- lmer(DV ~ Predictor1*Group + Predictor2*Group + (1|...), data) One of ...
KayAnn's user avatar
  • 1
0 votes
0 answers
18 views

zero-inflation analysis multilevel for continuos data (not count data)

I was trying to fit a multilevel model, but I discovered that my dependent variable is highly skewed and zero-inflated. Individuals report 5 times a day for 7 days their level of paranoia and the ...
miso's user avatar
  • 1
2 votes
1 answer
19 views

Twolevel multgroup model in Mplus [closed]

I would like to use Mplus to run a two-level multigroup model with two groups (e.g. example 9.11 in the user guide). My question: I have an independent variable X that varies in group A only between ...
MP SZ's user avatar
  • 21
0 votes
1 answer
33 views

Multi-level Linear Mixed Model: Sampling and Power Issues

I am struggling to find a proper model for my analysis, and on top of this, I have some questions about the number of observations and the resulting power of the model. Experiment I ran a reaction ...
OJ432's user avatar
  • 1
1 vote
1 answer
31 views

Equivalence of Fixed Effects in Contextual Models with and without Random Slopes

When estimating "contextual models" (i.e., models that contain level-1 predictors as well as their cluster means on level-2), the estimation of the fixed effects should be unaffected by the ...
abeeisnotabug's user avatar
5 votes
2 answers
240 views

Clarification on Random Effects Structure in Linear Mixed Models in R

I am using linear mixed models to analyze a dataset with a hierarchical structure, where measurements over time (level 1) are clustered within individuals (level 2), and individuals are clustered ...
Pashtun's user avatar
  • 155
1 vote
1 answer
28 views

How to analyze between-group differences in within-group variances over time in a 3-level model?

The data I am using is collected within the physical fitness surveillance program in schools. In these schools, either no intervention, healthy lifestyle intervention, healthy schools network ...
Antonio Martinko's user avatar
1 vote
0 answers
25 views

Inconsistent posterior from hierarchical survival model

I asked about this question on Stan forum but no one replied so dual posting here. I'd really appreciate some insight, as I'm completely stuck. I’m trying to do hierarchical survival modeling using ...
Ville's user avatar
  • 81
3 votes
1 answer
120 views

Why estimated population variance differs from estimated $\sigma^2 + \tau^2$ in this random effects ANOVA?

A random effects ANOVA model is typically written as $Y_{ij} = \gamma_{00} + u_{0j} + \epsilon_{ij}$ . and the total variance of the outcome variable is decomposed into $var(Y_{ij}) = \tau^2 + \sigma^...
user1205901 - Слава Україні's user avatar
2 votes
0 answers
35 views

How to appropriately model complex structured, multivariate data [closed]

This is an extension of this question I posted earlier. The general data I introduced there is the same. The structure/nature of my data is: y ... my response variable of interest x ... my main ...
Anke's user avatar
  • 301
5 votes
2 answers
194 views

Estimate random effect variance for power analysis in multilevel model

Is there a general convention on what variance to expect for a random intercept in a multilevel model? I need to provide an estimate for the power analysis. It is a within-subjects design. Thanks!
Elisa's user avatar
  • 53
0 votes
0 answers
15 views

3 way interaction, residual plot showing clustering across fitted values, do I need to account for grouping in a different way?

I have created a model with a three way interaction, analyzing how taste of bread (fr2) decreases over time (time2), and how skill of the baker (skill2) impacts longevity of taste, across different ...
Jackson's user avatar
  • 11
2 votes
0 answers
28 views

Centering two level-1 variables to create interaction term before multilevel analyses? Thank you [duplicate]

I like to ask for some kind help from the readers here. I have a specific question on creating the interaction term from two level-1 variables before even running the multilevel analyses. Do you mean-...
Jomel NG's user avatar
1 vote
1 answer
57 views

Random slopes vs including an interaction between grouping factor and focal predictor

A person runs the following random slopes model where ses is the focal predictor, and schcode is the grouping factor (and so not mentioned in the model equation) $Y_{ij} = \gamma_{00} + \gamma_{01}\...
user1205901 - Слава Україні's user avatar
1 vote
0 answers
65 views

Bread freshness in bread basket, Multi-Level Analysis in R; 2 time points [closed]

This is my first attempt with multi-level analysis. My research question is; How does the freshness of different types of bread (6 level) within a bread basket, change over two time points (ranging 4-...
Jackson's user avatar
  • 11
1 vote
1 answer
69 views

Effect size/power analysis of categorical variable in multilevel model

How to decide the effect size of a categorical variable with multiple levels (e.g., three or four) in MLM? And how to calculate the power of such variables using a simulation (or other) approach?
Misaya's user avatar
  • 53
1 vote
0 answers
48 views

Multi-level Model and Multi-level Data

I have a question about multi-level models with multi-level survey data. I am working with survey data that has a two-stage sampling design with primary sampling units defined as schools randomly ...
UT_Max's user avatar
  • 11
0 votes
0 answers
25 views

Is it appropriate to calculate odds ratios from random effects glmm output?

Is it appropriate to calculate odds ratios from random effects glmm output? about the data: grown (binary): whether flower grows over a certain height (TRUE/FALSE)...
user avatar
2 votes
1 answer
61 views

Mixed Model for Repeated Measurement (mmrm) - Assumptions

I want to fit a mixed model for repeated measures (mmrm) on a set of panel data with 6 visits and N = 1200. I want to estimate the effect of time passing on the outcome, without any intervention since ...
Lea's user avatar
  • 103
3 votes
1 answer
24 views

How to analyze time varying covariate random effect

I am running a multilevel growth curve model to examine predictors of social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a continuous numeric variable. The age variable (Index1) has ...
Jongjay70's user avatar
0 votes
1 answer
39 views

Kruskal-Wallis with unbalanced classes and assumption of normality

Edited I want to better understand: how to appropriately approach a significant test with largely unbalanced classes appreciate the "story" that a statistical tests support Situation: I ...
user305883's user avatar
0 votes
0 answers
37 views

Factor Scores explain less Variance than Item means in a multilevel cfa

I conducted a multilevel confirmatory factor analysis (CFA) in lavaan on repeated measures questionnaire data (satisfaction with travel scale). 42 participants had ...
StatOru's user avatar
3 votes
1 answer
50 views

How to fit random slope hierarchical model as SEM with OpenMx in R?

I've been exploring the OpenMx Package in R in hopes to fit multilevel path analysis and I can't figure out how to add random slope. This is the model I am trying to fit: $$ Y_{ij} = \beta_{0j} + \...
Vefeagins's user avatar
  • 538
5 votes
1 answer
45 views

How to translate hierarchical linear model random effects into SEM path diagram?

I've been struggling with translating random slope and intercept and random variables and understanding them as latent variables in the pursuit of path models. For example here is a random slope and ...
Vefeagins's user avatar
  • 538
0 votes
0 answers
33 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
1 answer
51 views

Understanding lme4 output: Unexpected different results [closed]

I am teaching myself how to do multi-level models (MLMs) in R. I have two models, which I think should give me the same information (with some omissions in M2), but they are not completely the same. I ...
grace.cutler's user avatar
3 votes
1 answer
93 views

Multi-level models and random effects: Still confused

I know that there are many posts concerning explanations of multi-level models, random effects, fixed effects and so on. But after having read through them, and after watching this youtube series by ...
Always_learning_new_things's user avatar
0 votes
0 answers
22 views

What type of statistical analysis is recommended for examining variations in risk and protective factors across male and female offending groups

I want to understand how risk and protective factors vary across separate male and female offending groups I have classified them into using group-based trajectory modelling (GBTM). Using GBTM, I ...
Ayda's user avatar
  • 1
1 vote
1 answer
21 views

Should a Better User Engagement Model Keep Outperforming Old Models Across Time?

Context Let's say we are talking about a machine learning model that governs some user interaction (e.g. pricing model, recommendation model etc.) on an app. Let's say model v1 is champion (in ...
Della's user avatar
  • 543
0 votes
0 answers
27 views

Multilevel segmented regression

I have some data on the proportion of healthcare workers that are vaccinated against disease X each year in several healthcare institutions. I want to evaluate the impact of two large-scale ...
R-user's user avatar
  • 1
2 votes
0 answers
23 views

How to fit a GLMM with multiple levels of nesting

I have some data I am struggling to process at the moment. I have landed on using generalized linear mixed models (GLMMs), but I am having a very hard time wrapping my head around it. I have a large ...
Joseph's user avatar
  • 21
1 vote
1 answer
47 views

Multi Level Mixed Models

I have a model in which I collected information from 3 different farms, and on each farm in several different weeks. The weeks are not exactly the same, so week 1 of Farm 1 is not the same moment as ...
Rafael Nicolino's user avatar
0 votes
0 answers
14 views

Is there some sort of multilevel KNN/ML model I can use to figure out which users will buy specific products?

I am wondering if there is some sort of multilevel model that I can use to identify likely buyers of specific products or create a lookalike audience. The issue is that I have 1000s of products and ...
ibarbo's user avatar
  • 65
0 votes
1 answer
16 views

AUC comparison with Delong when i.i.d is broken due to clustered data

I am asked to compare two AUC ROCs and output confidence interval for both. Delong method allows (and also Fast Delong) to have a stronger test than usual bootstrapping method. The data I am working ...
Tamsina Ludwig's user avatar
0 votes
0 answers
37 views

Multilevel-Regression Contrasts and Multiple Comparisons

My experiment looks roughly something like this: 5 Different biological replicates were tested with 4 Conditions (incl. Control) and 3 Time points (1h, 6h, 24h). My samples are nested within ...
Sebastian_Mrtn's user avatar
3 votes
1 answer
122 views

In multilevel logistic regression, can pooled data return significant variables when the same variables in stratified data are not significant?

I have analyzed some secondary data that relates to Plasmodium infection at three forest sites: inside the forest, at the forest fringe, and outside the forest. The outcome variable is infection with ...
Trypanosoma's user avatar
3 votes
1 answer
100 views

Using participant-specific slopes in correlations and dependent variables in subsequent models

I have been asked to review a paper where the authors have intensive longitudinal data (several observations per day for several days). So they have lots of observations per participant. They do three ...
Sointu's user avatar
  • 2,448
1 vote
0 answers
70 views

Statistical significance of hierarchical (multi-level) associations

Association rule mining is a common technique in Data mining used to find itemsets which appear together very frequently in large transaction databases (e.g. in Table 3 we see that in a transactions ...
gis_grad_student's user avatar
3 votes
0 answers
15 views

How to nest multilevel model (or to nest at all)?

I'm trying to handle some data and get some insights from it. The data includes a binary outcome variable, so I am using glmer. The relationship is whether age groups are more likely to engage in the ...
Scott's user avatar
  • 31
0 votes
0 answers
20 views

Comparing Hierarchical regression models from the same sample

I'm running a survey where I'd like to compare three models with the same set of variables except for the moderator. I'm looking for the strongest interaction effects as a foundation for subsequent ...
GT87's user avatar
  • 143
0 votes
0 answers
17 views

What is a good measure of the effect size of group difference in a multigroup multilevel model?

Consider that you have a multilevel model measuring students' mathematics knowledge. The students are nested within classes, and classes are nested within schools. Additionally, we want to examine the ...
J. Doe's user avatar
  • 357
0 votes
0 answers
28 views

Binary logistic/logit regression on multilevel (hierarchical) data (in python)

I'm trying to run a binary logit regression on hierarchical data using python, and I cannot find a way to do that. Any help is appreciated. The dataset has the following variables: Accuracy, the ...
Sam Phoenix's user avatar
3 votes
1 answer
23 views

How to code for a mulitgroup analysis concerning two catagorical variables

I have a question on syntax for Mplus. I am running a multivariate latent growth curve with 7 repeated measures, variables X and Y (diagram attached). I also have two grouping variables, sex and ...
EmH's user avatar
  • 185
0 votes
1 answer
28 views

Random effect variance with or without fixed-effects intercept

I'm fitting some hierarchical models in R using lmer, and am trying to understand why the results change as they do when I either include or exclude a fixed-effects ...
neurobot's user avatar
2 votes
1 answer
43 views

Multilevel model with random subset of conditions per participant

I have a repeated measures experiment with 5 factors each with 3 different levels. I'm trying to figure out a way to reduce the demand on participants by making them not have to sit through every ...
Andrew Thomas's user avatar
1 vote
0 answers
37 views

Understanding equatiomatic output

I have fit a lmer model as follows: ...
Rabin KC's user avatar
3 votes
1 answer
304 views

How to add interaction and covariates to linear mixed effects model in R

I have some data ($x$ and $y$) collected over multiple days for multiple people. I want to test whether the contemporaneous associations between $x$ and $y$ (measured daily) is stronger depending on ...
Lavdoy's user avatar
  • 31
1 vote
0 answers
66 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
0 votes
0 answers
22 views

Single or Multiple Bivariate analysis?

For the data structure, we are fitting the multilevel model to the data. Before fitting the model, we are eager to do bivariate analysis so that we can keep those independent variables in the ...
user232597's user avatar

1
2 3 4 5
39