Statistical methods appropriate for the analysis of data sets comprising several levels of hierarchy of units of analysis (e.g., students nested in classes nested in schools; observations nested in patients nested in hospitals). If you can refer to more specific models like mixed-model or glmm, ...

learn more… | top users | synonyms (2)

1
vote
0answers
6 views

How to mitigate the hierarchical error propagation in tree-structured classification

Suppose we have a multi-class classification problem, where the number of classes $K \geq 3$ We use a tree structure of multiple SVMs to divide and conquer the problem, with one example in the figure ...
0
votes
0answers
19 views

Controlling for variables with lmer (R)

I am using lmer (from the lme4 R package) on a dataset with 6 variables: SubjectID, ImageID, Category, Brightness, Contrast and ResponseTime, where the last three are continuous variables. (and yes, ...
0
votes
0answers
7 views

Dummy coding a column in R with multiple levels [on hold]

I have a dependent variable measuring the net revenue. One of the major predictor affecting this is "product" i.e. the product sold to the customer. My randomly sampled dataset contains 1.4 million ...
1
vote
0answers
35 views

Three-level partially nested model

I am modeling change over time in group psychotherapy subjects using R and lme4. My data have the following structure: subject (id) time (code 1-10 for equally spaced repeated measures) outcome (for ...
0
votes
0answers
36 views

nlme - 3-level-design: How to specify random factors?

I am a little bit confused about how to operationalize the random factor in a 3-level design. I think I have 3 level design. Or is this already wrong? Level 3: Time of measurement (variable name: ...
1
vote
3answers
64 views

“Unidentified” hierarchical model in brms/stan - where to go from here?

I am evaluating an intervention in which participants are grouped in teams and each participant fills in a survey before and after the intervention. As such, the data presents a classic multilevel ...
0
votes
0answers
5 views

Using additional data to improve random effect estimates in multilevel model

I've got a set of measurements (axonal transport measurements for individual axons nested within animals in two treatment conditions: drug vs control) which I currently analyse using a random ...
1
vote
0answers
10 views

Cross-classified multi-level model - application to marketing

I am working on predicting whether an individual customer will respond favourably to a marketing campaign (yes/no). I have data about customers, and their responses to previous campaigns. If possible, ...
0
votes
0answers
30 views

How to analyze dyadic repeated measures with categorical moderation?

I want to test the effects of the emotions expressed in private online chats between males and females (dyadic chats) on the female's satisfaction from the chat. And to test how some factors may ...
0
votes
0answers
10 views

What is the difference between a cross-level Interaction and a random slope in a mixed effect model?

Can someone please articulate the differences between a "cross-level interaction" and a mixed effects model? Two areas that are unclear: - Are all random slopes the same as "cross-level ...
5
votes
2answers
101 views

Alternatives to multilevel model with log transformed outcome

I'm working with linear mixed-effects model in Stata. Dataset has three levels of 100k observations, nested in 500 regions, nested in 70 regions. Currently my modelling strategy is to use ...
0
votes
0answers
29 views

Multilevel models with dynamic membership

I would like to estimate a 3-level random intercept model. I use Stata for the estimation, where it is done by using the xtmixed command. In this model, company ...
0
votes
1answer
29 views

Select and aggregate time series based on selection information of a second dataset

General problem: I have two datasets in r and I do not know how I can calculate information across groups of time series in one dataset based on selection-information of another dataset. The details: ...
1
vote
1answer
44 views

What is the right mixed effects models for data that is both nested and not?

I have a dataset that includes nested observations as well as repeat observations that are not nested (I'm not sure this is the best way to describe it, but stay with me). Here are the specific ...
0
votes
0answers
23 views

Questions about mixed model design with repeated measures/nesting/incomplete design

I have data from a incomplete factorial experiment with repeated measures and potential nesting and am trying to figure out 1) the right way to design the mixed model to analyze the data, and 2) how ...
1
vote
1answer
26 views

If I have a nested multi-level model, how can I find the conditional expectation easily of the middle variable?

Suppose I have the following model: $$ y_i | x_i, V_1 \stackrel{ind}\sim N(x_i, V_2) $$ $$ x_i| V_1 \stackrel{iid}\sim N(0, V_1) $$ $$ V_1 \sim Unif(-V_2, \infty) $$ where the data is $y = (y_1, ...
3
votes
1answer
25 views

Nested Anova vs Multilevel Linear Models

I am working on a problem which revolves around individual axons / nerve cells in two treatment conditions. All relevant questions are clearly on the axon level, and dependent on properties (size, ...
0
votes
0answers
6 views

Multilevel modelling - similar level1 and level2 coefficients, but small level 2 variance

I have a random intercept MLM with healt predicted from individual level trust and aggregate trust at the neighbourhood level. The coefficient for individual level is .235 and for neighbourhood level ...
0
votes
1answer
32 views

pymc hierarchical model not varying betas

I'm trying to train a hierarchical logistic regression for binary classification with four predictors. Here's the code that I'm working with: ...
1
vote
0answers
6 views

Model comparison with chi-square difference test and BIC

To my understanding, BIC value is based on P(model | data). In HLM (or, MLM) framework, researchers often compare between models. For example, Model 1 has one predictor (Predictor A), and Model 2 has ...
1
vote
0answers
19 views

Dummy-coded moderator (multi-level): Reversing code changes interaction results

I have a diary-study (multi-level data) and hypothesized an interaction effect on level 1 (day-level). The moderator is a dummy-coded variable that was measured at day-level (*eat vs. not eat), the IV ...
0
votes
1answer
20 views

Multi-level: cross level interaction model

I have a question regarding multi-level analysis. I follow the paper of Agunis & Culpepper (2013) on best practices in multi-level modelling. In the last step when I put interaction term of L1 and ...
3
votes
1answer
26 views

Does an n-way ANOVA have n independent variables?

I'm trying to swot up before my next lecture of ANOVA models but the n-way has me a little confused. Ended up asking myself this question "Does an n-way ANOVA have n independent variables?" but I ...
1
vote
1answer
51 views

Which Test to check relationship between age (ordinal independent variable) and nominal variable (type of car)

I have two variables age and type of car bought. Age is in groups. Eg. $<25$, $26-35$, $36-45$, $46-55$, $>55$. Car is 1. American, 2. ...
0
votes
0answers
4 views

Coding and treatment of time in a longitudinal multilevel model with irregular measurement occasions

My data consist of measurements taken at various time points within various locations in a city. If a measurement was taken in a place, it was taken once a year, so the measurement effectively ...
2
votes
0answers
28 views

Is it possible to use LASSO regression with multi-levlel data?

I have real-time monitoring data where participants report on a variety of variables four times per day for a month. Is it possible to use LASSO regression (e.g,. glmnet r package) with this data? I'm ...
0
votes
0answers
14 views

Density of trivariate normal distribution

I have correlated three normal distributions (y1,y2,y3) And, I want to have density function of p(y1,y2>0,y3>0). How I can get the closed formed density function of that? (three normal distributions ...
0
votes
0answers
4 views

Multilevel model for contextual variable

I want to know if the socioeconomic level of the municipality of residence has an impact on the probability of pursuing long studies. I have been told to use a multilevel model for that, because ...
0
votes
0answers
9 views

Analysis of repeated measure on same individual with mixed model

In our study we were have collected data from 150 subjects every month (12 times) from each person on food intake and sleeping duration at night. We were interested to assess whether i) there is ...
1
vote
0answers
14 views

Logistic regression on clustered presence observations

Edit 4/5/16: added example As a simplified example, in social science surveys a single household may provide 1 to $n$ responses to a questionnaire (assume a single question); say $n = 5$. I have read ...
2
votes
0answers
44 views

Interpreting the variance of random effects in Mixed Linear Models

When fitting the following simple model, using the 'lme4' R package and including a fixed and random slope term, I get: ...
1
vote
1answer
58 views

R lmerTest step() function returns significant random effect without equivalent significant fixed effect

I do have a 2 level data set with 3 observations nested in one person. I am fitting a mixed model including 71 predictors and 28 random slopes in the following manner: ...
1
vote
0answers
16 views

multilevel model vs multiple regression

I have a situation where I wanted to use multiple regression to see how 3 predictor variables and predicted an outcome. However, I have two conditions in my experiment, which all participants undergo ...
0
votes
0answers
16 views

Using ordinal variable as continuous variable in MLM

In this post, Can I use multiple regression when I have mixed categorical and continuous predictors?, it is stated that you can use an ordinal IV as a continuous IV in a multilevel model. Does anyone ...
0
votes
0answers
9 views

Experimental design multilevel

I am creating a vignette study with three instances per person who are randomly assigned to one of 12 conditions. The 12 conditions are different combination (fully-crossed design) of dummy codes ...
0
votes
0answers
11 views

Probing 3 way interactions in multilevel models

I am working on probing 3 way interactions in multilevel regression models (original analyses were conducted in SPSS). I Have used the online application created by Preacher et al. ...
1
vote
0answers
49 views

Stata: plotting the random+fixed effects of slopes after multilevel models are fit with `xtmixed`

I am fitting a linear multilevel model of the following form: Y = b0 * X0 + b1 * X1 + b2 * X2 + b3 * X3 + u b0 = e0 b3 = e3 The units in the first level are ...
0
votes
0answers
20 views

Aggregating level 1 variables for multilevel modelling - minimum cluster size?

I am working with survey data whereby there are 965 clusters with a mean of 8.4 observations per cluster. The clusters approximate neighbourhoods. I have ran a series of models including level 1 ...
0
votes
0answers
11 views

Is it possible to check multilevel growth curve models for multicollinearity?

I'm modelling a growth curve model, based on five-time points for n=243 individuals. Time is treated flexible rather than occasion specific. Next to the dependent, continuous variable, I want to ...
1
vote
2answers
57 views

Longitudinal mixed model in R: a special case with various complications

The longitudinal dataset has n=275 and 8 measurement points. There are 3 groups (3 different drugs) with roughly n=80 each. The complications are: (1) Substantial dropout: only n=136 have all ...
0
votes
1answer
61 views

What happens when switched from more aggregated to less aggregated unit in ecological regression

Sample state data State Percent_ethnicity=1 Percent_voting=1 A 20% 60% B 56% 65% Sample city data ...
0
votes
0answers
17 views

Regression with Shared Common Coefficients among Groups

I have $m$ groups of data. Within group $k=1,..,m$, I have a relationship that looks like: $$z_i^{(k)}= \beta_{k} ( \alpha_1 X_i^{(k)} + \alpha_2 Y_i^{(k)}) + \epsilon_i^{(k)}$$ $z_i^{(k)}$ is the ...
0
votes
1answer
80 views

Downsides of inverse Wishart prior in hierarchical models

I am working with a Bayesian hierarchical model that has a number of parameters for each experimental unit (6 parameters). I really do not know all that much about them a-priori, but it is quite ...
1
vote
0answers
10 views

How do I compare frequencies within and between locations in a time series evaluation?

I am currently looking at the effect of predation in the temporal variation of colour morphs in a species of fish. In the experiment, frequency of each morph (two morphs) were assessed three times ...
0
votes
0answers
18 views

Specifying an HLM model in SPSS (ranking data)

In SPSS, I am receiving the error: The final Hessian matrix is not positive definite although all convergence criteria are satisfied. And when looking at the output, it is telling me that the ...
0
votes
0answers
42 views

Mediation in Multilevel Models using R

I am trying to estimate a mediation models using repeated (over time) observations for the same subjects (firms). I am using lme4 (lmer function) to estimate my models and then attempting to use the ...
0
votes
1answer
43 views

Regression model for country-year level data

I have a data set which includes country-years and I am interested in modeling founding and mortality for corporations in each country-year. I am interested in within- as well as between-country ...
2
votes
1answer
36 views

What are the criteria to be a random factor in a multilevel model?

In multilevel data, observations are correlated in different levels and when we model the data we consider these levels as random variables. Suppose we have only 6 regions in my data and the ...
1
vote
0answers
40 views

If all components of a hierarchical model have not converged, can we say that any parameters have truly converged?

I'm working with a hierarchical regression model of the following form similar to that presented in Peter D. Hoff's book, A First Course in Bayesian Statistical Methods: $\boldsymbol{Y}_j \sim ...
1
vote
0answers
12 views

deriving shrinkage factors for beta binomial distributions

I am confused by the derivation of shrinkage factors currently online on sites like Wikipedia and ProbWiki. To be on point, I am confused how we get quickly from $\theta_i \sim Beta(\mu,M)$ to ...