Skip to content

[Bug]: ANOVA missing data problem #3634

@RayCooksey

Description

@RayCooksey

JASP Version

0.95.0

Commit ID

No response

JASP Module

ANOVA

What analysis are you seeing the problem on?

Analysis of variance (one or more fixed factors)

What OS are you seeing the problem on?

Windows 11

Bug Description

In the ANOVA procedure I have discovered that if there are missing observations on any of the fixed factors named for the analysis (I tried one, two and three fixed factor analyses) , an error message

"The following problem(s) occurred while running the analysis: Number of observations is < 2 in accuracy after grouping on company"

appears (company is the fixed factor for the analysis that caused the above error) and the analysis will not run. If I delete all rows that have missing observations on the fixed factors I want to use, the analysis runs fine. Therefore, I don't think listwise deletion is working when it comes to variables named as fixed factors. I tried doing a clean install of version 0.95.1 (after uninstalling previous versions) but the problem still exists.

Expected Behaviour

Listwise deletion should work if there are missing observations on any of the fixed factors as well as the dependent variable in ANOVA

Steps to Reproduce

  1. Start the ANOVA procedure
  2. Identify a dependent variable and one or more fixed factors
Image

Worldwide Toys Extended 2021.zip

Image

Error message results

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/WindowsApps/45842JASP.JASP_0.95.11.0_x64__wz6q9dg667qsj
Platfotm Name: windows
System Local: en_AU

-------- Extra Info --------
Current code page
Active code page: 850
Active code page: 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

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions