All Questions
Tagged with lme4-nlme repeated-measures
377 questions
3
votes
1
answer
478
views
Lmer model design
My data is a series of repeated measures in time (14 measures). I am trying to model the variable HbA1c which is a blood test performed at each visit to measure the ...
0
votes
2
answers
2k
views
Repeated-measures ANOVA looking at interactions for a BACI design in R
Here are my data:
...
5
votes
0
answers
2k
views
When using repeated-measures ANOVA in R, what does it mean to specify Error(subject) instead of Error(subject/(A*B))?
For a two-way repeated measures design, we can specify the model using aov in the following fashion:
...
2
votes
0
answers
2k
views
How to construct GLMM model for repeated measures with binary responses with lmer
In my experiment I assigned subjects to one of the 3 treatments A, B or C. Within each treatment, a single subject was tested with two models sequentially. The test sequence was randomized. The ...
2
votes
2
answers
9k
views
Linear mixed model with lme - time as fixed categorical variable and random slope?
I´m still new to statistical modeling and quite confused about how I should correctly specify my model.
I have 3 crossed categorical treatments - stress, infection and food. Each individual was ...
3
votes
0
answers
617
views
How to correctly specify nesting for lme formula
My data:
...
2
votes
1
answer
10k
views
How to assign degrees of freedom for two-way ANOVA with two within-subjects factors?
I have an experiment with 44 subjects and two within-subject factors, condition (3 levels) and round (6 levels). It is fully crossed such that each person completes one of each task condition in each ...
9
votes
2
answers
6k
views
How to deal with repeated measurements in the same condition of a factorial experiment?
I am in Psychology and trying to explore the utility of mixed modeling for analyzing my repeated-measures data in a factorial experiment. The primary reason for using mixed models is that I would like ...
2
votes
0
answers
687
views
Use of nlme for mixed models of repeated measures with two classifying factors and a covariate
Suppose we have a mixed model for repeated measures with response being $y$ and a covariate being $x$(say, age). There are two classification factors $a$ and $b$. Say, 5 psychological patients($a$) in ...
6
votes
0
answers
853
views
simple repeated measures syntax - lme vs. lmer [duplicate]
I'm trying to look for significant effects on "similarity" (of "isinpair" and controlling for time effects) using repeated measures with an in group sample. The intervention "isinpair" occurs after a ...
7
votes
1
answer
8k
views
Using lme to analyse a complete randomized block design with repeated measures: Is my model correct?
I've got a completely randomized block design with three treatments and four replications. Biodiversity was measured in four successive years.
I figured that a mixed model with repeated measures as ...
4
votes
0
answers
400
views
Linear mixed effects vs. Repeated Measures
I have 46 replicate trees I sampled in a 2 year study.
My objective is: To estimate the proportion of variation among-trees w/in year, and proportion variation due to among year and tree interaction.
...
8
votes
3
answers
2k
views
How to examine interactions between factor and covariate in a mixed effects model?
I have 2 factors A and B (5×3) and one covariate X in a within subject design. Here's ...
2
votes
0
answers
1k
views
Split plot design with repeated measures in package (nlme) - model errors
Forgive me if this answer is already somewhere on this site, but after extensive searching I have found nothing to help me. Here is a brief overview of the experiment:
I have 18 tanks, each of which ...
11
votes
1
answer
7k
views
13
votes
1
answer
7k
views
How do I fit a nonlinear mixed effects model for repeated measures data using nlmer()?
I am trying to analyze repeated measures data and am struggling to make it work in R. My data is essentially the following, I have two treatment groups. Every ...
30
votes
5
answers
26k
views
Example reports for mixed-model analysis using lmer in biology, psychology and medicine?
As the general consensus seems to be to use mixed-models via lmer() in R instead of classical ANOVA (for the often cited reasons, like unbalanced designs, crossed ...
4
votes
1
answer
2k
views
How to analyze this dataset with 2 between-, two within- factors using lme4?
This post is a follow up on my previous post (which was interested in lme) and uses the same dataset. Now I would like to know how to analyze it using ...
7
votes
1
answer
8k
views
Is there a way to specify a lme model with more than one within-subjects factor?
The data
Suppose we have a dataset d with two between-subject factors (i.e., groups), group and ...
23
votes
2
answers
18k
views
Paired t-test as a special case of linear mixed-effect modeling
We know that a paired t-test is just a special case of one-way repeated-measures (or within-subject) ANOVA as well as linear mixed-effect model, which can be demonstrated with lme() function the nlme ...
7
votes
1
answer
2k
views
Mixed model with repeated measures and both of two treatments with lme or lmer in R
I know just enough about lme() and lmer() to get myself by with simple models, and to get myself into trouble with more complex ...
8
votes
1
answer
1k
views
Covariate modeling with a within-subject factor
A researcher collected some data of a response/outcome variable Y from, for example, 20 subjects. In addition to an explanatory (within-subject or repeated-measures) variable A (a factor with two ...
26
votes
2
answers
23k
views
Why do lme and aov return different results for repeated measures ANOVA in R?
I am trying to move from using the ez package to lme for repeated measures ANOVA (as I hope I will be able to use custom ...
24
votes
2
answers
39k
views
Repeated measures ANOVA with lme/lmer in R for two within-subject factors
I'm trying to use lme from the nlme package to replicate results from aov for repeated ...
1
vote
2
answers
478
views
Check of R command and output of unbalanced repeated measures ANOVA
I'd love a check if anyone is willing!
I am trying to see if there is a statistical difference in female size between sites. Over the years females were repeatedly sampled within sites. I have ...
7
votes
3
answers
7k
views
How do I setup up repeated measures data for analysis with nlme()?
I'm trying to transition to R from using SPSS. In the past, I've setup my data in the wide format for my repeated measures ...
18
votes
1
answer
18k
views
Unbalanced mixed effect ANOVA for repeated measures
I have data from patients treated with 2 different kinds of treatments during surgery.
I need to analyze its effect on heart rate.
The heart rate measurement is taken every 15 minutes.
Given that ...