Questions tagged [nested-data]
Refers to nested experimental design, nested random effects in mixed models, nested factors in ANOVA.
353
questions
0
votes
0
answers
3
views
How to group participants with nested variables (divisive clustering analysis)
Thanks in advance for the help!
Our goal is to generate groups of participants based on their vowel systems. Their vowel systems contain two nested variables:
The vowel class themselves (of which ...
0
votes
0
answers
8
views
Analyzing data from a mixed experiment (nested or crossed?)
I am trying to analyze data from an experiment where my collaborators and I were interested in whether tweets about risk can influence people's risk perception (a continuous dependent variable). We ...
0
votes
1
answer
12
views
Ideas for binomial generalized linear mixed model with both phylogeny and random intercepts?
I've been struggling to find a description of an approach to a situation like mine or any R packages that seem capable of handling my needs. I have a large dataset (~80,000 rows) where my dependent ...
0
votes
0
answers
8
views
Not sure how to define effects in MEM in R
I have looked through all the online material about fixed vs random effects, and I have not been able to make head or tail of most of that which I have read. I am not a statistician, and unfortunately,...
0
votes
0
answers
31
views
Interpreting multilevel random effects in R
I am conducting analyses on simple multilevel modeling.
I have two data points that participants responded (within-person), and have conducted a simple multilevel model as the data points are nested ...
1
vote
1
answer
23
views
Experimental design with two factorial treatment and blocks of the treatment combination
I am going to do an experiment with planting seeds involving 2 factorial treatments. There are 4 families of seeds: F1, F2, F3, F4 and 3 foliar seed treatments: T1, T2, T3. There will be 160 seeds for ...
0
votes
0
answers
41
views
Setting up a random effect for repeated measurement AND block and maybe an additional nested factor for a factorial binomial GLMM in R (glmmTMB)
It's about a logistic GLMM to account for repeated measurements, blocks (think about 'spatial' independent observations) and a nested factor. How should my random term look like??? Complex things need ...
0
votes
0
answers
24
views
GLM with negative binomial distribution with nested count data
Is it possible to perform a Generalized Linear Model with negative binomial distribution and log link function with nested count data as dependent variable?
My dependent variable is number of ...
0
votes
0
answers
24
views
Degrees of freedom for Two Stage Sampling when sample sizes are small
I am having difficulty to find information to determine the degrees of freedom (t-distribution) to produce a confidence interval for the estimated variance of the mean in a Two Stage Sample (SRSWOR) ...
2
votes
0
answers
34
views
Whats the model of this experiment
$36$ blood samples are collected at random from a blood bank and $6$ samples are sent to $6$ laboratories for studies. The assignment of each sample to each laboratory is random.
A friend of mine told ...
0
votes
0
answers
30
views
How to predict a class from a nested data
I have a very complicated data and I would like to know if it is possible to use machine learning model for prediction or not.
Let me explain about data: The data is a nested list that each list has ...
3
votes
1
answer
63
views
How to deal with nestedness of fixed factors in a linear mixed effects model (lmer in lme4)?
I am new to analyzing complex datasets using mixed models in R, so please forgive me if I am asking something very basic.
I'm currently trying to write a linear mixed model using the ...
1
vote
0
answers
21
views
Colinear nested variables and hypothesis testing for higher-level variable in non-randomized experiments
We have a study setup for testing a new learning treatment, which basically looks like this:
We have 4 tracks (same university course taught by different lecturers). In two of these tracks, the ...
0
votes
0
answers
21
views
Factor Scores from EFA for nested data
I have a dataset where ~100 participants rated 25 different items along multiple dimensions (around ~15). The items each participant rated are random subsets from a larger total list of items (80). I ...
1
vote
0
answers
54
views
Identifying random effects structure to simulate dataset - lmer
I am trying to simulate a dataset based on an existing study.
60 participants completed the experiment twice. Each time, they were randomly assigned to either condition A or condition B. The condition ...
3
votes
2
answers
72
views
Multilevel regression question: can you use level 2 variable as a predictor variable?
I was just reading a paper in the field of education and there was a part I couldn't comprehend.
The author did a multilevel regression analysis with the data which was nested in a school level.
So ...
0
votes
0
answers
14
views
Title: Three questions about adding predictors to the highest level of a cross classified model
I’m working with a dataset that has a very complicated nesting structure. Unfortunately, because it is privacy sensitive I cannot provide a reproducible example so I will do my best to explain the ...
1
vote
0
answers
13
views
Crossed effects without all combinations
There are a number of posts on Cross Validated explaining the difference between nested and crossed random-effects. In this example, it is noted that all feasible random effects categories are linked ...
0
votes
0
answers
7
views
Mixed effect model with repeated/longitudinal measures not balanced in R, error
I am trying to fit a model for repeated/longitudinal measures in R but I always get the message "Error: number of observations (=218) <= number of random effects (=280)".
I have two ...
1
vote
0
answers
45
views
How to specify nested random effects in a model with nested fixed effects
I have an experiment predicting $y$ from the interaction of two two-level categorical independent variables, $x$ and $z$. (My actual design is more complicated, but I'm simplifying here to get at the ...
0
votes
0
answers
22
views
How to summarise outputs of simulation with nested design
This question is about how best to represent my data in a publication using descriptive statistics.
I have the results of a simulation with a nested design as follows:
Where ...
1
vote
1
answer
84
views
lme4 mixed model analysis based on sum of count data
I have a dataset with pupils (1000+) that are nested within school classes (100+). Pupils were either in group1 or group2 (different treatments) and had two measurement time points (time0, time2). The ...
1
vote
0
answers
29
views
cannot reproduce the example for nested anova
I'm working on the example for nested ANOVA from the Handbook of Biological Statistics. Copy-pasteable data can be found at https://www.biostathandbook.com/nestedanova.html and below shows my ...
2
votes
0
answers
21
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 ...
0
votes
0
answers
47
views
Dealing with lower- and upper-bound truncated data with Tweedie distribution through glmmTMB
I'm working with intensive longitudinal data with observations nested within persons via glmmTMB with a random effect of person. My outcome is negative emotion, which was computed by taking the mean ...
0
votes
0
answers
50
views
3-way ANOVA or mixed effect model with two fixed effects and one random effect
I would like to investigate if the health status of seagrass meadows differs in different sites with different anthropogenic pressures (conditions). For that I collected 7 samples per block (random ...
0
votes
0
answers
34
views
Are my models nested or non-nested? Using a latent class analysis
I have two separate models. Both models use the same variables, but different response formats (e.g. one is binary and the other uses three responses). Is this nested or non-nested?
0
votes
0
answers
61
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) ...
0
votes
1
answer
28
views
diference between nested and crossed random effects within my study [duplicate]
dear. How are you. There is long since I have been trying to solve a doubt about diference between nested and crossed random effects within my study. So I am here to ask and seek for some information. ...
0
votes
0
answers
46
views
ANOVA: crossed or nested
I wish to run a factorial design of experiment (DoE) to investigate the effect sizes of many factors. In my opinion the evaluation of the data depends on what I am comfortable to assume. If I am ...
0
votes
0
answers
44
views
Correctly specifying nested random effects and fixed effects with the same variable: how do I specify without running in convergence issues in lmer?
This question is a follow-up question on nested random effects and fixed effects in lmer from the following answer.
https://stats.stackexchange.com/a/228814/257284
...
0
votes
0
answers
6
views
Options for investigating hierarchical covariance structures
In many distinct contexts in biology, one covariance structure will emerge in a dataset of some kind if another covariance structure is present.
As an example, we may consider proteins produced by ...
0
votes
0
answers
34
views
Field study with subsampling but no replication of treatment
I keep running into the same type of analysis problem with large-scale field studies where researchers apply treatments (e.g., pesticides) to experimental plots, with one plot per each treatment and ...
0
votes
0
answers
154
views
Mixed model from SPSS doesn't produce same results in R? Am I miscoding something?
TL/DR: I'm trying to convert a model from SPSS to R and I'm getting different results (Estimates of Fixed Effects), and I haven't been able to figure out what I'm doing wrong. Syntax, code, and ...
2
votes
1
answer
75
views
Are my random effects nested or crossed?
I am using the R package lme4 to build a mixed-effects model. My data is set up in the following way:
...
0
votes
1
answer
16
views
Nested random effects for testing individual choices when choices are made in a group
I'm planning an experiment where individuals' choices will be measured. I want to test individuals' choices before and after an intervention. The problem is the individuals are in groups and cannot be ...
1
vote
1
answer
177
views
Repeated measures with nested data in R
Previously, I conducted a model like the following. I have repeated measures (Time factor: pre-post) of depressive mood in two different groups (Group factor: neutral and experimental). Each ...
0
votes
0
answers
36
views
What to use for nested subjects with repeated measures, ANCOVA or LME or even SEM?
I have a dataset like:
I grouped the subjects based on their initial depressive mood (first step (pre-treatment) of repeated measures level) as 1 low, 2 high.
I have two conditions (1 control, 2 ...
0
votes
0
answers
67
views
Non-orthogonal Nested ANOVA
I am running a nested statistical analysis of variance on a field study I preformed. Unfortunately due to the conditions of the field it is non-orthogonal nested design where the number of sub-factors ...
2
votes
0
answers
11
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 (...
1
vote
1
answer
625
views
Grouped/Nested data in logistic regression
Update:
Added more meaningful example data
Setting:
In my study, each of three randomly chosen readers (A, B,...
0
votes
0
answers
39
views
Make predictions (classification) with nested? data
The goal of this small project is the predict one week in advance whether this athlete is sustaining an injury (binary classification).
The data I have is questionnaire data from 29 athletes, with ...
1
vote
3
answers
132
views
Feature not applicable to some samples
I am working with a private medical dataset including categorical features coming from patients examinations.
However, the problem is that some patients underwent MRI, others scanner, and some ...
2
votes
0
answers
168
views
How to specify my permutation scheme?
I am studying the biofilm microbiome of mountain lakes and plan to use PERMANOVA with adonis2 to assess the importance of some grouping variables (e.g. lakes with introduced fish vs. lakes without ...
0
votes
0
answers
76
views
How to choose the right analysis for a partially nested design?
I am not even sure if it is appropriate to call this scenario a partially nested design, but I settled for it for lack of a better term.
My design is similar to the following in terms of its overall ...
1
vote
0
answers
34
views
Machine learning (CNN) - What questions can I answer while violating assumption of independence?
Introduction to the experiment and data type:
Suppose that I have 20 or so participants exposed to visual stimuli in several trials in two different conditions: Simple, and Complex, of 3 flavors each. ...
1
vote
0
answers
97
views
What is the correct nesting structure for calculating the Inter-rater reliability or intra class correlation (ICC) with multiple raters?
I need to figure out which inter-rater reliability for multiple raters I should calculate. I'm trying to figure out how I should nest or structure certain observations within my dataset in order to ...
3
votes
1
answer
818
views
Mixed effects model for longitudinal data with nested random effects?
I have three groups, one control, a low dose treatment, and a high dose treatment.
These groups are composed of 6 subjects nested in each group, for a total of 18 subjects.
Each of these 18 subjects ...
0
votes
0
answers
13
views
Differences between nested ANOVA and two-way ANOVA, without a repeated measures structure and a small number of levels per factor
My question is rather simple, and it's not so much about R, but about how to analyse a very simple dataset. I have 6 sites, and 2 ecosystem type (3 sites per ecosystem). From each site I have 3 ...
1
vote
1
answer
354
views
How to calculate sample size for a biomarker discovery nested case-control study (approach by M. Pepe)?
I'm about to design a nested case-control study in which I will try to identify a biomarker (or biomarker panel) from protein expression levels (determined with mass spectronomy).
I've got a cohort of ...