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
1
vote
1answer
24 views

Tautology in multi level model

We want to estimate a multi level model with second stage regressors. How does it behave in the following scenario: We have a panel data set with i individuals over t time points. We have a set of ...
2
votes
1answer
37 views

Std. Error estimates in mixed model of a parallel group design with repeated measurements are not as I expected

I have multilevel data and I would like to use mixed effects linear model. For each subject (sampleName variable), I have repeated measurements (...
0
votes
1answer
23 views

Interpretation question about between-subjects effects in multilevel modeling

Specific question that (of course) comes from a reviewer. In multilevel models with: Level2=individuals Level1=within-persons Is it fair to say that, since these models explicitly estimate Level 2 ...
2
votes
1answer
26 views

Summarizing unexplained variability within groups using fitted random effects or residuals

I have repeated observations (count data) conducted in different plots (say, 5 times each plot). I would like to conduct a regression analysis of the observation data at the plot level with plot-level ...
1
vote
2answers
58 views

A workaround for using linear models (rather than Tobit) with censored data?

I have a left censored dependent variable where many of the observations have a value of zero. The data is clustered (multiple measurements over time for each person). I initially decided to use a ...
4
votes
1answer
44 views

Increasing multicollinearity in multilevel/hierarchical modeling?

I have a linear model with response variable $\textbf{y}$ and explanatory variable matrix $\textbf{X}$ for which coefficients $\textbf{b}$ are physically meaningful and worth estimating: \begin{...
3
votes
0answers
39 views

Account for variance differences in linear mixed-effect model?

I'm not an expert statistician so excuse me if the question is trivial or not clearly written. I'm performing some statistical analysis of experimental psychology research. Basically, I have an ...
0
votes
0answers
15 views

Analysis of counts with changing rate of succes

I have a large number of locations, let's say they're stores. At each store, $N_{it} \sim Pois(n_i)$ people walk through the door each week. We know the $n_i$ for each location. Of the $N_{it}$, a ...
4
votes
1answer
60 views

Dealing with heavy-tailed residuals when fitting hierarchical linear models using lme4

This is my first time posting, so please excuse any issues with respect to my description of the problem and the presentation of the data and code I have supplied. Summary of the Design 30 listeners ...
0
votes
1answer
25 views

Distinighsing Between Groups on a Bimodal Varaible

I am working with the diamonds data set from the tidyverse package in R. library(tidyverse) View(diamonds) When I plot a histogram of the price variable with 300 ...
0
votes
0answers
10 views

Are there special techniques to combine estimates and standard errors from a complex discrete-event simulation?

My discrete-event simulation works as follows: A sample is drawn from a simulated population The simulation is run a few times for that sample Each run produces k estimates and their corresponding ...
3
votes
2answers
70 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 ...
3
votes
2answers
32 views

Standard deviation as dependent variable inside a HLM

I'm not a statistician so maybe my question is very simple but I've encountered some difficulties reading a statistical method in a cognitive psychology paper. Basically the dependent variable to ...
0
votes
0answers
17 views

conducting a multilevel model with a continuous variable and categorical variable in r (+ post hoc)

I conducted a study in which I presented three types/blocks of visual stimuli (neutral stimuli in baseline, negative stimuli, neutral stimuli following negative stimuli). To examine the relationship ...
1
vote
1answer
11 views

Two level analysis, but mostly just one case per higher level - what to do?

There are 500 stores (n = 500), for which I want to model revenue. Each store has data on their level, like size and age (the lower level) but also data on a higher level (let's say city level, ...
1
vote
1answer
58 views

How Can Grouping Improve Regression Performance

I have a dataset where my Predictor variable (IV) does a reasonable job at predicting the response variable (DV). I have a second IV that is a grouping variable. In this plot there seems to be some ...
2
votes
0answers
37 views

heteroscedasticity in a linear mixed model of longitudinal data

I want to evaluate the effectiveness of a psychological intervention in a RCT. My study consists of 150 subjects. Half of them were assigned to the intervention group. They are nested within three ...
1
vote
1answer
34 views

Testing contrasts in multilevel models

I'm trying to think of a way to test certain hypotheses regarding an experiment I've run. It's a 2 x 3 x 4 within-subjects, repeated-measures design. I would like to fit a (cross-classified) ...
1
vote
0answers
23 views

Modelling how test agreement varies as a function of a covariate

I have a group of human subjects who have been given two versions of a test measuring the same outcome. I am interested in the agreement between these two tests, and whether their agreement varies as ...
2
votes
1answer
45 views

Interpeting multilevel logistic regression

I ran a multilevel logistic regression, and I rescaled the variables using the scale function. The variables in my data set are centered around the mean and ...
0
votes
1answer
23 views

'rma.mv' function output- fisher Z or raw correlation

I would like to ask a question regarding the output of the rma.mv function. I had raw correlations which I transformed into Fisher's Z correlations using the 'escalc' function. Then, I performed a ...
0
votes
1answer
15 views

How to manage a variable collected at various level in a machine learning model based on nested hierarchical data?

I'm trying to use machine learning to model the risk of healthcare-associated infections (HAI) for patients in a number of hospitals. I have variables both at the patient, ward and hospital level. ...
3
votes
1answer
80 views

How do I write a mixed-effect regression model (MRM)?

So I am trying to write a MRM with both random intercept and random slope. I know the general model is as follows, yij = b0 + b1xij + vi0 + vi1xij + eij However, I want to actually write my ...
1
vote
0answers
33 views

Mixed model with panel data when some cases have constant responses (zero) over time

I have a panel data with about 300 units observed over a period of 4 weeks. In each week, I recorded a response that is a binary variable, y, for each unit of that week. For about 50% of the units, ...
0
votes
1answer
32 views

Cross Classified Panel Data Model Using Stata

I'm trying to run a cross classified model using panel data and was hoping to get some help to verify if I'm on the right track (and get advice on my stata code). My data looks at how student ...
0
votes
1answer
37 views

Multilevel Modeling: Clustering by both individual and time, is this okay?

I'm trying to run a multilevel model where I have approximately 30 individuals and anywhere from 20-50 time points per individual. I can cluster them by the individual since the dataset is ...
1
vote
1answer
57 views

Binomial GLMM (GLMER) with proportions in unbalanced, observational panel data: nesting issues and errors

Thanks in advance. I am new to mixed models and having several doubts about a mixed model (lme4's glmer, binomial) with multiple levels, measuring a proportion [0,1] in three time periods. My data ...
1
vote
1answer
41 views

How is clustered data and correlated data related?

I am confused about the connection between clustered data and correlated data. Let's say we have a two-level data where level 1 refers to students and level 2 refers to schools. I assume we can also ...
0
votes
0answers
10 views

Measure of association adjusting for varied number of observations per person (binary outcome and predictor)

I would like to ask a question about how to alter a model to deal with varied numbers of cases per person (1 vs. 2), or, if I should deal with it some other way, some suggestion around that. I would ...
0
votes
1answer
24 views

Dealing with unequal measurements in MLM or ANCOVA

I am tasked with analyzing a preexisting dataset. The experiment is fairly simple, but I'm finding that analyzing the data is challenging due to the fact that the experimental design is not ideal for ...
3
votes
1answer
22 views

Random effects structure for product assessment

Could I have some advice which, if any, random-effects structure should be added to my model please. My data includes multiple people (50) indicating whether they like/don't like a bunch of toys (15)...
1
vote
0answers
22 views

How to compare four conditions with nested subgroups of measurements in python? [closed]

I'd like to ask for some advice on what statistical inference I should run on my data with the following design: There are 4 conditions. Each subject was tested for each condition (->within subject ...
1
vote
0answers
12 views

Multilevel models and correcting for multiple comparisons

I am conducting a study where there are three different DVs. For each DV I will be conducting a multilevel model with 2 predictors and will be interested in both main effects and interactions between ...
0
votes
0answers
14 views

Simulating correlated discrete choice data for power calculations

Discrete Choice Data While discrete choice experiments take many forms, one common form is for $N$ participants to choose the most preferred option from an option set comprised of $W$ options for $K$ ...
0
votes
0answers
9 views

Random effects model where groups vary in range of X values

I have a zero-inflated Poisson model with random groups A,B,C,D. My response is count data, and I am interested in modeling the effects of a categorical covariate, a continuous covariate and the ...
0
votes
0answers
35 views

Bootstrapping for mediation in multilevel model with binary outcome

I am trying to do a mediation analysis with a multilevel model, where the outcome is binary and the predictor and mediator are continous. I wanted to do bootstrapping and then comparison of confident ...
0
votes
0answers
16 views

How to calculate Empirical Bayes for continuous variable in Hierarchical Linear Models?

I am currently working with the radon dataset of Gelman for Hierarchical Linear Models. I have heard of Empirical Bayes and how to compute it for the Poisson-Gamma case from the data but didn't find ...
0
votes
0answers
8 views

Specifying interactions in nonlinear growth curve models

I have a nonlinear growth curve model with Time and Time^2 as well as one time-varying predictor (level 2) and one time-invariant variable (level1). I want to test interaction effects. Normally I ...
1
vote
0answers
28 views

Adjust spatial autocorrelation in multilevel logistic regression using autocovariate in R

In the large volume of cluster data (i.e. 300K individuals are nested within 800 districts) with a binomial outcome variable (...
2
votes
0answers
16 views

Multilevel Analysis for count variable

I have a general question about multilevel analysis and have therefore created a minimal example to represent the data I want to analyse: ...
0
votes
0answers
8 views

Model fit metrics for bayesian hierarchical models?

I have a hierarchical model that shrinks my individual now non independent models closer to the group level estimates. This is beneficial as it makes the inferences more robust. I have been using WAIC ...
1
vote
2answers
48 views

How can I model multilevel diary data?

I am currently trying to model diary data in a multilevel regression format and I do not really understand how i can include the diary data lagged structure into my r script when I am trying to ...
3
votes
1answer
122 views

Should I use multilevel modeling? One between-subjects continous predictor, one within-subjects categorical predictor

I have recently collected my dissertation data. I would like to know if I should use multilevel modeling to answer my research questions. Here is a brief summary of my method: Participants (n = 392 ...
6
votes
2answers
373 views

What are the assumptions in bayesian statistics?

So, for OLS there are 3 assumptions regarding the DGP, which are (from Stock & Watson): Independence of error terms (+ Homoskedasticity?) IID of variables Large outliers are unlikely, meaning non-...
1
vote
0answers
12 views

Analysis of parallel arm study

I have a two arm intervention study (Arm1: Exercise only, Arm2: Exercise plus diet). Aim of the study is to compare the influence of exercise and diet as compared to exercise only on weight (...
0
votes
1answer
18 views

Within-subject centering of a repeatedly measured dichotomous variable in a multilevel model?

I'm currently working on a nested data set consisting of 100 subjects which answered several questions at home on five consecutive days (ecological momentary assessment). Among them, they were asked ...
1
vote
0answers
34 views

Approaches to analyzing data from forum

Working with self written example data that mimic a chat-forum with different forums (i.e. cars, politics, sports) and different threads (i.e. "why is porsche popular?", "thoughts on andrew yang?") in ...
0
votes
1answer
13 views

Proper use of multilevel analysis in team settings [conceptual question]

i am faced with the following question: I sit on a data-set of about 200 teams, that contains information about the mental health of the individuals (i.e., GHQ-12, ex: sleeplessness and so on.) and ...
0
votes
0answers
24 views

Four level mixed model (multi-level linear model) - formal model specification with mathematical annotations

I am running a mixed-model in nlme (R) with momentary assessments (5 times, L1) nested in days (4 days, L2) nested in trimester (3 Trimester, L3) nested in participants (152, L4) from a longitudinal ...