All Questions
Tagged with multilevel-analysis multilevel-analysis or
1,926 questions
2
votes
2
answers
88
views
Mixed models - Intuition of correlated discrete random effects
I'm looking into this source and I'm trying to understand what does it mean to have "positive correlation between the random effects when the variables aren't continuous"
In the link there ...
2
votes
1
answer
158
views
Centering Variables in Multilevel Models with Longitudinal Data
Enders and Tofighi 2007 provide a discussion on the various ways users can center variables in multilevel models and when each situation is appropriate. While they largely focus their commentary on ...
1
vote
2
answers
121
views
What is the difference between a) multilevel modelling and b) adding a categorical IV to a multiple regression?
The examples of multilevel modelling I have seen are equivalent to treating the group as an extra categorical IV in a multiple regression. For example, if children are grouped into N classes, you ...
2
votes
0
answers
45
views
Which Variables Should Be Centered in a Multilevel Model?
When only one variable in a multilevel model is of interest (all of the other variables are treated as nuisance parameters), and we wish to estimate between- and within-effects, should we only center ...
2
votes
1
answer
54
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-...
1
vote
0
answers
81
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 ...
0
votes
0
answers
26
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 ...
2
votes
1
answer
35
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 ...
0
votes
1
answer
44
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 ...
1
vote
1
answer
41
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 ...
5
votes
2
answers
276
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 ...
1
vote
1
answer
43
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 ...
1
vote
0
answers
32
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 ...
2
votes
1
answer
133
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^...
2
votes
0
answers
38
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 ...
5
votes
2
answers
247
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!
0
votes
0
answers
24
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 ...
2
votes
0
answers
34
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-...
2
votes
1
answer
67
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}\...
1
vote
0
answers
69
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-...
1
vote
1
answer
98
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?
1
vote
0
answers
54
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 ...
0
votes
0
answers
30
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)...
4
votes
2
answers
251
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 ...
3
votes
1
answer
42
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 ...
0
votes
1
answer
72
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 ...
0
votes
0
answers
43
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 ...
3
votes
1
answer
111
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} + \...
5
votes
1
answer
75
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 ...
0
votes
0
answers
47
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$...
1
vote
1
answer
55
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 ...
3
votes
1
answer
125
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 ...
0
votes
0
answers
23
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 ...
2
votes
1
answer
28
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 ...
0
votes
0
answers
38
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 ...
2
votes
0
answers
33
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 ...
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 ...
0
votes
0
answers
19
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 ...
0
votes
1
answer
32
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 ...
0
votes
0
answers
46
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 ...
3
votes
1
answer
142
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 ...
3
votes
1
answer
211
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 ...
1
vote
0
answers
74
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 ...
3
votes
0
answers
18
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 ...
0
votes
0
answers
30
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 ...
0
votes
0
answers
19
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 ...
0
votes
0
answers
54
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 ...
4
votes
1
answer
34
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 ...
0
votes
1
answer
44
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 ...
2
votes
1
answer
56
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 ...