Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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].

0
votes
0answers
7 views

Probability score for Hierarchical classification models

We've a hierarchical classification system in place; where each level produces predictions with a probability. Here's how the hierarchy is setup Top level: 1 model; ~25 classes Level 1: 25 models(=25 ...
1
vote
0answers
11 views

Alternative solutions to multilevel modelling due to level 2 and 3 not having enough clusters

I have been running some multilevel models on my data but have now been told my clusters are too small and I need to consider taking out two of the levels and add them in as covaraites (dummy ...
0
votes
1answer
24 views

Multilevel Poisson Regression

I have some data with individual level variables (like satisfaction) and these individuals are nested within buildings (there are 12 different buildings) and I have a continuous variable that is ...
1
vote
0answers
15 views

Hierarchical time series using DLM

I am developing a forecasting solution using R's dlm package and it is proving to be very useful for most of our requirements. However, I am also keen on sharing information among different time ...
1
vote
0answers
21 views

Running a Multilevel Linear (Mixed-Effects) Meta-Analysis Model without a variance-covariance matrix

I have a dataset that I want to run a meta-analysis on. However, the data has a hierarchical structure with several endpoints per study and where studies are further clustered together. So, I should ...
0
votes
0answers
20 views

3 Level Hierarchical Models in STATA; Null model fails to converge

3 Level Hierarchical Models in STATA; Null model failed to converge About the Dataset I am working with DHS (Demographic and Health Survey Data) data. DHS uses a two-stage cluster sampling process. ...
1
vote
0answers
13 views

Practical questions about cluster bootstrap confidence intervals

I want to estimate the accuracy of a machine learning model. I have an independent test set with a vector of trusted labels and a corresponding vector of model-based predictions. If I assume the test ...
0
votes
0answers
8 views

Weighting and Clustering in Pooled Data Analysis

I am working with DHS (Demographic and Health Survey) data. I have pooled data from about 25 countries taking 2 most recent waves from each country. My dependent variable is neghaz (negative of height ...
0
votes
0answers
23 views

How to calculate Intraclass Correlation Coefficients (ICC) for hierarchical or clustered data

I have 4 measurements for each of my 1000 subjects, and each subject has a bunch of parameters (p1, p2, ... p100), for each of which I would like to calculate an ICC (version: (3,1) according to ...
0
votes
0answers
6 views

HLM for Indistinguishable dyads

I want to know if it is possible to estimate models in the statistical program HLM that use dyadic data collected over time with dyads that are indistinguishable (e.g., friends). I have data from ...
0
votes
1answer
15 views

How to interpret the output when one or two levels are significant in the seemingly insignificant categorical predictor in logistic regression

I am running a multilevel binary logistic in SPSS. The predictor variable in question is a categorical variable with four levels. In the first fixed effect table, it seems like the predictor variable ...
1
vote
0answers
15 views

Which test should I use to predict a ratio from multilevel, time series data?

Thanks in advance for any help you can provide - I've done as much research as possible but I think it'll become obvious I'm somewhat unfamiliar with statistics. Let's say that you've noticed that ...
2
votes
3answers
33 views

Resources for hierarchical modelling in R

Just chasing a text/resource for learning hierarchical modelling in (and) R. I have extensive experience using Matlab and Stata but very limited R experience. Any recommendations? Happy to purchase ...
1
vote
0answers
22 views

multilevel logistic regression with rare events

I am running a multilevel logistic regression with a dichotomous outcome. The outcome variable measures protest participation. About 10 percent of the overall sample reports positive answers, which ...
1
vote
1answer
53 views

reporting regression results with categorical variables and interactions

Several sources recommend reporting regression coefficients in a table for every mixed-effects model. For continuous predictors that's fine because I only get one coefficient for that predictor. But ...
1
vote
0answers
17 views

Different estimates in multilevel meta-analysis for categorial moderator vs. subgroup analysis

I am conducting a three-level meta-analysis using metaSEM in R. I want to find out the mean effect size for four subgroups of my dataset and later I also want to use these groups as a moderator. My ...
3
votes
2answers
64 views

What is the Joint Density Function of a Three-Level Mixed-Effects Model?

This is a follow-up question to a question I posted earlier. Obviously, maximum-likelihood estimation of mixed-effects models requires the joint density function. Let us assume a two-level mixed ...
1
vote
1answer
81 views

Can one usefully specify a multilevel-model with a partially-nested, partially non-nested structure?

Background Gelman and Hill's Data Analysis Using Regression and Multilevel/Hierarchical Models includes an example in section 13.5 of how to model non-nested data. The second example in this section ...
2
votes
2answers
45 views

controlling for clustering at id level in mixed effects model

I have one group ($n=40$) of subjects pre- and post-tested (time; coded $0$ and $1$) on a continuous variable (y). I also have a ...
1
vote
0answers
53 views

Multilevel Modeling: Minimization Problem when A = B + TCT'

I currently study multilevel model using Leeuw & Meijer (2008) Handbook of multilevel analysis. On page 65, they state the following theorem: If $A = B + TCT'$ with $A$ and $B$ positive definite, ...
0
votes
0answers
45 views

Is my (repeated-measures) multilevel model correctly specified in R?

Objective: I would like to make sure I specified my multilevel model correctly in R using nlme package. Background: I have a ...
1
vote
1answer
17 views

How do I get a measure of effect size for each term in a multilevel model?

For a multilevel model of the form, say: $$Y_{ij} = B_0 + B_1X_{1_{ij}} + B_2(X_1)^2_{ij} + B_3X_{3_{ij}} + B_4X_{1_{ij}}X_{3_{ij}} + B_5X_{5_j} + (u_0 + u_{1_j} + e_{0_{ij}} + e_{1_{ij}})$$ Does ...
1
vote
0answers
9 views

Should reviews/ratings data be considered as repeated measures?

Suppose I have some ratings/review data for a type of product (say coffee). There are many different kinds of coffee and there are many different subjects reviewing coffee and also some covariates ...
0
votes
0answers
17 views

Predictor removed because of rank-deficiency in “lmer” model? [duplicate]

In my current research project, I am looking at the impact of different within-subject experimental manipulations on distance perception. The experiment comprised 40 subjects each providing 144 ...
0
votes
1answer
26 views

Hypotheses check with mixed ANOVA, ANCOVA, regression or multilevel linear model?

I conducted a repeated-measures experiment and obtained for each subject the following data: ...
2
votes
0answers
81 views

Random slope random intercept model for two grouping levels

I'm trying to see how boldness of individuals change with time (plasticity in personality). My data consists of boldness scores (response variable), Trials (across time), individuals nested within ...
0
votes
0answers
32 views

Multilevel Mediation Analysis (2-1-1-2 mediation) in R

I aim to perform a 2-1-1-2 mediation analysis with Trait A being the IV, Trait B being the DV (both on Level 2) and both State A and State B being two Level-1 mediators. I assume the Level-1-mediators ...
11
votes
5answers
1k views

What precisely does it mean to borrow information?

I often people them talk about information borrowing or information sharing in Bayesian hierarchical models. I can't seem to get a straight answer about what this actually means and if it is unique to ...
1
vote
1answer
32 views

lmer multilevel regression with intercept constraint [closed]

I regularly have this problem: I want to fit a multilevel regression, with constraint. I don't know how to do that. I usualy end up using lavaan, as it allows to ...
0
votes
1answer
49 views

Polynomial regression with multilevel data

I want to estimate a polynomial regression to test the effect of self and follower-perception of leadership behavior on some outcome (e.g., followers' job satisfaction). Hence, I have a multilevel ...
0
votes
1answer
88 views

Calculate sample variances from linear regression model for meta analysis?

I want to perform a meta analysis in two levels using linear regression in R (with lm() ). I understand that in the second level I should perform a weighted ...
0
votes
0answers
32 views

Intraclass Correlation Coefficient in multilevel models (HLM)

I am currently writing my Master's Thesis and struggling to find a convenient way of calculating the ICC for my multilevel model (random intercept, fixed slopes). Information to the data: I have ...
1
vote
1answer
43 views

R - How to get estimates and p-values for random effects in glmer

I have data about around 100,000 protests nested within 40 countries and I want to analyze when the claims of a protest are directed at the state, based on action and country level characteristics, ...
2
votes
0answers
24 views

three-level meta-analysis with dependency on two levels

I am conducting a meta-analysis on the effect of concientiousness on scholastic achievement in high-school students. Currently, I am struggling to find the right statistical analysis for my data ...
3
votes
1answer
37 views

Doing a multilevel model using lmer with participants nested in time - should time be a factor or not?

I am using function lmer() within package "lme4". Repeated-measures design with 4 time points, data is in long format. The time points are equidistant apart. Should I treat that variable as an integer,...
0
votes
0answers
107 views

How to Interpret the result of generalized linear mixed model?

I ran a generalized linear mixed model using lmer in R, and I'm struggling how to interpret the result. The response variable is a result of 25 consecutive binary choices. The point where I'm stuck is:...
2
votes
2answers
106 views

conditional three-level model and repeated measures using glmer in R

I have been trying to find out the most adequate formula for my data but I found no example that reflects the structure of my data, as pictured in figure above. My data is dichotomous [correct/...
0
votes
0answers
6 views

multilevel discrete competing risk

Currently, i'm working my dissertation to build up the joint association in between multilevel discrete time competing risk response(Y_1tij^(r); r=event status) and another multilevel continuous ...
0
votes
0answers
37 views

Mediation analysis with depent observations. Is it possible with mixed models?

I wonder whether it is possible in principles to conduct a mediation analysis with dependent measures. The problem is of course that we are violating the assumption of independence of observations. ...
0
votes
0answers
20 views

What kind of statistical design would you do given the sampling distribution (in picture)?

My thesis mentor gave me samples to work with. Explanation of sampling pattern: There are three samples per field (plot) to which are conjoined three samples from an adjacent plot. The plot differ ...
0
votes
0answers
4 views

Simulate discrete time competing risk data for clustered data

How can we simulate discrete time competing risk data for modelling multilevel discrete time competing risk( multilevel multinomial logit model)
4
votes
1answer
59 views

What is a two-stage regression, as a prelude to multilevel modeling, concretely?

I would like to fit some multilevel models to my data. In several places Dr. Gelman has suggested that one can fit a two-stage regression as a prelude to a multilevel model, to see if a more flexible ...
0
votes
1answer
30 views

Unbalanced Longitudinal Multilevel Model Power Analysis

I am trying to conduct a power analysis on a multilevel longitudinal model (pre-existing household panel dataset) and am having trouble figuring out how to do it (or if it is even needed in the first ...
0
votes
0answers
19 views

clustered multi-reader multi-case/modality ROC analysis in R

My problem I am looking for an R approach to: do a ROC-Analysis of (clustered (i.e. several observations per case, e.g. prostate segments) / multi reader / multi case/motality) rating (score 1-5) ...
0
votes
1answer
36 views

icc in hierarchical models as variance partition coefficient

When I learned multilevel modeling, one of the first things we were required to do is to run an empty model with the dependent variable and the clustering IDs. In my understanding, the ICC of such a ...
0
votes
0answers
18 views

Excellent fit, zero convergence hierarchical dirichlet model in JAGS

I am fitting a hierarchical dirichlet model to some data in JAGS. My samples (referred to as cores in the code) are observations of the relative abundance of 3 ...
2
votes
1answer
47 views

How can I reproduce the gllamm() Stata function in R?

I'm currently working in a project, where I replicate a project that has been conducted with Stata. I, however, work with R. The task is to estimate a multi level logit model. In Stata, the project ...
0
votes
0answers
11 views

What are level-2 covariance parameters within Iterative Generalised Least Squares Models to estimate multilevel models?

I am referring to Goldstein & Rasbash (1992): Efficient computational procedures for the estimation of parameters in multilevel models based on iterative generalised least squares. Computational ...
1
vote
1answer
39 views

Notation for nested multilevel model

I am fitting the following logit model in lme4 (R): dummy ~ ind_var1 + state_var2 + country_var3 + (1 | country/state) This specifies varying intercepts for ...
0
votes
1answer
79 views

Proportional odds assumption for multilevel data

I'm running model in which I analyze salary of recent graduates. People graduated from different majors and in different years. The dependent variable (salary) is measured using intervals, e.g., "less ...