jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Bug]: Pearson's Correlation table not working properly #2113

Closed Sininejuust closed 8 months ago

Sininejuust commented 1 year ago

JASP Version

0.17.1

Commit ID

No response

JASP Module

Regression

What analysis are you seeing the problem on?

Correlation

What OS are you seeing the problem on?

Windows 10

Bug Description

I'm trying to check out all correlations between my variables (there are 64 of them), but when doing a Pearson's correlation, the table doesn't show me the info correctly.... or show the info at all. I'm including photos of the table it does produce. As you can see, it's definitely not looking right and also stops randomly. I tried to do this once a week ago and then it worked properly, but I forgot to write down some things so wanted to do it again today but.. :( Tried restarting jasp several times, but nothing works. image image image

Expected Behaviour

I was expecting a table looking more like this one: image (Image taken from the internet)

Steps to Reproduce

  1. Click on regression
  2. Choose classical correlation
  3. Input all your variables
  4. Get the result I got image

Log (if any)

Tried to attach log files but I can't figure out how to correctly do them so they're all blank, didn't include them.

Final Checklist

Sininejuust commented 1 year ago

Here's what I've tried so far: Uninstalled and installed jasp again Tried on a different computer Tried on the same computer but with a previous version (0.16.4)

None of these helped, still getting the same messed up table. Please help, I'm kind of running behind on my thesis....

Sininejuust commented 1 year ago

Turns out that spearman's rho table is doing the same thing

Kucharssim commented 1 year ago

Hi @Sininejuust,

sorry that this is happening to you. Unfortunately I am unable to reproduce the issue.

Could you share your data with us? You can either zip the jasp file and attach it here in the GitHub issue webpage. Alternatively you can send me the jasp file to s.kucharsky@jasp-stats.org.

Thank you!

Kucharssim commented 1 year ago

Dear @Sininejuust,

thanks for sending the file!

It seems the column names break the main table for some reason. I will investigate why and fix it.

In the meantime, you have two options as a workaround:

  1. Select the option "display pairwise" - in this case the table is not broken so it should give you the results.
  2. Rename the columns to get rid of the [ and ] characters. For example instead of names like BDSMG1[BDSM1] using BDSMG1_BDSM1 should give you the correct table.
tomtomme commented 9 months ago

@Kucharssim Can confirm, that this is still a problem with 0,18.3

tomtomme commented 9 months ago

and this one is related / similar, but anova module: https://github.com/jasp-stats/jasp-issues/issues/1503

tomtomme commented 8 months ago

@Sininejuust closing, as now tracked here: https://github.com/jasp-stats/jasp-issues/issues/2564