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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Statistical analysis of datasets comprising several levels of hierarchy (e.g., students nested in classes nested in schools). For questions about mixed models use [mixed-model] tag. For nested random effects, use [nested-data].

2
votes
0answers
22 views

multi-level Wilcoxon analysis

The question was originated from the paper [1] Table 3 [2], for every species, there was a data frame with two column: disease categories and the conservation index. Conservation index is numeric. The ...
1
vote
0answers
22 views

Multinomial (Categorical) Multilevel (Hierarchical) Bayesian Model in R

I have a couple of questions, so I hope it is ok that I ask them here. Before that, here is some background information on my data: Outcome variable (1): categorical, 6 categories, N=168 Predictor ...
0
votes
0answers
18 views

Compare proportion of patient outcomes of the same group over time- McNemar's or Chi Square?

I want compare proportions for the same practices over two time points, while timepoint 1 is the control and timepoint 2 is an intervention. Let's say I have a design in which doctors are clustered ...
5
votes
1answer
80 views

How to account for multiple measurements of same person in either two-group comparision or regression?

I am running analysis on clinical data collected from patients which are correlated either by time (longitudinally) or more commonly different measurements of the same person at same time (eg. ...
3
votes
0answers
35 views

Can this be solved using a binary logistic multi-level model?

Is it possible to solve the following task by using a binary logistic multi level regression? If not, how can you solve it? The concept as a diagram: I have the location of individual stores and ...
0
votes
0answers
16 views

Truncation and a composite distribution

Suppose $X$~$N(a,1)$ $Y|X$~$N(X,\sigma^2)$ Then what is $X|Y<0$ ~ ? and $E[X|Y<0]$ ~ ?
0
votes
0answers
35 views
+200

Combining two multilevel models that are a sort of two stage model

I have a study where the same people were exposed to advertisements both with and without an "endorser" or spokesperson. There were also several different kinds of endorsers (male vs. female and so ...
0
votes
0answers
15 views

using GLMM on signal detection for 3 conditions

I am planning to use Generalized linear mixed model to analyze a paired association learning task on three different groups. Basically, I have the hits, false alarms, miss, and correct rejections for ...
0
votes
0answers
9 views

Multi-level SEM with lavaan (individual to indvidual to organization)

I have a data set which includes 200 individual's responses in 100 companies. I have collected 2 responses per organization. With the data set, I have analyzed the data based on multilevel SEM (...
1
vote
0answers
29 views

Multi-level modeling using lmer in R

I have nested data as followed: 'Learning group sessions' in 'students' in 'learning groups' (each learning group consisted of different students and the learning groups chose to have between 3 and 10 ...
3
votes
1answer
23 views

How does pooling work with crossed effects in multilevel models?

In Section 12.2 of Gelman and Hill, The authors mention that one of the main benefits of creating a multi-level model is that you can take advantage of "partial pooling". As an example, if you were ...
0
votes
0answers
8 views

Collinearity in HLM | MLM

fellow HLM users (and experts), I've been running a HLM model for retail employment at transit stations, and a number of my metro-scale (grouping) variables are proving highly correlated. Does that ...
0
votes
0answers
23 views

Are estim. coef. and R-sqrd expected to change at different levels of aggregation (hierarchical data)?

I am working with hierarchical data and I want to estimate the same model (y=a+xb) at different levels of aggregation. For example, the first model (m1) uses individual data, the second model (m2) ...
0
votes
0answers
8 views

lme4 How to interpret a random slope effec while there is no fixed effect?

I have a question regarding the interpretation of multi-level models. This is my first model: m1 = lmer(Y ~ x1 + x2 +(1| class), REML = FALSE, data=dataset) In ...
1
vote
0answers
20 views

Multi-level Models - Date as a Random Effect

Hi I was wondering if someone would be able to help me decide on the proper set up for a multi-level model using the lmer package. In my study, we are looking at heart rate in beats per minute ...
0
votes
0answers
14 views

How to analyze these data (Hierachical?)

I am planning a study and want to make sure that I have an appropriate way to analyze them. I will have around 100-200 basic word forms (lemmas), and for each lemma I will have 1 to 6 inflected forms ...
0
votes
0answers
7 views

Specification of partially nested / partially crossed longitudinal 3-level model

I am analyzing how properties of brain hemispheres change over time under different conditions. Each subject has a left (L) and a right (R) hemisphere for each of which I measure the property of ...
9
votes
0answers
191 views

Compute partial $\eta^2$ for all fixed effects anovas from a lme4 model

Disclamer: I wasn't sure where to post this question: CV or SO, but eventually decided to try here first I've been asked by one of the reviewers to add effects sizes (preferably $\eta^2_p$ which is ...
0
votes
0answers
9 views

How many levels is to many levels in a multiple factorial ANOVA (MANOVA)?

I performed an experiment where in which I got very good results when I perform the MANOVA analysis using 3 factors with: 3x3x9 levels. Then I tried to get a global perspective of the interactions ...
1
vote
0answers
21 views

what does it mean when A and B are non-significant but the interaction of the two is significant?

I carried out hierarchical regression model using stepwise method and included interaction terms (predictor variable x moderator variable) in the third step of the model. It was found that only ...
0
votes
0answers
11 views

Analyzing latent time invariant predictors and time variant outcome variable

I have 5 time invariant manifest variables that load onto 2 latent variables: l1 =~ x1+ x2 + x3 and l2 =~ x4 + x5 and one time ...
0
votes
0answers
9 views

Multilevel repeated measures design

How does one model a series of FIXED stimuli within a repeated measure design? Our design measures a subjectively measured continuous outcome (the dv) at 4 different points in response to a sequence ...
1
vote
0answers
12 views

Intraclass Correlations for Intraobserver-Reliability in Hierarchical Data

We have a dataset where multiple measurements of the same variable are taken from individuals and we want to measure the intraobserver reliability. However, the individuals each come from different ...
0
votes
0answers
10 views

multilevel multiple imputation

I have been using the mitml package in R for multilevel multiple imputation of longitudinal data, there are 2 functions available for imputation, panImpute and jomoImpute , both use the joint modeling ...
0
votes
0answers
22 views

Cohen's kappa for repeated measures longitudinal data

I have a dataset with more than 100 repeated measures of observations across multiple subjects. I want to estimate the agreement between two of the variables measured repeatedly. Note that each ...
5
votes
1answer
85 views

Puzzling predicted values in generalized multilevel model

I ran a multilevel model with a dichotomous variable as the outcome using the logistic link function. I did this with the lme4 package in R. An approximation of my ...
0
votes
0answers
6 views

Simultaneous modeling of group and individual level outcome variables

I would like to estimate the following multi-level model with group level equation $y_i = \gamma \alpha_i + \epsilon_{i}$, and individual level equation $A_{ij} = \alpha_0 + \beta_0 x_{ij} + \...
1
vote
0answers
9 views

Comparing group means in multilevel model

I have a model with a within-subject variable (two levels) and a between-subjects variable (three levels which represent experimental groups). I create two dummy codes to account for the three levels ...
0
votes
0answers
11 views

Multi-level model with 3 levels of an IV. How to test significance?

In my lower-level model, I have an outcome variable and one between-subjects independent variable representing membership in one of three experimental groups. I have represented the three groups with ...
0
votes
0answers
10 views

Incorporating time into a longitudinal multilevel model. Time as variable or cluster?

First off, I'm looking for advice here. As such, this isn't so much a question as a problem. I'm undertaking some research on how people incorporate actual economic change (e.g. GDP figures) into ...
0
votes
0answers
24 views

Clustered Standard Errors, small cluster size, cross classified structure

i am dealing with a fairly complicated cross-sectional data structure ("cross-classified") which implies non-independence of the errors when analysing my Y. Individuals (N=1200) are nested in level ...
1
vote
1answer
25 views

Latent growth curve model with more time points than participants

I can't quite figure out if having more time points in a latent growth curve model reduces power or increases it. I don't have the data yet so I can't experiment. The study has around 300 measurement ...
0
votes
0answers
10 views

¿Any suggestions? GLM, HLM, MLM Problem (lme4)

I'm new to Multilevel modeling and currently I been working on a business project and its data is related to multilevel modeling. I know a lot of things about how to approach this problem, but I will ...
1
vote
0answers
27 views

How to specify LMER model to customize different predictors on random intercepts and slopes

I'm trying to specify a longitudinal growth curve model (mathematically defined in Bollen & Curran's 2006 Latent Curve Model book, Chapter 6). Here's some brief theoretical context for this ...
0
votes
0answers
8 views

finding intraclass correlation in a set of unequally sized groups

I'm trying to analyze a set of N samples taken from M subjects, with N>M (each subject was sampled at least once). I'm interested in finding the intraclass correlation coefficient (ICC). After looking ...
0
votes
0answers
11 views

multilevel model, which levels

I've got a dataset measuring political candidate attitudes (N=1850). Candidates are members of parties (party)(n=8) and nested in electoral districts (district) (n=29) and thus also in parties within ...
1
vote
1answer
23 views

Exchangeability of group effects

Regarding this basic model with an individual-level covariate $x_{ij}$, group effects $U_{0j}$, and individual effects $R_{ij}$: $Y_{ij}=\gamma_{00}+\gamma_{10}x_{ij}+U_{0j}+R_{ij}$ the multilevel ...
1
vote
0answers
103 views

Linear Mixed Model with Unbalanced Observational Data

I am doing an observational study that yields very unbalanced data. First, let me describe the experiment and my hypothesis. Participants performed a task (e.g., reading) with some physiological ...
0
votes
0answers
8 views

Low proportion of exposure level in some groups in multilevel model

I am working on a two-level multilevel model. My outcome is binary and I am fitting a logistic regression. The main exposure variable/explanatory variable of interest is 3 levels (0,1,2); there are ...
0
votes
0answers
34 views

same variable as both random and fixed effect in mixed models

Let's say I have a variable with 6 levels, for example, different tasks which are just a subset of all possible tasks. I am interested in differences between the tasks so should add it as a fixed ...
1
vote
0answers
42 views

is it correct to nest fixed effects within random factors?

In this post @Ben Bolker wrote in his answer that for the interaction between station and day we could write ...
2
votes
1answer
44 views

Intercepts and Slopes as Outcomes Model in lmer

I am confused by lmer's formula syntax for mixed models. I found a very useful "cheat sheet" in an answer to a related question. Unfortunately, there is no example of a fairly common class of model,...
1
vote
1answer
48 views

Interdependence in binomial regression

I am having trouble accounting for interdependence in data that I would like to model with binomial regression. I am looking at school attendance during two months (43 school days), counting whether a ...
1
vote
1answer
41 views

Bayesian multilevel model in practice - selection of package, specification and interpretation

I am trying to fit a Bayesian multilevel model in R and have several questions. I found two packages (brms and rstanarm) and am able to perform the analysis with both of them, so the technical part is ...
1
vote
0answers
18 views

How can I evaluate with R the interaction between a within-subject effect and a continuous variable at the subject level?

Scenario: 62 subjects did a selection task composed of 128 items, that can be divided into four conditions, because each item has a cue and a target (also other options but thats not of interest in ...
2
votes
0answers
27 views

Explaining changes in the random intercept of a multilevel model

I have a question concerning the estimation of a random intercept in a multilevel model based on a standard setup, with a level 1 equation as follows: $$ Y_{ij} = \beta_{0j} + \beta_{1}X_{ij} + \...
0
votes
0answers
8 views

Appropriateness of explicitly modelling sums in hierarchical models

My lab is interested in morphological measures that have a partition structure. A simple example that has the same property would be studying effects on arm lengths. Each person has an armspan which ...
1
vote
0answers
97 views

Assessing a test by seeing if variance between subjects is greater than within subjects

I am assessing a new measure (termed Val) and it's unclear even if it imparts any useful data at this stage. I have data taken from multiple locations within each subject, and I have repeated the ...
0
votes
0answers
9 views

Fitting a single-level model with group-level predictors (No random effects)

can someone explain me this affirmation. "High risk of Type I errors because standard errors of coefficients of group-level predictors may be severely underestimated. No estimate of the between-group ...
0
votes
0answers
31 views

SPSS - How to use multilevel modelling with respondents in each condition and repeated measured per condition?

I am a Marketing Management student and am currently finishing up my Master thesis. I conducted an experiment with 40 participants. Each participant looked at 16 commercials and evaluated how much ...