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
1answer
19 views

What are the assumptions that need to be checked for multilevel logistic regression and for multilevel ordinal logistic regression

I am running multilevel models for panel data on a binary outcome (mixed logistics regression) and on a ordinal outcome (mixed ordinal logistic regression). I am aware that for example with a mixed ...
0
votes
0answers
5 views

Poisson, Negative Binomial, and zero-inflated Poisson and Negative Binomial within a multilevel modeling context

I’m analyzing count data (e.g., number of students with suspensions), and the outcomes also have many 0s. The data are also nested (schools within districts). I’m familiar with using Poisson and ...
0
votes
1answer
41 views

Counting Biased Coins 2: Estimating Bias Imbalance

This is a continuation of another question I have asked recently. The setup and the question itself are sufficiently different (and likely more complicated) to warrant a separate question. Setup: ...
4
votes
3answers
93 views

Counting Biased Coins

Edit Note: While this question is very interesting and relevant in its own right, I have come to a realisation that I have to make it a bit more complicated in order for it to be applicable to my ...
0
votes
0answers
26 views

How do I structure my data in a time-lagged, multilevel mediation?

I am analyzing a repeated measures experiment using a multilevel growth curve in SPSS. I want to test a time-lagged, multilevel mediation model. My X variable is linear time in weeks (week 1, week 2, ...
0
votes
0answers
7 views

Test score Variable interpretation in Brandsma data (mice package)

I am currently working with the Brandsma data of the mice package in R for teaching purposes. The dataset is from Snijders&Bosker(2012), or rather Brandsma&Knuver(1989) and Knuver&Brandsma(...
0
votes
0answers
18 views

Regression on hierarchical data with differing granularities

I have an interesting data set that I'll attempt to describe the structure of using the famous 'High School & Beyond' math scores/socio-economic status dataset distributed in the ...
0
votes
0answers
8 views

Estimating multilevel growth models with multiple time-varying covariates measured at different times

I have longitudinal data from different class rooms (secondary education), that includes students' average grade (outcome variable) at three different time point across the year (e.g. start of the ...
0
votes
0answers
10 views

How to analyze repeated measures data with categorical and continuous IVs

I'm trying to determine the best way to analyze my data. Participants completed a working memory task under two conditions-the order of which was counterbalanced. All participants completed both ...
1
vote
0answers
11 views

Finding the distributions for Bayesian Hierarchial Modelling

If Bayesian Hierarchial Modelling deals with the equation $$ p(\alpha,\theta|x) \propto p(x|\theta,\alpha) p(\theta|\alpha) p(\alpha)$$ Where do we get the distributions for $p(x|\theta,\alpha)$ and $...
1
vote
0answers
22 views

Why does the intraclass correlation coefficient (ICC) increase as covariates are added to a hierarchical logistic regression model?

I fit three Bayesian binary multilevel logistic regression models. Schematically they look like this: ...
0
votes
0answers
20 views

categorical dependent and independent variable

I am interested in investigating the impact of the localization of malignant lung tumors on the pattern of lymph node metastases. The localization of the lung tumor is a categorical independent ...
1
vote
1answer
8 views

Mediation package error message with group level mediator (bug?)

I am trying to use the mediation package with multilevel data and a group level mediator. I am getting a "groups do not match between mediator and outcome models" error message. However, I ...
6
votes
2answers
79 views

Should a Hausman test be used to decide between fixed vs. random effects?

I was taught that a Hausman test should be used in multilevel modeling in order to check whether random effects can be used. However, I have now stumbled over several sources stating that the Hausman ...
0
votes
0answers
20 views

When to use robust one-way repeated measure design ANOVA?

I have a set of 9 different factor levels from my independent variable to be compared against each other. Here are the results of the different assumption tests in R. I'm just going through my ...
0
votes
0answers
5 views

How to enter multiple response question along with DV response on individual level in Multilevel modelling?

In a survey, along with other questions on participant location etc, I am particularly interested in two questions. Explanatory variable: e.g. Q1 Choose the best three options that describe this ...
1
vote
1answer
26 views

Multi-level regression interpretation: questio of statistical significance

I am running (multi-level) logit models on hospital data testing whether the ratio two hospital tariffs has any effect on the probability of being admitted to the hospital. My models are the following:...
0
votes
0answers
7 views

Number of levels of categorical variable in Multilevel-Model

There is a rule of thumb that each prediction parameter in a regression must be supported by 10-15 observations. If I use dummy coding to represent the categorical variable in a multilevel-model, do ...
0
votes
0answers
19 views

Can we use macro variable (e.g.gdp_growth) in a panel data?

I am examining one country over a period of 10 years. I am interested to see whether GDP_growth had a heterogeneous effect on wages across people with different educational background. The code below ...
1
vote
1answer
31 views

Imputing panel data in the wide format, obtaining pooled standard errors after using lmer

I have a longitudinal data set with missing values. I want to multiply impute (let us say $m$ = 20 times) the missing values in the wide format using the R-package mice. Thereafter, I would like to ...
2
votes
1answer
45 views

random effect application in grouped exposure and outcome

I have a data.frame in which the health outcome was collected from students at different schools (the individuals were aggregated at school level). The air pollution concentrations in the data was ...
0
votes
0answers
23 views

Can I be sure about the parameter's SIGN if the convergence is problematic?

I fitted a large multilevel SEM model, used a 1 million iterations and 8 chains, but for some parameters the estimates still diverge across chains, and the corresponding autocorrelations are above .6 ...
2
votes
1answer
14 views

Including level 2 covariates at level 1 in multilevel modelling

I'm familiar with multilevel modelling. However, I'm wondering what would happen if you would include level 2 covariates at level 1. If you have, for example, students at level 1 (age, gender,...) and ...
1
vote
1answer
11 views

interpreting within group correlation magnitude (Multilevel Modelling)

I am trying to get a basic understanding of how to interpret the magnitude of within group correlations- and whether the general rule of weak (.2 to .4), moderate (.4 to .6), strong (.6 to .8) and ...
0
votes
0answers
25 views

specifying random effects in mixed effect model when each observation can have a subset of levels from a category (as opposed to exactly 1)

The problem is the following: I have data from several basketball games. Each row of data is 5 players and the number of points their team scored during the game. My response variable would be the ...
0
votes
0answers
11 views

How can I conduct multiple logistice regression with both penalized (firth) method and with cluster effect?

I am trying to conduct multiple logistic regression with cluster effect. I am using R, so I am using lme4 (glmer) package for adding a cluster effect for 15 schools.As I have a rare event ( Yes as 1= ...
0
votes
0answers
15 views

Multivariate multilevel modeling?

I have a lme modeling question that I need your help. I have a set of data from two groups of subjects. All the subjects from each group completed a task. The task consisted of 6 different conditions, ...
3
votes
1answer
137 views

Changing the time metric for longitudinal data

I have some longitudinal data. I've done longitudinal analysis before but I have never changed the time metric so I wanted to run the process of that by you. Edits for clarity: I have repeated ...
3
votes
2answers
74 views

Using a variable both as fixed and random effect (a fundamental question)

Sometime I hear people talk about whether to take a variable both as fixed and random effect or not (e.g., this blogpost) in the context of frequentist mixed-effects models. According to this part of ...
1
vote
0answers
21 views

(How) Are lme4 mixed models hierarchical?

This is a very basic/stupid question, but it's even more stupid not to ask. Are multilevel models defined using lme4 hierarchical? (say:) ...
0
votes
0answers
18 views

Appropriate regression model for a learning experiment on alpine skiing

We are running a learning experiment with a between-subjects design on alpine skiing: one group training according to an interleaved schedule whereas the other group train according to a blocked ...
1
vote
0answers
15 views

Probing 3-Way MLM Interactions in R

I have a significant 3-way multilevel model interaction with the lmer package in r. When I probe this interaction using the online tool from Preacher, then interaction has regions of significance. In ...
3
votes
1answer
51 views

A basic question regarding mixed-models (study design and code provided)

Maybe this is too simple a question, but imagine in a 3-wave, longitudinal study, two therapists both get to deliver the treatment and the control arms of the study ...
2
votes
1answer
49 views

Justifying terms taken as random at different levels in a mixed-model in R (study design and code provided)

I'm following up on this question. In short, imagine in a 3-wave, longitudinal study, two therapists both get to deliver the treatment and the control arms of the study to a different set of subjects (...
1
vote
1answer
46 views

Follow-up: Random & Crossed Random-Effects in Model Syntax in R (lme4)

I'm following up on this question and this answer. The answer mentions that without having a clear study design, understanding whether the random-effects specified in an ...
1
vote
1answer
23 views

Cumulative predictors in longitudinal mixed-effects models

I am conducting an mixed effects for repeated measures regression where I want to estimate the effect of a pharmacological treatment and therapy on severity of mental health symptoms. Participants had ...
0
votes
0answers
14 views

How many poststratification cells is too many in MRP?

I am analyzing an American national public opinion survey using multilevel regression with poststratification. My sample size is 660. I was considering poststratifying on race (4 categories, white, ...
7
votes
3answers
367 views

Serial correlation AR(1) model for residuals: how to generalize to irregular times

I am working on a Bayesian serial correlation model for binary and ordinal logistic models (proportional odds model). I am modeling the serial correlation structure on the random effects of the model ...
3
votes
1answer
67 views

Detecting Random & Crossed Random-Effects from Model Syntax in R (lme4)

I'm following-up on this question, and inspired by this great answer. I have 3 lme4 longitudinal mixed-models. Throughout, y is ...
0
votes
1answer
30 views

Crossed or random effects? (lme4)

I am examining the effects of the type of context change (change in personnel, change in setting) on response rate of a targeted behavior (e.g., aggression) among patients in a treatment center. There ...
0
votes
0answers
7 views

Strange increase in residual variance after adding TVC

I have three growth curves models. Model 1 with just fixed control variables. in a separate model I add a dichotomous, time-varying categorical variable which actually increases the residual variance- ...
1
vote
0answers
15 views

Causal modelling: specifying model additively or hierarchically?

Let's assume we would like to examine regional disparities in income. We are NOT interested in country-wide effects. A DAG tells us to adjust for age and education. DAGs do not tell anything about ...
0
votes
0answers
13 views

lmer Repeated IVs and DV

I need to analyse data collected on several days, to simplify: say I have observations for my dependent and independent variables on Days 1, 2 and 3. Days 1 to 3 constitute a sequence. Each ...
1
vote
0answers
22 views

Hierarchical models and fixed effects

I'm trying to model some data using hierarchical models. I have the data at two levels, I have information for different firms in seven countries, $Y_{ij}$. So, the data is a firm-country level. I ...
0
votes
0answers
19 views

Mixed Effects Poisson Regression with Nesting?

I have collected data for a study that had the following design: Subjects walked through a food pantry five different days during one of two conditions: signs-down (no signs displayed, 2 days) and ...
2
votes
1answer
23 views

Is there a minimum number of observations needed to justify the use of random slopes in a logistic regression model?

I have a mixed-effects logistic regression model with 584 observations, which models the outcome of a variable linguistic phenomenon. There are three predictor variables and I I used random intercepts ...
0
votes
0answers
16 views

Visualizing Cross-Level Interactions from Stata Output

I am estimating a multi-level ordinal logit model in Stata. The dependent variable is happy (0,1, and 2) The individual-level predictors are married (0/1) and age (continuous). The country-level ...
0
votes
0answers
20 views

What is the best approach to predict/ forecast the sales of 100s of parts?

I have been working on a sales database, aggregated and organized month wise, which has the sales trend of 600+ parts, of which 150 are major contributors. The parts can be aggregated into a part ...
0
votes
0answers
9 views

Poststratified average predictive comparisons?

Does it make sense to do something like Multilevel Regression and Poststratification (MRP) for average predictive comparisons? I have survey data with stratified sampling where minority groups were ...
1
vote
1answer
29 views

Centring in three levels multilevel models with cross-level interaction

I am relatively new to multi-level models subject and find it challenging to connect theory to modelling. My interest is to examine the moderation influence of green space (at level 3) on the ...

1
2 3 4 5
30