[Bug]: Game of Skill input of zeros creates NaN
JASP Version
0.16.1
Commit ID
No response
JASP Module
No response
What analysis are you seeing the problem on?
Game of Skill
What OS are you seeing the problem on?
Windows 11
Bug Description
Game of Skill allows input (0, 0) for prior skill parameter & 0 input for points gained, leading to NaN output for the analytic solution
Expected Behaviour
Not allow beta parameters = 0 as that is not defined
Steps to Reproduce
Recreate with 0 input as described above
Log (if any)
No response
Final Checklist
- [X] I have included a screenshot showcasing the issue, if any.
- [X] I have included a JASP file that causes the crash/bug, if any.
- [X] I have accurately described the bug, and steps to reproduce it.
hi @levolz. thanks for reporting. @Jiashun97 any ideas what to do here? Maybe input control or a footnote is required?
hi @levolz. thanks for reporting. @Jiashun97 any ideas what to do here? Maybe input control or a footnote is required?
You are right. The two parameters for beta distribution should be larger than 0. @vandenman Is it possible to add an input control for the table?
@Jiashun97 I think you can set a lower bound with minimum.
still valid for latest 0.19 beta