1
vote
0answers
13 views

Pre-stimulus baseline removal in R

I have the following scenario: trials were conducted where participants were exposed to multiple stimuli during the course of a trial a specific physiological response was continuously recorded ...
0
votes
0answers
12 views

Proportional data with multiple responses

I am trying to analyze a data set in which the response variable is a proportion that can range from 0-1 (inclusive). This response was measured from the same individuals under four different ...
0
votes
0answers
19 views

How Can I Simulate Repeated Significance Testing in R

I work in marketing, frequently running A/B tests on websites to determine which variation is best to serve to site visitors. I would like to be able to run a simulation that highlights the perils of ...
4
votes
1answer
76 views

R gls() vs. SAS proc mixed with interaction: Why does R complain about a singular matrix when SAS does not?

I like to keep analyses all in SAS or all in R when I can help it and lately have been using R more and more, but there's one analysis that I do somewhat routinely that has given me trouble in R. I ...
0
votes
0answers
55 views

testing differences between levels of a factor in a linear mixed model

I'm trying to wrap my head around using a linear mixed model and appropriate post-hoc tests to determine if there is a significant difference between various treatments in an experiment I inherited. ...
0
votes
0answers
35 views

Repeated measures logistic regression

I have a dataset that features a binary outcome, a binary predictor, and an unordered factor with 7 levels, and 120 subjects. Each of the 120 subjects were asked a binary question on seven issues, ...
0
votes
0answers
28 views

ANOVA in lmerTest for in-between study with repeated measurements

I have a bit of trouble understanding how to formulate a correct formula in R using the lmerTest-library. Let’s assume there is an 2x2 in-between design with repeated measurements. Those repeated ...
6
votes
2answers
163 views

R lme4: how to apply binomial GLM to percentages rather than yes-no counts

I have a repeated-measures experiment where the dependent variable is a percentage, and I have multiple factors as independent variables. I'd like to use glmer from ...
6
votes
2answers
278 views

How to compare measurements and uncertainties made with different measuring instruments?

I have two different measuring instruments, A and B, both measure the same physical property $x$ of an object but with different "quality": B gives measurements with a known uncertainty while I do not ...
3
votes
0answers
75 views

Simulation for power analysis for higher order repeated measures ANOVA

I am attempting to find a way to perform a power analysis for a higher order repeated measures ANOVA where all factors are within-subjects (i.e., there are no between-subjects factors). I have looked ...
2
votes
1answer
71 views

McNemar's test for $3 \times 2$ data

I adopt a within-group experiment, such that the same participant uses 3 devices to perform a task, which has a result "pass" or fail. My data looks like this: ...
1
vote
1answer
54 views

How to test whether the effects of predictors on one DV explains their effects on another in a mixed ANOVA in R

I have data from a psychology experiment in which instructional method was manipulated between subjects via two factors: pretraining (3 levels) and training (2 levels). I assessed participants' ...
2
votes
1answer
63 views

Multi-Level Model with two scores per level 2 unit - reasonable analysis?

I have an experimental design with attitudes toward one positive and one negative stimulus nested within individuals. I also have a continuous predictor at the person level (a personality construct). ...
2
votes
1answer
102 views

How to specify mixed ANOVA with multiple repeated measures and covariate in R

Working in R, how can I specify a mixed ANOVA with multiple between- and within-subjects factors in such a way that it's amenable to adding a covariate in a subsequent analysis? Also, ideally, I would ...
4
votes
1answer
206 views

Unable to fit repeated measures in R

I've been trying to fit a repeated measures model in R using lmer but I get an error message. I've used SAS in the past and I was able to fit a somewhat similar ...
0
votes
0answers
67 views

Group-Time interaction from MANOVA in R?

I'm practicing MANOVA with R. I have a data (perhaps famous) called 'rat-weight data.' ...
1
vote
1answer
169 views

Power analysis of repeated measures ANOVA using simulation in R?

I would appreciate another opinion on this simulation approach to estimating power for a within-subjects (or repeated-measures) ANOVA; in this case a 2x2 factorial design. In other words, is there ...
0
votes
0answers
108 views

Running a Tukey's test on a repeated measures ANOVA in R

I've come across several posts dealing with post hoc tests of Repeated Measurs ANOVA. I came up with the below code in R to attempt this, but considering some of the posts on this subject I wanted to ...
0
votes
1answer
122 views

Specifying contrasts for lme in 3x3 repeated-measures design

I would like to test the effects of two categorical variables, each with 3 levels, on some continuous data. Three groups of participants completed the same task for 3 types of stimuli, so it's a 3x3 ...
0
votes
2answers
68 views

Repeated Measures GLM / restricted permutations

I have a question regarding repeated measures and GLMs: Suppose i have counted the abundance of some species in lakes at different time points - every lake received a different treatment at time = 0. ...
0
votes
2answers
92 views

Interpretation of p-value for one-way ANOVA and two-way ANOVA

We are currently handling some results and performing some ANOVA tests on human search performance in virtual environments using different sound systems for audio rendering. We measure the time it ...
3
votes
2answers
154 views

How to deal with unbalanced group sizes in mixed design analysis?

I have 2 x 2 x 2 mixed design with two between subject factors (sex, organizer) and one within subjects factor (task). The group sizes of the 'sex'-factor is unequal. When I perform a factorial ...
0
votes
0answers
41 views

Contrasts for one factor in a repeated-measures ANOVA

I am trying to set custom orthogonal contrasts for a repeated-measures design using R. Is it possible to set contrasts just for one factor? The model looks like this: ...
3
votes
0answers
94 views

Analysis of longitudinal data with very few points

I'm trying to analyse some data I've recently gotten my hands on, but I'm not entirely sure which model to use. One suggestion has been a Mixed Model, Repeated Measurements ANOVA, but I'm not sure if ...
0
votes
0answers
283 views

How to do mixed logistic regression with multiple repeated measures in R?

I have data from a psychology experiment in which participants were assigned to one of 3 training conditions and then gave responses for 16 trials for each combination of two within-subjects factors, ...
1
vote
0answers
46 views

Predictive model from ordinal panel data

Here's a hypothetical problem analogous to one that I am having trouble with: Prostate cancer biopsies are scored according to Gleason pattern (0-10). The scale is ordinal. Over 7 warrants surgery. ...
1
vote
0answers
77 views

Repeated-measures multiple regression that takes care of sphericity in R

I'm looking for a way to run a repeated-measures multiple regression in R, which would take care of sphericity - either by applying some corrections (such as Huynh-Feldt), or by avoiding the problem ...
0
votes
0answers
76 views

Repeated measurement analysis advice in R lme and / or aov and a couple of more questions

I want to analyse the visual performance, operationalized via contrast threshold, depending on adaptation luminance and spectrum, gathered for 29 subjects. I'm currently kind of confused of how to do ...
2
votes
1answer
161 views

How can I look for a correlation between dependent variables in a repeated-measures/within-subjects design?

I have a 2x3 within-subjects design, with two different dependent variables (DVs). I would like to know if the two DVs are correlated or not. Here is an example of what the data look like, e.g. a ...
3
votes
1answer
104 views

Repeated Measures ANOVA interpretation with specified Error () in R

I'm struggling with interpreting the output from R for a two-way repeated measures ANOVA. I used ...
1
vote
0answers
70 views

What statistical test is appropriate for correlations within repeated measures?

We have $N$ individuals measured repeatedly in time. For each individual, at each measurement, we measure the values of two variables: $A$ and $B$. The number of measurements per individual might ...
0
votes
0answers
47 views

Unbalanced repeated measures

I'm new to using R and therefore I have some doubts. I have a data table with measures gland secretion of chickens at two ages different, sometimes we just need a measure therefore is not balanced. ...
0
votes
1answer
163 views

Representing repeated measurements within sample plots in linear mixed effects model in R

I have collected data on gas fluxes from plots of soil subjected to 5 different treatments ("D2", "K2", "M", "N", and "O2"), which also possessed variable clay contents. The experiment was laid out ...
1
vote
0answers
129 views

Repeated measures ANOVA for an experiment with missing values (unbalaced)

I have an experiment where several subjects (subjects={S1,S2,..Sm})were asked to perform a set of tasks (tasks={T1, T2, T3, ..Tn}) using both their left (L) and right (R) arms. Each task for each arm ...
2
votes
0answers
57 views

Analysis of repeated measures when fixed effect changes within-subjects?

I'm helping a colleague with a repeated-measures analysis in which each subject's fixed effect changes over the course of data collection. He's measuring a continuous, positive response variable ...
3
votes
0answers
140 views

Partial $\eta^2$ for repeated measures ANOVA (with R's car package) [closed]

I have a 2-way repeated measures design (3 x 2), and I'd like to get figure out how to calculate effect sizes (partial eta squared). I have a matrix with data in it (called a) like so (repeated ...
2
votes
2answers
154 views

Repeated measures across time, two treatment groups

I'm having difficulty modeling something… I think it's fairly simple, but I'm just not confident enough in my ability. I setup an experiment with two treatment groups, six replicates in each ...
3
votes
0answers
95 views

Help with repeated measures regression (in R)

I have some small datasets (example data given below) where I am interested in describing relationships between $Y_1$ and $Y_2$ across a gradient $X$ at two time points (date = "early" & "late"). ...
6
votes
2answers
280 views

Mixed effects model or mixed design ANOVA in R

I'm wondering if you could quickly advise on the best statistical analysis for my data. I have a designed experiment with 12 plots within one larger area. This area was blocked into 6 to overcome ...
7
votes
1answer
178 views

Finding correlations in longitudinal data analysis

We are doing research on video lecture watching. We offer a course which lasts four 5 weeks, and there are 9 or 10 videos in each week. We organize group-watching activities. A group usually is ...
2
votes
1answer
371 views

ezAnova vs. lme for factorial repeated-measures design: results differ, why?

I have used lme and ezAnova to analyse data from a 2$\times$3 repeated-measures experiment. Theoretically those are two ...
0
votes
0answers
119 views

Within-subject correlation before deciding on correlation structure in GEE

I want to have a look at the correlation coefficient for repeated measures in $x$ number of individuals. This will help me chose which correlation structure will best fit in GEE (Generalized ...
4
votes
0answers
101 views

Post hoc tests for robust mixed design ANOVA using R

Is it possible to compute the function mcp2atm with unequal sample size? I ran the robust Mixed Design ANOVA by using tsplit and ...
4
votes
2answers
775 views

2x2x5 repeated measures ANOVA: significant 3-way interaction

I have 3 within-subject factors, namely offset (1px, ..., 5px), side (left, right) and color ...
1
vote
0answers
266 views

How to write the error term in repeated measures ANOVA in R

My question is very closely related to a previous post Error term in repeated measures ANOVA in R However, I would like to get more insight into how to define the error term. Suppose I have a ...
0
votes
0answers
57 views

Is my random variable affecting my response?

I performed an experiment on coral colonies (10 colonies, randomly chosen in repeated measurements); manipulating aragonite/carbon chemistry and temperature (fixed effect) to analyse effects on the ...
1
vote
0answers
184 views

Repeated Measures in R, SAS or SPSS: Whale Body Temperature Data

I have a question regarding a repeated measures experiment. I have 5 whales (randomly selected) that I recorded body temperature on. Data was collected via satellite, programmed to transmit records at ...
3
votes
0answers
98 views

Repeated measures ANOVA in R for non-orthogonal design

I have data from a two-factor within-subjects experiment design where the conditions are not orthogonal. Factor one (Location) has three levels; factor two (Stimulus) has three levels, one of which is ...
1
vote
0answers
76 views

Specifying a correct full model for an unbalanced repeated measures design in R lme4

Recently, I have done a fairly complex experiment, and I am having trouble coming up with a model that is suitable for the data. I have spent a few days reading about, e.g., when random effects should ...
8
votes
2answers
3k views

Using lmer for repeated-measures linear mixed-effect model

EDIT 2: I originally thought I needed to run a two-factor ANOVA with repeated measures on one factor, but I now think a linear mixed-effect model will work better for my data. I think I nearly know ...