Skip to content

[Bug]: Inverse Rank-Biserial Correlation #3918

@TiGr-999

Description

@TiGr-999

JASP Version

0.95.3

Commit ID

No response

JASP Module

T-Tests

What analysis are you seeing the problem on?

Mann-Whitney U-Test

What OS are you seeing the problem on?

Windows 11

Bug Description

I got an inverse Rank-Biserial Correlation.
Group 1 has a mean rank of 447.458 (Sum 123051)
Group 2 has a mean rank of 397.332 (Sum 219327)
It provides a Rank-Biserial Correlation of - .118, despite the correlation should be positive (given the mean ranks)

Image

Expected Behaviour

Positive Rank-Biserial Correlation acc to the mean ranks

Steps to Reproduce

I opened the Independent T-Test Module
Entered my variables and split it by the grouping variable
The descriptives tell me that Group 1 has a higher mean rank than group 2, nevertheless the rank-biserial correlation is negative.

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.

Metadata

Metadata

Labels

Bug: HighBugs that are negatively affecting the area of the program, but don't need immediate fix.Module: jaspTTests

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions