Nan/INF Errors in (3*2) ANOVA

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Bobafett
Posts: 76
Joined: Thu Jul 18, 2019 11:33 am

Nan/INF Errors in (3*2) ANOVA

Post by Bobafett »

Hiya,
I'm using v2.00 of jamovi and have re-ran a (3*2) RM ANOVA for some old data. Everything is fine and coming out as before, but now I notice the post hoc contain two errors. This has worked fine on an older version of jamovi - I can't remember which, but seems to now throw up this issue. Not sure what is the problem?

*edit - I meant a (3*2)
Attachments
(2x2) errors.PNG
(2x2) errors.PNG (30.26 KiB) Viewed 13927 times
Last edited by Bobafett on Mon Sep 27, 2021 10:25 am, edited 2 times in total.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Nan/INF Errors in (2*2) ANOVA

Post by jonathon »

not sure either, we'd need to see the data set.

can you attach it here, or email it through to contact <at> jamovi.org?

with thanks
Bobafett
Posts: 76
Joined: Thu Jul 18, 2019 11:33 am

Re: Nan/INF Errors in (2*2) ANOVA

Post by Bobafett »

Hi Jonathon
Just confirming that I sent you a copy of the file via email earlier this morning.
Cheers!
Bobafett
Posts: 76
Joined: Thu Jul 18, 2019 11:33 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by Bobafett »

Hi Jonathon
Just wondering if you had chance to look at this issue yet?

Cheers
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by jonathon »

hi sorry, we haven't received it. can you resend?

with thanks
Bobafett
Posts: 76
Joined: Thu Jul 18, 2019 11:33 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by Bobafett »

Hi Jonathon,
Sorry - I didn't spot your reply. I've attached the data file here for you.
Attachments
12.2 (3x2) Within ANOVA.omv
(20.99 KiB) Downloaded 390 times
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by jonathon »

hmm, i'm not sure. these results may simply be correct of course.

i'll ask ravi.

jonathon
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by Ravi »

Hi,
Earlier this year we changed the way we calculate the estimated marginal means (on which the post-hoc tests are based) as per recommendation of the author of the package we use to estimate the RM ANOVA: https://cran.r-project.org/web/packages ... ample.html. It now uses a multivariate model in its calculations: https://github.com/jamovi/jmv/commit/a9c8cb0

Cheers,
Ravi
Bobafett
Posts: 76
Joined: Thu Jul 18, 2019 11:33 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by Bobafett »

Hi both,
Thanks for taking a look - I'm still not clear why the new model would create two issues when generating the standard error values for two of the pairwise tests - namely 0 and NaN. The former is unlikely and the latter suggests a problem with the calculation. Admittedly JASP may well use a different formula to calculate SE for these pairwise tests, but nonetheless that program does return definite values for these two pairs (see below). Interestingly they are the same mean differences (albeit one +VE and the other -VE) and have the same SE value - not sure if that might be a clue as to what is happening...?
Attachments
JASP_output.PNG
JASP_output.PNG (22.61 KiB) Viewed 10151 times
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Nan/INF Errors in (3*2) ANOVA

Post by jonathon »

hey,

i wouldn't assume that definite values means that it's correct, or that not-definite answers means it's broken or not working. that heuristic isn't always reliable.

we've implemented this using afex, and we rely on henrik's judgement as to the most correct analysis here. your next step might be to reproduce this result with afex, and then go and ask henrik about it. if it turns out there is an issue here, he'll be the one making the fix.

cheers

jonathon
Post Reply