You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In attempting to run a Bayesian t-test / Wilcoxon I noticed that the analysis would not run if data were ordinal, but would run if the same variables were relabelled as scale data. Further, Frequentist t-test/Wilcoxon will run with ordinal, but Bayesian equivalents will not (even though the same variables are used). See example below:
When data are coded as ordinal:
Frequentist Wilcoxon runs fine:
However, Bayesian returns the following error ("Number of observations < 2 in [Var1 & Var2]"), which doesn't make any sense as there are > 2 observations (as shown by the Frequentist analysis running fine):
Note. The same issue exists for both paired-samples t-test and Wilcoxon.
Changing the same variables from ordinal to scale:
Rerunning the Bayesian analysis shows that it now works fine:
@JayD05@vandenman
tested with jasp 0.18.3 and your data. I had to switch to scale and then ordinal again - then everything worked. But on that switch the labels were lost. I re-entered labels and the bug was there again.
So this bug is isolated to ordinal data with labels
here the file that shows this directly ddaf.jasp.zip
Since this may be solved by Joris work for 0.19 I will mark it for 0.19 to remember that I need to test this one after release.
@JohnnyDoorn @vandenman
the original bug is now solved, but if the Var is ordinal, bayesian paired t-Test now does not show any diagrams!
Hence I up this to critical for 0.19.
the error message is wrong. Switching to scale instead of ordinal produces graphs
tomtomme
added
Bug: Critical
Bugs that are breaking functionality, and must be fixed.
and removed
Bug: Medium
Bugs that don't influence the basic function of the app, but it's better to fix them at some point.
labels
May 24, 2024
Somehow the Bayesian t-test (any) looks at the labels instead of the values.. when I use facFive from the debug data set it's fine, but when i adjust the labels to a-e instead of 1-5, it breaks. Descriptives, freq t-test and other analyses still work fine though. @vandenman do you have an idea how to solve this in a clean way? I see that the Bayesian t-tests have their own data reading function.
JASP Version
0.16.4
Commit ID
No response
JASP Module
T-Tests
What analysis are you seeing the problem on?
Bayesian Paired-Samples t-test / Wilcoxon
What OS are you seeing the problem on?
Windows 10
Bug Description
In attempting to run a Bayesian t-test / Wilcoxon I noticed that the analysis would not run if data were ordinal, but would run if the same variables were relabelled as scale data. Further, Frequentist t-test/Wilcoxon will run with ordinal, but Bayesian equivalents will not (even though the same variables are used). See example below:
When data are coded as ordinal:
Frequentist Wilcoxon runs fine:
However, Bayesian returns the following error ("Number of observations < 2 in [Var1 & Var2]"), which doesn't make any sense as there are > 2 observations (as shown by the Frequentist analysis running fine):
Note. The same issue exists for both paired-samples t-test and Wilcoxon.
Changing the same variables from ordinal to scale:
Rerunning the Bayesian analysis shows that it now works fine:
Data:
jasp data.zip
Expected Behaviour
The t-test / Wilcoxon should run regardless of whether data are ordinal or scale.
Steps to Reproduce
...
Log (if any)
No response
Final Checklist
The text was updated successfully, but these errors were encountered: