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

[Bug]: Error in one-sample t-test #2851

Closed Alejandro-84 closed 2 weeks ago

Alejandro-84 commented 3 months ago

JASP Version

0.19.0

Commit ID

No response

JASP Module

T-Tests

What analysis are you seeing the problem on?

One sample t-test

What OS are you seeing the problem on?

Windows 11

Bug Description

When I was using the one-sample t-test, I checked the boxes to get both the z-test and t-test at once, no problem here. image

However, when I checked the box for the Location estimate, a warning box popped up image

This warning disappears if I add the Wilcoxon signed rank test (i.e., the three tests at once) image

Expected Behaviour

No warning should appear and the test results should be displayed without the necessity of including the Wilcoxon signed rank test.

Steps to Reproduce

  1. Open the T-Tests module and select the one-sample t-test under the Classical analysis
  2. Select the variable you want (I used the "Sleep" dataset included in the Descriptives library).
  3. Check the boxes for the Student and Z Test, then check the box for the Location estimate (the warning should appear).
  4. Check the box for the Wilcoxon signed-rank test, and the warning should disappear. ...

Log (if any)

No response

More Debug Information

-------- Application Info -------- JASP Version: JASP 0.19 Build Branch: development Build Date: Jul 13 2024 09:52:18 (Netherlands) Last Commit: 8b929b98f058f23dd8c8cf3e891be5a77b2ebc0b

-------- Basic Info -------- Operating System: Windows 11 Version 23H2 Product Version: 11 Kernel Type: winnt Kernel Version: 10.0.22631 Architecture: x86_64 Install Path: C:/Program Files (x86)/JASP Platfotm Name: windows System Local: en_CA

-------- Extra Info -------- Current code page Active code page: 437 Active code page: 65001

Final Checklist

tomtomme commented 2 months ago

Confirmed with 0.19 flatpak. Renamed file with error: Sleep.jasp.zip

tomtomme commented 2 weeks ago

Still there with 0.19.1

boutinb commented 2 weeks ago

I cannot reproduce this in the last nightly build.

tomtomme commented 2 weeks ago

I tried with flatpak beta from yesterday, but that seems not to include vandenmans fix yet... I still see the error with the file I provided above.