Skip to content

[Bug]: GLM Time (Pre-Post) as categorical variable #2997

@obisaga

Description

@obisaga

JASP Version

0.19.1

Commit ID

No response

JASP Module

Mixed Models

What analysis are you seeing the problem on?

GLM

What OS are you seeing the problem on?

Windows 11

Bug Description

The problem is that if I code the variable "time" in GLM as a category (meaning measurement before and after intervention), I get an error "analysis cannot be performed because the variable has less than two factor levels"). Meanwhile, the variable only has two factors "pre" and "post". The variables "group" (case/control) and "gender" (female/male) are all nominal variables and are coded exactly the same - and there no problem occures. I tried already adding a third level of the factor "time" - follow-up, but to no avail.

Expected Behaviour

printscreen_GLM

Steps to Reproduce

1.adding the dependent variable (continuous variable).
2.Then adding the covariates (continuous variables).
3.Adding the nominal categorical variables: gender, group and finally time. The problem occurs only with this variable.

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

Module: jaspRegressionStaleIssues and pull requests that have not had recent interactionWaiting for requesterIf waiting for a long time it is reasonable to close an issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions