jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

JASP Student t Distribution probability calculations are doubled #1270

Open mspezio opened 3 years ago

mspezio commented 3 years ago

Is this fixed in the next version that is already in development?

Thank you. Screen Shot 2021-04-27 at 12 48 16 PM

Kucharssim commented 3 years ago

Thank you for this report! The value is not doubled, but rounded to two decimal places... I'll see how we can handle this better

mspezio commented 3 years ago

Thank you Kucharssim, that's helpful. I found this for several of the other distributions as well, for binomial and Poisson. Others did not have such issues. For instructional purposes, to help students understand probabilities as areas under the pdf or pmf curves, it would be helpful to have JASP report the numbers rounded to 2 significant figures, after all of the decimal positions, equivalent to the R functions for the distributions. Thanks again.

JoKeyser commented 3 years ago

Maybe the module could use the number of decimal points that are wanted by the user's settings?

tomtomme commented 7 months ago

@mspezio @Kucharssim This rounding-bug is still present in jasp 0.18.3. The distribution module should honor the user settings from "preferences => results => table options => fix number of decimals" I realize this setting was meant for tables only. If it is hard to expand to plots, please consider adding a table of the results below the distribution plot, like also requested here for discrete distris: https://github.com/jasp-stats/jasp-issues/issues/1597

Kucharssim commented 7 months ago

please consider adding a table of the results

Yes, this is in the works