All Questions
1,502 questions with no upvoted or accepted answers
2
votes
0
answers
26
views
High Standard deviation for regression coefficient in multilevel model with random slopes compared to fixed slopes
Recently, I compared two multilevel models of the same data:
One with fixed slopes:
R Code:
...
2
votes
0
answers
100
views
Multilevel multiple imputation in practice using R
I'm currently involved in a project where I want to address missing data using multiple imputation. I'm using healthcare data in a longitudinal setting with 16 time points, where observations are ...
2
votes
1
answer
345
views
Mediation analysis with an ordinal mediator
I have to do mediation analysis for my research and my IV and DV are both continuous and mediator variable is ordinal (time spent on Instagram where categories are:
less that 30 minutes a day
30 mins ...
2
votes
1
answer
63
views
Multilevel modelling in R longitudinal data
I have data from a daily diary study of participants nested in couples. To analyse the data I used lme4 to do multilevel modelling in R to create my models.
After doing this I wanted to check if the ...
2
votes
0
answers
40
views
How to compare the fit of two multilevel models which only differ in their fixed effects?
I have two models looking like this, where just the fixed effects differ, but the random effects stay the same
...
2
votes
1
answer
195
views
Appropriate way to use post-stratification weights when running statistical tests SPSS
I have used Complex Samples in SPSS (and SUDAAN in SAS, Survey in R) when working with survey data that were collected using a sampling design that was not random. For example, when an oversample was ...
2
votes
0
answers
82
views
Some Question about the Intraclass Correlation in interrater reliability
I am currently working on intraclass correlation in the context of inter-rater reliability. There are different forms of ICC (Shrout and Fleiss, 1979; McGraw and Wong, 1999) and according to the ...
2
votes
0
answers
31
views
Interpretation of results from a mixed-effects model with a nested design and autocorrelation
We are using a mixed-effects model to assess the potential impact of different treatments (categorical variables) on a specific soil characteristic (numerical variable). The study uses a randomized ...
2
votes
0
answers
58
views
Post-hoc identifiability for Bayesian multilevel regression model
In [1], Ogle & Barber discuss a method for ensuring identifiability of certain Bayesian multilevel regression models; they call this method "post-sweeping". I have a couple of related ...
2
votes
0
answers
202
views
Can I run mixed models in SPSS applying bootstrap (using "cluster bootsrap")?
I have utilized the ClusterBootstrap package in R to run bootstrap analysis for mixed models. Is this possible in SPSS? Using the BOOTSTRAP-command in SPSS combined with
/RANDOM=INTERCEPT | SUBJECT(...
2
votes
0
answers
38
views
Can I conclude this from my random effects model?
I'm currently performing a random slope model to figure out whether the hierarchical factor (categorical: e.g., school A, school B ...) is biasing my results. I've used the following model/code in R:
...
2
votes
0
answers
19
views
Do hierachical models sometimes give narrower CIs for fixed-level effects?
My limited understanding of modelling has been that in most cases hierarchical models give wider CI-s, meaning that they give more conservative results.
However, to my surprise, when playing with ...
2
votes
0
answers
79
views
Comparing proportions of parts between 3 groups
I'm trying to compare the effect of treatment on fruit size grades over a number of harvests (time groups).
I have applied 3 treatments (10ppm, 5ppm and control), each treatment had 3 replicas of 4 ...
2
votes
0
answers
250
views
Fixed Effect vs. Categorical Variable
I am trying to understand the difference between a linear model with a categorical level variable and a linear mixed effects model wherein the slopes are held constant. In a mixed effects model, both ...
2
votes
0
answers
116
views
Using propensity score methods with multilevel time series data
I wanted to understand whether it would be feasible to use propensity score matching/weighting/stratification on my data. I'm investigating a region of the world where a number of countries joined an ...
2
votes
1
answer
251
views
How to determine if the results to a multiple choice question was statistically significant
I did a survey and had 41 people answer a multiple choice question, where they could only pick one answer. The frequencies included:
$A = 25$
$B = 12$
$C = 4$
$n = 41$
I want to know if there is a ...
2
votes
0
answers
45
views
Is it possible to analyse the components of a composite score with a specific formula in a multivariate linear mixed model analysis?
My goal is to analyze sex differences over time in a composite score that consists of 4 components (C1-C4) using a linear mixed model analysis. The secondary analysis includes sex differences over ...
2
votes
1
answer
128
views
Correct inference on hierarchical data
I am doing an experiment on cell cultures comparing how some treatments affect the parameter of the cells. I have 3 replicates of the culture for each treatment, and in each culture, I measure the ...
2
votes
0
answers
2k
views
Power analysis and sample size for multilevel modeling growth curve (repeated measures)
I am aware that there are some useful threads already on free software for calculating sample sizes (see here). However I couldn't find anything specific to cross-classified MLM and repeated measures.
...
2
votes
0
answers
117
views
separate models vs joint model
My goal is to estimate the association between children BMI and distance to the nearest fast food restaurants. The hypothesis is that children BMI increases with increasing proximity of fast food ...
2
votes
0
answers
141
views
Is the term “latent effect” in statistics has the same meaning as “latent variable”?
Is the term “latent effect” in statistics has the same meaning as “latent variable”? If not, then what would be its substantive interpretation?
UPDATE:
There is a whole class of models called “Latent ...
2
votes
0
answers
404
views
Multilevel/ Mixed Model / HLM Centering Interactions Level 1 and Level 2 Cross-Level
I am having some trouble with the literature on the correct model specification for my question.
Here is the setup:
I have a multilevel model with a variety of variables at level 1 and a single level ...
2
votes
0
answers
26
views
Using multilevel modeling to test differences in the ability of trait and state measures to predict outcomes
I'm currently trying to test whether trait is better at predicting overall/mean job performance than state anxiety and whether state anxiety is better at predicting daily job performance than trait ...
2
votes
0
answers
62
views
How to distinguish between measurement error and within-person variability in multilevel modeling/HLM
I'm currently running a model to determine if people vary in their daily levels of variable Y, and if daily levels of variable X predict daily levels of variable Y. I collected measurements of both X ...
2
votes
0
answers
29
views
How to study the impact of time in a mixed-factorial design?
I ran a study to compare 2 different computer interfaces (say A and B) meant to be used in an unfamiliar environment.
I want to compare:
How much effort participants took to complete a certain task ...
2
votes
0
answers
153
views
Does it make sense for a hierarchical regression model to use the same top-level factor in more than one hierarchy?
I’m creating a hierarchical model to predict student course grades in a given term based on a combination of student, course, and instructor characteristics. I'd also like to make inferences about ...
2
votes
0
answers
553
views
Linearity Assumption - What is the difference between the "Deviation from Linearity" and "Linearity" Statistic in SPSS?
I'm trying to assess whether a variable has a linear relationship to a DV. However there is a weak relationship, so assessing the scatterplot for linearity is quite difficult.
I came across this ...
2
votes
0
answers
90
views
Generalized estimating equation (GEE) for multilevel data
Can Generalized estimating equation (GEE) handle multilevel data? and how?
2
votes
0
answers
170
views
Meta-analysis in R: multiple effect sizes with unknown correlation
I'm working on a meta-analysis with multiple effect sizes reported in most studies. My effect sizes are SMD between two groups (health/ disease) and the reason there is multiple effect sizes per study ...
2
votes
1
answer
344
views
Recurrent event analysis: What approach to choose?
I am trying to examine if the interval between recurrent suicide episodes becomes shorter over the course of repeated incidents. My data is in long format with each participant occupying multiple rows ...
2
votes
0
answers
30
views
is ok to use the same variable in two hierarchies?
I have a dataset with two levels: the city level and person level, at the city level i have the categorical variable "poverty level", in my research estimating the effect of the "...
2
votes
1
answer
42
views
Can I improve linear model coefficient estimates using group information without working it into model?
I am fitting a linear model in order to predict future observations. The training data consists of about 1000 observations. Each observation comes from one of 10 individuals, which means I have about ...
2
votes
0
answers
741
views
Multilevel CFA in R (lavaan); Error: No variance within some clusters
I am running a multilevel CFA in R package lavaan (following the process by Dyer, Hanges, & Hall, 2005). I was able to run an individual-level CFA, and examine both the within group covariance ...
2
votes
0
answers
119
views
QQ plot for multilevel logistic regression
I'm running the multilevel logistic regression, and I hope to create a diagnostic plot for the model.But I found the previous qqnorm() function isn't available for multilevel logistic regression. So I ...
2
votes
0
answers
18
views
How do I make a mixed model in SPSS when treatment is intertwined with subgroups?
I'm experiencing difficulties with running a mixed model in SPSS (version 26).
My experiment is a 2x2 factorial design in which we provide light and/or larvae to chickens. I have individual (...
2
votes
1
answer
278
views
Analysing multiple-choice question with multiple answers
I recently ran an experiment with 4 conditions where participants got a multiple choice task to select words best describing a subjective sensation. Now I'm struggling to figure out which analytical ...
2
votes
0
answers
28
views
Multi-Level Modelling in Metanalysis where effect size is in percentage
I was wondering if someone can help. I have a meta-analysis where I have 5 outcomes and 10 included studies. The studies are classic prevalence/ epidemiological studies, so not 2 groups. I want to ...
2
votes
1
answer
560
views
Analysis of complex survey data with more than one sampling design
I am trying to conduct an analysis of complex survey data from The Survey of Health, Ageing and Retirement in Europe (SHARE) using either the R "survey" package or SPSS Complex Samples. The ...
2
votes
0
answers
167
views
Regression for hierarchical time series
I have a dataset with time series A, B and C from different countries. These time series have different starting points, missing values, and irregular intervals (only weekdays).
Instead of forecasting,...
2
votes
1
answer
194
views
Partial eta squared calculation with multiple imputation data
I have 10 multiple imputation datasets ($N = 97$, two groups) and am running ANCOVA (controlling for pre-test values) to look at post-test group differences. Working in SPSS and can't really invest ...
2
votes
0
answers
58
views
What type of variable can be level-2 variable? Does higher ICC indicate better multilevel model?
I am working on a dataset that has 27 countries, and I would like to investigate how does individual economic status influences well-being.
Well-being was measured by WHO-Five well-being Index (WHO-5)....
2
votes
0
answers
80
views
Predicted treatment effect for causally related conditions
Let's say there are two medical conditions $A$ and $B$ that are causally-related, i.e. that they share a common etiological process $C$. For example, $A$ and $B$ could be related autoimmune conditions ...
2
votes
1
answer
165
views
Appropriate model choice for analyzing many repeated measurements in the context of a parallel arm randomized controlled trial
Background
I am conducting a parallel-arm randomized controlled trial comparing Treatment A against a Control.
Each week for 10 weeks I measure anxiety in each group each week (giving a total of 10 ...
2
votes
0
answers
97
views
Simulate autocorrelated variable based on data in R
I am trying to simulate data for a longitudinal multilevel model. Let's say I want to simulate 4 observations of random variable X for N persons - how would I do that assuming autocorrelation of X to ...
2
votes
0
answers
57
views
Distinguishing between a predictor's between and within contributions
Suppose $X$ is a continuous predictor that can vary between studies and outcomes in a 3-level linear mixed model like:
...
2
votes
1
answer
240
views
SPSS, how do I interpret statistical power for one sample t test and independent samples t test?
I did my one sample t test twice (I have two sample sizes from a survey administered (one was in one language and the other was in another language) and compared the respective means to an established ...
2
votes
1
answer
119
views
I need help on choosing the correct t test for my data, I am debating whether to use a one sample, independent samples, or both. Please help?
I have two sample sizes of data from a survey (one has 41 replies and the other 12) and I am comparing the mean results (i.e. mean of the 41 sample size to a mean of 60 and the mean of the 12 sample ...
2
votes
0
answers
1k
views
Statsmodels MixedLM - How to get group coefficients?
I recently switched from using Pymer4 to Statsmodels. I am working with a random intercept model, and I need to get the conditional coefficients estimated for each group (i.e., random + fixed effects) ...
2
votes
0
answers
3k
views
sjPlot's tab_model() and summary() function give different results in multilevel model
I'm a little puzzled because this has never happened to me before when using the tab_model function - I'm writing up the results for a paper, and when I use tab_model() from the sjPlot package (to ...
2
votes
0
answers
535
views
In a multi-level meta-analysis, are moderator variables random or fixed effects?
I am conducting a multi-level, mixed-effects meta-analysis where effect sizes are clustered within studies. In the R package metafor, I specify my model like this:
<...