Skip to content

[Bug]: Informed Multinomial with high number of MCMC samples results in NaN. #3527

@janderuiter

Description

@janderuiter

JASP Version

Others

Commit ID

-------- Application Info -------- JASP Version: JASP 0.95 (Apple Silicon) Build Branch: HEAD Build Date: Jul 15 2025 15:49:44 (Netherlands) Last Commit: 797163d0f583a21807c21de494997936b63b7843 -------- Basic Info -------- Operating System: macOS Sequoia (15.5) Product Version: 15.5 Kernel Type: darwin Kernel Version: 24.5.0 Architecture: arm64 Install Path: /Applications/JASP 2.app/Contents/MacOS Platfotm Name: cocoa System Local: en_US

JASP Module

Frequencies

What analysis are you seeing the problem on?

Informed Multinomial

What OS are you seeing the problem on?

macOS Silicon

Bug Description

If I increase the MCMC number of samples to 100,000 (from the default of 10,000) I get NaN results.

Image Image [135.csv](https://github.com/user-attachments/files/21237903/135.csv)

135.jasp.zip

Expected Behaviour

A meaningful number should have been shown.

Steps to Reproduce

  1. Open the file 135.csv
  2. Select Bayesian Informed Multinomial (in Frequencies)
  3. Enter "count" as factor
  4. Enter the model 1 = 3 = 5 > 2 = 4 = 6
  5. Set MCMC sample size and max sample size for bridge sampling both to 100,000
Image

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: MediumBugs that don't influence the basic function of the app, but it's better to fix them at some point.Module: jaspFrequencies

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions