Skip to content

[Bug]: Descriptives: Numeric ordinal variables give unexpected results #3598

@larionowresearch-pixel

Description

@larionowresearch-pixel

JASP Version

0.95.0

Commit ID

No response

JASP Module

Descriptives

What analysis are you seeing the problem on?

Descriptive statistics

What OS are you seeing the problem on?

macOS Silicon

Bug Description

I am reporting a bug related to incorrect descriptive statistics values when using "ordinal" variables. I previously indicated the same or "technically very similar" bug in JASP 0.19.2, which was subsequently fixed in JASP 0.19.3 (see Descriptives: Numeric nominal variables gives unexpected results (440f765)). However, it seems this bug has appeared once again in JASP 0.95.0.

Please look at the two attached screenshots. On one screenshot, there are four variables (i.e., PHQ-4 items), with actual values from 0 to 3 in the data-set, which are correctly displayed (i.e., from 0 to 3) when I use "scale" variables. But if I change a type of variables from "scale" to "ordinal", JASP 0.95 incorrectly displays that my four variables (i.e., PHQ-4 items) have values from 1 to 4.

Image Image

Expected Behaviour

Please correct this bug.

Steps to Reproduce

Open Descriptives, see min. and max. values when using a "scale" variable type. Then, change a type of variable from "scale" to "ordinal", and compare min. and max. values.

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

Labels

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

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions