numworks / epsilon

Modern graphing calculator operating system.
https://www.numworks.com/resources/engineering/software/
1.75k stars 463 forks source link

Probabilites: expected value and variance #1719

Open XanderLeaDaren opened 3 years ago

XanderLeaDaren commented 3 years ago

Problem you'd like to fix

Get both the mean / expected value (fr: espérance) and the variance of the available probability distributions.

Describe the solution you'd like

There is enough space in the “grey title bar” for each distribution to display the expected value and variance.

Screenshots

Left: actual / Right: proposition proposition_probabilites_esperance-variance

Describe alternatives you've considered

Creating a Python script for each of the probability distributions: · binomial E = n×p, V = n×p×(1-p) · uniform E = ½(a+b), V = 1/12 × (b-a)² and so on…

Ecco commented 3 years ago

That's an interesting idea, and an enhancement definitely worse considering!

I'm not a huge fan of the suggested solution though, for several reasons:

We definitely could find some place on the screen to show this information though!

XanderLeaDaren commented 3 years ago

Yes, I wondered where to put the info, too.

Another place I thought of is in the first menu (see below), since E(X) and V(X) only need the distribution parameters to be calculated. This would not require changing the chart design, which is both elegant and useful, if I may. Capture d’écran de 2020-11-26 07-52-17

As for abbreviations, E and V are both widely used notations for expected value and variance, and taught this way, at least in the French curriculum.

artaxxx commented 3 years ago

Thanks for the suggestion! I think it should appear in the last view (chart) because this is the view about the analysis of the distribution:

So in terms of consistency, it should be better to display them on the last one. Maybe in a legend as @Ecco suggested.

XanderLeaDaren commented 2 years ago

Not found in Beta 17.0.0 – whereas assigned to Version 17 milestone. Any news?

artaxxx commented 2 years ago

We did not have time to design this feature in version 17