Trying to replicate between-within rmanova in R

Discuss statistics related things
Post Reply
bknakker
Posts: 3
Joined: Mon Nov 13, 2017 2:04 pm

Trying to replicate between-within rmanova in R

Post by bknakker »

Dear jamovi developers,

I'm trying to replicate a repeated measures anova with 2 within and 1 between variable. My purpose is to work onwards with a model object of some kind, e.g. experiment with multcomp::glht(). I'm doing kind of fine using only the within vars, but I could not get even close to the stats seen in jamovi with the between var in the model. How are these models internally implemented in jamovi?

Thanks in advance,
Balázs Knakker
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: Trying to replicate between-within rmanova in R

Post by Ravi »

Hi Balázs,

We use afex to run these models: https://github.com/jamovi/jmv/blob/c3e3 ... rm.b.R#L41. Can you give me a reproducible example where the two don't match?

Cheers,
Ravi
bknakker
Posts: 3
Joined: Mon Nov 13, 2017 2:04 pm

Re: Trying to replicate between-within rmanova in R

Post by bknakker »

Hi Ravi,

Thank you for the answer, unfortunately I failed to find afex before you pointed me to it. If I ever bump into any inconsistencies I will post it here.

Cheers,
Balázs
Post Reply