Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Jan's user avatar
  • 31
0 votes
2 answers
2k views

Repeated-measures ANOVA looking at interactions for a BACI design in R

Here are my data: ...
Billy's user avatar
  • 1
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: ...
Alex's user avatar
  • 467
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 ...
user20881's user avatar
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 ...
Maebh's user avatar
  • 31
3 votes
0 answers
617 views

How to correctly specify nesting for lme formula

My data: ...
Lorain's user avatar
  • 111
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 ...
Eric Marsh's user avatar
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 ...
Nikita Kuznetsov's user avatar
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 ...
Blain Waan's user avatar
  • 3,625
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 ...
d-cubed's user avatar
  • 255
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 ...
Laura's user avatar
  • 71
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. ...
Cristina Tarahumara's user avatar
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 ...
Wynn's user avatar
  • 283
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 ...
Anthony's user avatar
  • 21
11 votes
1 answer
7k views

Questions about specifying linear mixed models in R for repeated measures data with additional nesting structure

Data Structure ...
Cel's user avatar
  • 275
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 ...
Ian's user avatar
  • 361
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 ...
jokel's user avatar
  • 2,793
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 ...
Henrik's user avatar
  • 14.4k
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 ...
Henrik's user avatar
  • 14.4k
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 ...
bluepole's user avatar
  • 2,769
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 ...
jzadra's user avatar
  • 172
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 ...
bluepole's user avatar
  • 2,769
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 ...
Henrik's user avatar
  • 14.4k
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 ...
mark999's user avatar
  • 3,298
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 ...
MEL's user avatar
  • 295
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 ...
Matt's user avatar
  • 741
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 ...
biostat_newbie's user avatar

1
4 5 6 7
8