Skip to content

[Bug]: Logistic regression using GLM no longer works #3681

@patc3

Description

@patc3

JASP Version

0.95.1

Commit ID

No response

JASP Module

Regression

What analysis are you seeing the problem on?

Generalized Linear Model

What OS are you seeing the problem on?

Windows 11

Bug Description

I think it's become impossible to run logistic regression in JASP 0.95.1 using the Generalized Linear Model analysis. See report here https://forum.cogsci.nl/discussion/9939/jasp-0-95

If you use a nominal variable that only has text as values+labels, you get this error:

Image Image

If you try to fix it by adding numeric values, you get this other error instead:

Image Image

Heart attack.csv

Expected Behaviour

Doing logistic regression with a binary outcome using the Generalized Linear Model analysis in Regression module should work. This works fine in Regression > Logistic Regression.

Steps to Reproduce

  1. nominal variable with 2 values (text or values, neither works)
  2. run logistic regression using Regression > Generalized Linear Model (the default analysis)
  3. try to use that nominal variable as dependent variable

Log (if any)

No response

More Debug Information

-------- Application Info --------
JASP Version: JASP 0.95.1
Build Branch: development
Build Date: Aug 20 2025 13:37:25 (Netherlands)
Last Commit: 180d14c18d13c107ee7c16b0993ff7e1cc02680b

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

-------- Extra Info --------
Current code page
Page de codes active�: 850
Page de codes active�: 65001

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

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions