Skip to content

[Bug]: data filter ignored in independent t-test #3954

@rcsapo79

Description

@rcsapo79

JASP Version

0.95.4

Commit ID

No response

JASP Module

T-Tests

What analysis are you seeing the problem on?

Independent samples t-test

What OS are you seeing the problem on?

macOS Intel

Bug Description

When trying to run an independent t-test using a grouping variable with 3 characteristic values of which one was filtered out, JASP complains about the maximum number of levels being 2.

Expected Behaviour

The data that were filtered out should be ignored in order to facilitate the test. As a matter of fact, this did work in previous versions…

Steps to Reproduce

  1. Create variable group with values 1, 1, 2, 2, 3, 3
  2. Create variable data with 6 random numbers
  3. Filter out values 3 of variable group
  4. Run independent t-test

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

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions