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]: Network analysis - inconsistancy between centrality table and centrality plot #1692

Closed niklin123 closed 2 years ago

niklin123 commented 2 years ago

JASP Version

0.16.2

Commit ID

No response

JASP Module

No response

What analysis are you seeing the problem on?

Network-analysis - Centrality measures

What OS are you seeing the problem on?

macOS

Bug Description

The centrality table is showing strengt centrality while the centrality plot i showing degree in the same place.

I have a network with 4 positively interconnected nodes - shouldn't the the degree centrality plot be the same for all node. My suspicion i that the degree plot actually is showing strength.

Skjermbilde 2022-04-07 kl  12 42 28 Skjermbilde 2022-04-07 kl  12 41 07

Expected Behaviour

Centrality table and centrality plot should show the same centrality measure. Degree centrality plot should actually show strength centrality (?)

Steps to Reproduce

  1. Tick of centrality table and centrality plot under plots
  2. You will see that the centrality table is saying strength in third column, while the third plot says degree

Log (if any)

JASP 2022-04-25 11_20_29 Desktop.log JASP 2022-04-25 11_20_29 Engine 0.log

Final Checklist

vandenman commented 2 years ago

shouldn't the the degree centrality plot be the same for all node. My suspicion i that the degree plot actually is showing strength.

I think you're right, I'll investigate some more and will let you know once this is resolved!