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: JASP crashes after computing Bayesian Repeated-Measures ANOVA #1454

Closed MartinaFanghella closed 1 year ago

MartinaFanghella commented 3 years ago

Steps to reproduce:

  1. Go to 'Bayesian Repeated Measures ANOVA'
  2. Click on 'Model Terms' and add the following factors (including interactions): Task, Hemisphere, Site, Emotion
  3. Scroll down to 'Specific model terms' and add the same factors including interactions Wait until the end of computation (it might take long). Note that, when excluding the factor "Site" from Model (and Specific Model) Terms, JASP correctly computes Bayesian RM ANOVA
  4. See error: (below)
Error in array(0, dim = c(steps, nparam, 2), dimnames = list(NULL, names(weightedMeans), : length of 'dimnames' [2] not equal to array extent

Stack trace
tryCatchOne(expr, names,

 parentenv, handlers[[1]])

doTryCatch(return(expr), name, parentenv, handler)

withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)

analysis(jaspResults = jaspResults, dataset = dataset, options = options)

.BANOVArunAnalysis(jaspResults, dataset, options, 'RM-ANOVA')

.BANOVAestimatePosteriors(jaspResults, dataset, options, model)

.BANOVAsamplePosteriors(jaspResults, dataset, options, model, posteriors)

array(0, dim = c(steps, nparam, 2), dimnames = list(NULL, names(weightedMeans), c('x', 'y')))
boutinb commented 3 years ago

Hi @MartinaFanghella I could run your analysis. It took quite loog indeed (2-3 hours), Here is the jap file: https://we.tl/t-iG4D5NaHdq I'm not sure why it fails on your PC, but I can imagine that with such a long time, some memory or timeout problem can occur...

MartinaFanghella commented 3 years ago

Dear Bruno, thank you very much for your help. I tried to open the file but it gives me error, I am attaching a screenshot of the error message I received to this email. I tried to follow the instruction, but I could not find the page. Any idea of what I should do? Thanks, Martina

Il 15/10/21 12:26, bruno boutin @.***> ha scritto:

Hi @MartinaFanghella(https://github.com/MartinaFanghella ) I could run your analysis. It took quite loog indeed (2-3 hours), Here is the jap file: https://we.tl/t-iG4D5NaHdq I'm not sure why it fails on your PC, but I can imagine that with such a long time, some memory or timeout problem can occur...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub(https://github.com/jasp-stats/jasp-issues/issues/1454#issuecomment-944188840 ), or unsubscribe(https://github.com/notifications/unsubscribe-auth/AWAXADL3HINYMNYBQHMETPTUG76VLANCNFSM5F2WQKAQ ). Triage notifications on the go with GitHub Mobile for iOS(https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 ) or Android(https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub ).

--

Martina Fanghella, Ph.D. Postdoctoral researcher, Cognition in Action Lab (CiALab) Department of Philosophy University of Milan Via Santa Sofia, 9 – 20122 Milan (Italy)

https://www.unimi.it/it/ugov/person/martina-fanghella http://cialab.unimi.it/ https://sites.unimi.it/philab/ https://www.abclabs6.com/

boutinb commented 3 years ago

Hi Martina, Sorry I did not answer before, I was on holidays. If you want to share a picture or any file, you need to you the GitHub website directly (don't answer from your email), and drag & drop the images in a new comment of this issue. Bruno

juliuspfadt commented 2 years ago

@MartinaFanghella could you confirm the issue still persists with the newest JASP version?

github-actions[bot] commented 1 year ago

This issue or pull request will be automatically closed in 42 days due to inactivity. Feel free to leave a comment if you believe this is still relevant.

github-actions[bot] commented 1 year ago

Automatically closed due to inactivity.