Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Bayesian equivalence test with Normal prior fails if interval starts with minus infinity #2984

Open
3 tasks done
henkkiers opened this issue Oct 24, 2024 · 5 comments · May be fixed by jasp-stats/jaspEquivalenceTTests#127
Assignees
Labels
Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. Module: jaspEquivalenceTTests Module: jaspTTests

Comments

@henkkiers
Copy link

JASP Version

0.19.1

Commit ID

No response

JASP Module

Equivalence T-Tests

What analysis are you seeing the problem on?

Two sample t test

What OS are you seeing the problem on?

Windows 10

Bug Description

Using the equivalence t test module, I used the Normal (rather than default) prior, and encountered that the analysis led to infinity and 0 values when I entered as interval "minus infinity to -0.1", while "-0.1 to infinity" it gave decent values. I varied the interval, and it actually appears that this always happens when using the normal prior, and the second option for intervals, that is the one starting with -Inf. I show the output in a word document. I also uploaded a zipped version of my JASP file, and a screenshot of what happened.
Screenshot of bug jpg
Bug report on Equivalence t test.docx
st2shortBugReport.zip

It's a very annoying bug, because I use the equivalence t test to learn students how to interpret probabilities under posterior distributions, so I hope it can be solved soon.

Expected Behaviour

I actually explained what should happen, namely, I should get the complements to the results for the complement of the interval, which you get by choosing the interval from -0.1 to infinity.

Steps to Reproduce

I simply get it all the time if I choose the "Equivalence region" minus infinity to a particular value, when using the normal prior (not when using Cauchy prior or t prior)

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.
@FBartos
Copy link

FBartos commented Oct 28, 2024

seems like to be an issue when copying results of the analysis when the "Informed-Normal" prior distribution is selected @boutinb

@tomtomme tomtomme assigned boutinb and FBartos and unassigned vandenman and Jillderon Oct 28, 2024
@tomtomme tomtomme added Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. and removed Bug OS: Windows 10 labels Oct 28, 2024
@henkkiers
Copy link
Author

henkkiers commented Oct 28, 2024 via email

@FBartos
Copy link

FBartos commented Oct 28, 2024

Hi Henk, the message was for other people working on the issue. I see now that I'm also reproduce the issue even without copying the analysis.

@henkkiers
Copy link
Author

henkkiers commented Oct 28, 2024 via email

@EJWagenmakers
Copy link
Collaborator

Thanks Frantisek!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. Module: jaspEquivalenceTTests Module: jaspTTests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants