jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
59 stars 29 forks source link

Error in the three-way Bayesian repeated measures ANOVA: undefined columns selected #982

Closed mengsili closed 9 months ago

mengsili commented 4 years ago

I noticed there was one similar issue reported one year ago.

506 (comment)

Steps to reproduce:

  1. Go to 'Bayesian Repeated Measures ANOVA'
  2. Specify three Repeated Measures Factors "IT" (4 levels: IT1, IT2, IT3, IT4), Region (4 levels: F, C, P, O), & Hemisphere (L, M, R)
  3. Insert the variables respectively into 'Repeated Measures Cells'. It should already be in order.
  4. Click on "descriptives" or post-hoc tests.
  5. See error

FN400.zip

bentoovey commented 4 years ago

I had this same error and signed up to reply here. I don't have a code fix, but it seems to be related to the length of your factor names/level names that you write in the cells.

For example, if i set my 2x2 factor names as "t" and "c" instead of "task" and "category", then the descriptive output fails. With longer names ("tas" and "cat", for example), the descriptives are output correctly.

JohnnyDoorn commented 4 years ago

Hi @Lumossssss and @bentoovey ,

Yes, unfortunately we are still working on a functional way to internally handle factor level names in a way that makes everything work. This means that some names for levels will cause crashes. In the meantime, I can recommend bentoovey's advice, and make the level names a bit longer. Our apologies for this confusion.

Kind regards Johnny

mengsili commented 4 years ago

@JohnnyDoorn @bentoovey Thanks Johnny & bentoovey. I will try renaming the factors.

tomtomme commented 10 months ago

I downloaded the file and renamed the factors to at least 3 characters. This still does not solve the problem with 0.18.3. There is no crash, but the progress bar does not move - the computation never finishes.

JohnnyDoorn commented 9 months ago

Hmm yes this seems to be a different issue, and I can replicate it (it happens with both short and long level names). There are also not so many data points, or model terms, so I am not sure what is going on here.. @boutinb or @vandenman do you have an idea? edit: OK I take it back, it's a 3x4x4 within design, so maybe it just takes reeeaaaally long? edit2: Yes, it's just really slow - will close the issue.

image