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

Hierarchical logistic regression package in R

I'm working on a logistic regression model; the purpose of the analysis is to identify factors that influence use of an app - the DV being use/no use, and IVs being a couple of numerical and ...
0 votes
1 answer
475 views

How can I get the confidence interval of hierarchical forecasts reconciled with hts::combinef?

I have hierarchical data that I want to forecast, reconcile, and then plot each model's forecast. UPDATE: In my attempt to make a minimum reproducible example I made it too simple and didnt really ask ...
0 votes
0 answers
25 views

Is my LMER model doing what I want? (Adding between AND within-Subject Variables)

My DV: COP (continuous) My IVs: Velocity (continuous, 15 distinct values, which are repeated for each participant) Rating (continuous, assigned to each of the velocity values, for each participant) ...
2 votes
1 answer
141 views
+50

Data with Hierarchical Structure and Multicollinearity (E.g. ZIP Postal Codes)

I always had the following question: Can data having "naturally occurring hierarchical structure" be transformed to better make use of this hierarchical structure at different levels? To ...
0 votes
0 answers
17 views

none-significant level2 variables in random effect models

I have data around 23000 accidents nested in 143 roads. I want to conduct logistics regression random effect models with the response variable of accident severity which is binary and 4 predictor ...
1 vote
1 answer
33 views

Estimation of random intercept and random slope for singleton cluster in multilevel modeling

I am performing some multilevel analyses with the R package lme4. The study design is longitudinal with the hierachical structure of observations (L1) nested into study participants (L2). I have 215 ...
0 votes
1 answer
216 views

multilevel logistic panel regression with glmer in R

My dataset (long format) contains of data collected in 4 studies. Although the variables in the studies were identical, I want to account for the heterogeneity of the population between these studies ...
0 votes
0 answers
5 views

Comparing Proportions Grouped by State of Residence

I am looking at whether one racial group has disproportionately low rates of a medical procedure compared to the racial makeup of their state - across all 50 states. My dataset has the state the ...
0 votes
0 answers
25 views

Three-tier Multi-Level Model: violation of the assumptions of normality and heteroscedasticity

I am working with educational data. To do so, I am using the classic three-level hierarchical linear model (student, class and school). I am using the R software lmer package and the stata software. ...
0 votes
0 answers
35 views

Multilevel modelling for multiple comparisons - is my emmeans implementation correct?

I've run an experiment with several conditions and would like to analyze bernoulli outcome differences with a Bayesian multi-level model. Specifically, I am interested in average marginal effects (aka ...
38 votes
4 answers
64k views

When to use fixed effects vs using cluster SEs?

Suppose you have a single cross-section of data where individuals are located within groups (e.g. students within schools) and you wish to estimate a model of the form ...
0 votes
1 answer
687 views

Comparing top level group effects using a 3-level hierarchical regression

I would like to detect group effects (if any) along with statistical confidences. I have a hierarchical data set structured as follows: Drug Groups ...
4 votes
1 answer
156 views

How to interpret the standard deviation of the slope random effect in a multilevel model

How do you interpret the standard deviation of the slope random effect in multilevel models? Suppose I want to show how Urbanization percentage changed across time in Western and Eastern Europe, so it ...
0 votes
0 answers
4 views

Multilevel cross correlation - cross correlate time series nested in participants

I have observed behavioral and questionnaire data for 45 participants over a certain span of time. Now I'd like to find out which point in time of behavioral data best predicts questionnaire data. I ...
0 votes
1 answer
26 views

R: Inflated degrees of freedom in mixed linear model

I have a question regarding a mixed model I am using: In a study, participants have been presented with 40 different news article headlines and indicated for each headline whether they would share the ...
1 vote
0 answers
14 views

Actor-Partner-Interdependence-Model for longitudinal data (L-APIM) analysis for data with different number of intervention and no fixed interval

A friend recommended Stackexchange since I haven't found a suitable answer. I am currently trying to prepare my analysis of an Actor-Partner-Interdependence-Model for longitudinal data (L-APIM) with ...
2 votes
1 answer
17k views

Number of random effects is not correct in lmer model

I am getting this error. ...
1 vote
1 answer
648 views

Specification of longitudinal mixed-effects model with varying treatment times, varying observation times in lme4

I am familiar with fixed-effects linear regression models, and have done reading on mixed-effects models. I am attempting to fit a model based on observational data, where treatments come at varying ...
0 votes
0 answers
15 views

Cross-level longitudinal data analysis - which approach is best?

I have data from ~80 different companies, with anywhere from 1-10 employees from each company taking a survey once a month for 6 months. The measures are the same each month. However, the employees ...
1 vote
0 answers
8 views

When should I care about the hierarchical structure of a few included studies for a meta-analysis (multiple independent groups, same outcome)?

I plan to meta-analyze proportion data (i.e. compliance rates in %) from >150 studies. Most of the studies will be single-group designs, but there will also be a few eligible multiple group studies ...
1 vote
1 answer
20 views

Need help with analyzing data from within subjects design study

I am planning to conduct a within-subjects design study, and I am wondering if data analysis can be done using multi-level analysis. IV and DV will be continuous variables. Moderator will be binary, ...
0 votes
0 answers
16 views

Mediation Analysis with Categorical IV in R

I'm trying to conduct a 1-1-1 mediation analysis with HLM. My IV/treatment is a categorical variable indicating the type of the neighborhood (PW, PB, Mixed, PNB). 4 Levels. My mediator is a continuous ...
0 votes
1 answer
19 views

Correct notation for cross-level interaction

I am wondering if I am using the correct notation for a multilevel model with a cross-level interaction (i.e., a multilevel model with an interaction between level 1 and 2 covariates). Let $Y_{tj}$ be ...
0 votes
0 answers
380 views

Predicting individual-level outcome with only group-level data

Suppose I have summary data from a number of different classrooms, and I want to model a binary outcome (pass/fail) for individual students. I have no individual-level data. I have some classroom ...
0 votes
0 answers
23 views

Linear Mixed Model with repeated measure design, continuous and discrete predictors, and continuous predictor partially nested under discrete factor

Let's say I have the following data frame where subject ID (random factor) is completely crossed with the two other factors: IV1 and IV2. Additionally, IV2 is partially nested (or partially crossed) ...
1 vote
0 answers
25 views

FIML (full information maximum likelihood) in R for Missing Data in Multilevel Model

Has anyone been able to find any package/function to run FIML in R for multilevel models? I know the lavaan package has a function for it, but it doesn't support mlm. I've only been able to find it in ...
0 votes
0 answers
24 views

Forecasting a hierarchical time series (HTS) with a vector auto-regression (VAR) model - are they compatible?

I have a use case where I am testing the use of a VAR model with the FPP3 package in R. I have previously used an ARIMA model to forecast 2 variables separately, but because the variables are related ...
0 votes
1 answer
14 views

Mixtures vs Multi-level models?

I'm confused on how mixture models and multi-level models are different (if at all.) Are there general rules for when to use one and not the other, pros/cons, etc?
0 votes
1 answer
21 views

Assessing which variable is more predictive in multilevel modeling. Question about seemingly conflicting results

I am analyzing data for a psychological study using multilevel models. I have a dependent variable (DV) and two predictors (A & B). DV, A, and B are all linear. I want to assess whether A or B is ...
0 votes
1 answer
363 views

Should group mean centring impact results of a multilevel mediation?

I'm currently writing up results from a multilevel model of my study and have come across an issue and was hoping for your help. Essentially, when running my mediation model using lmer and mediation ...
1 vote
0 answers
9 views

Leveraging hierarchical data in a GBM

A challenge that I encounter in a lot of modelling, is how to best handle hierarchical data for making prediction. A simple example of this is a basic (binary) classification problem, where I am ...
3 votes
1 answer
23 views

How to compute the total standard deviation of the (true) effect sizes, σ, in random/mixed-effects meta-analytic models?

I have the following meta-analytic model (effect sizes nested within samples): ...
3 votes
1 answer
97 views

Methods for drawing population inferences from multiple sub-population datasets

What would be an appropriate model or method for making inferences about a broader population quantity from multiple quantities representing subsets of the population? Imagine, as an example, that I ...
0 votes
0 answers
9 views

Multilevel model on conditioned plausible values

I have a dataset with multiple schools and plausible values as proficiency scores. I am trying to understand if variables used as conditioning variables for the imputation to generate the plausible ...
0 votes
0 answers
14 views

having trouble with mixed-effects model

I conducted an experiment with a mixed design. Each participant was assigned to one of three experimental conditions and answered questions for all five experimental stimuli, and also answered some ...
0 votes
1 answer
210 views

multilevel factor odds ratio - help SPSS

I'm a newbie when it comes to SPSS and Statistics, and in need of some help. I would like to know how to calculate a multi level factor odds ratio in SPSS, for an outcome (0 vs 1 : no disease vs ...
0 votes
0 answers
5 views

accounting for multi-scale spatial dependency in samples analysis

I have a spatially nested dataset as follows: 5 samples per cluster 5 clusters per plot 4 plots per site (2 habitats per site, 2 plots each) 7 sites overall I have: 5 samples * 5 clusters * 4 plots * ...
0 votes
1 answer
502 views

Fixed effect turns insignificant when including random effect - Multilevel

I have a data set from a diary study in which stress was assessed for 30 days. I want to build multilevel regressions (level 1: measurements, level 2: persons) to investigate the effect of different ...
2 votes
1 answer
425 views

Unsupervised Learning on Multilevel/Multidimensional Data

I am working on a case-control study, where I for each individual have high dimensional data (like illustrated in the image). I would like to do both PCA analysis and Clustering on this data, but it ...
2 votes
1 answer
203 views

I have an insignificant beta weight of a predictor, which the only predictor in a step with significant R-square change and significant F-value

I am running a hierarchichal multiple linear regression with 4 steps containing theoretically justifyable variables: Outcome: pain rating Step 1: demographic variables (age, gender) Step 2: Pain ...
2 votes
0 answers
43 views

is meta-analysis of combined raw/fully disaggregated data appropriate?

I have conducted several experiments that examine Reaction Time as the DV. Because I conducted them, I have the raw data for each. It makes sense to me that combining all the data (at the single-trial ...
0 votes
0 answers
19 views

Multilevel Model Crossed Random Effects

I am analyzing a dataset using a multilevel model approach and have been recommended to look at using crossed random effects due to the structure of data. I've currently been treating my data as 2 ...
2 votes
0 answers
32 views

Generalized estimating equation (GEE) for multilevel data

Can Generalized estimating equation (GEE) handle multilevel data? and how?
0 votes
0 answers
13 views

Multilevel model when there is no variation in DV among some groups

I came across a study that claimed they used a logistic model with group-level clustered standard errors instead of a fixed-effect MLM because many groups did not have variation in the DV and so ...
0 votes
0 answers
14 views

linear mixed effects model comparing recorded data to 'random' control data

I'm new to mixed-effects models and have some questions about the best way to analyze my data. Experimental Design: I have x-y coordinates for groups of 5 fish swimming around freely in a tank. We are ...
3 votes
1 answer
75 views

Interaction term using year dummy with year & industry fixed effects model

Using a panel data from 2005-2020, I am trying to measure (1) if auditors charge more fees to the clients following a data breach and (2) if the level of response varys over time. I came up with the ...
1 vote
1 answer
29 views

Why Does Standard Error for Individual Predictors Not Increase in Multilevel Modeling?

I have been trying to teach myself multilevel modeling through R and I am relying on the W. Holmes Finch book. According to them, and any resources in general, not doing multilevel modeling causes an ...
2 votes
1 answer
65 views

hypothesis testing with data that are not equally independent

I think the easiest way to explain my question is with an example scenario: Let's say we have 10 groups of 5 people and each group is in an identical circular room in which we are allowing them to ...
0 votes
0 answers
10 views

Linear mixed model: Is subject-specific random effect for interaction meaningful if one factor is varied between-subjects?

I plan to apply a within-subjects design. However, currently, I am investigating my pilot data in which a between-subjects design was applied. The planned model comprises a subject-specific random ...
0 votes
0 answers
15 views

Is it better to model a time series at group level by sum or average?

I am trying to model an expenditure TS at Country level. I have monthly expenditure data from many towns. Should I: Sum for each month all the town data and use this as input to a country TS ARIMA? ...

1
2 3 4 5
35