jasp-stats / jasp-issues

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

Distribution : Number of digits displayed and reverse calculation #2646

Open Franck6S opened 7 months ago

Franck6S commented 7 months ago

Description

When making a calculation of a domain, JASP displayed only 2 digits where I have a need for a minimum of 4. and when I wnat toi generate the reverse calculation it does not exist a way to perform it

Purpose

calculation of partof population with enough precision in both ways

Use-case

We are applying that activity in our calculation activities (was in use without problem with Minitab)

Is your feature request related to a problem?

Being able to get enough digit, not possible with adjustement of parameter digit into the graphical option

Is your feature request related to a JASP module?

Distributions

Describe the solution you would like

Generate a table below the graph with the full value 5 or more representative digits

Describe alternatives that you have considered

We are making a seperate calculation into excel for the time-being, Should be more valuable to get all in JASP

Additional context

distribution domain 1

Franck6S commented 7 months ago

Following the sequence in several ways illustrated with the excel calculation (including reverse way): distribution domain 1 example 1_3 distribution domain 1 example 2_3 distribution domain 1 example 3_3

boutinb commented 7 months ago

There exists already in Preferences/Results/Table Options the "Fix the number of decimals" option. We could use this or add another option special for the plots. But when I have a quick look at the R code in the modules, the round function is used many times with a hard-coded 2 or 3 decimals. So we would have to replace all these occurrences in all modules. We could start by the Distributions module. I have experimented quickly, this is quite easy to do... Any thoughts @Kucharssim , @vandenman ?

Franck6S commented 7 months ago

Dears, It was already tried, without success, see screenshot of current situation image The other option that I could propose is to add a table below the graph with the results

Franck6S commented 7 months ago

Regarding the reverse calculation meaning I want to know how the limit to get 25%. (see last slide) I suppose another development is required to get 0.674488 ?

EJWagenmakers commented 7 months ago

The graph would look weird if it had very many decimals. The preferred solution is to provide a table that summarizes the numbers shown in the figure.

tomtomme commented 7 months ago

related

@Franck6S please rename the issue accordingly. Thx!