Commit Graph

3650 Commits

Author SHA1 Message Date
Léa Saviot
a8a5ecfd4e [apps/proba] Factorize code 2019-08-26 16:04:08 +02:00
Léa Saviot
1f2f5f4c28 [apps/proba] BinomCDF 2019-08-26 15:04:27 +02:00
Léa Saviot
392198fad4 [apps] Fix typo 2019-08-26 10:47:39 +02:00
Léa Saviot
ff0105182d [apps/proba] P(X<?) = 0 gives 0 for ChiSquaredDistribution 2019-08-26 10:14:38 +02:00
Léa Saviot
61a66f56d4 [apps/proba] Check value is ok before computing 2019-08-26 10:14:00 +02:00
Léa Saviot
294def02bd [apps/proba] Improve Distribution::finiteIntegralBetweenAbscissas 2019-08-23 15:27:53 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Léa Saviot
3a03132c6c [apps/toolbox] Probability submenu 2019-08-22 17:21:28 +02:00
Léa Saviot
d0cab49b11 [apps/toolbox] Renaming 2019-08-22 15:56:36 +02:00
Léa Saviot
e76ea70773 [poincare/tests] Fix tests 2019-08-22 15:23:20 +02:00
Léa Saviot
c410b70b63 [apps/settings] Typos and coding style 2019-08-22 14:13:12 +02:00
Léa Saviot
3851aa7c55 [apps/settings] Gradians is the last angle unit 2019-08-22 14:13:12 +02:00
Léa Saviot
e15fe8460c [apps/settings] Gradians translation 2019-08-22 12:02:05 +02:00
Léa Saviot
880a5343a7 [apps/settings] Coding style 2019-08-22 11:26:54 +02:00
Léa Saviot
fbec61db47 Merge branch 'feature/Gradians' of https://github.com/boricj/epsilon 2019-08-22 11:25:25 +02:00
Léa Saviot
a1107b3f00 [apps/probability] Remove TODOs 2019-08-22 10:48:40 +02:00
Léa Saviot
c980f8bf7c [apps/calc] Bigger serialization buffer to fix glitch
Otherwise, identity(15) displays both exact and approximate outputs,
because the approximation serialization does not fit in the buffer.
2019-08-22 10:33:40 +02:00
Léa Saviot
a3f2ab30dc [apps/calculation] Handle pool failure while calculations are slided
Exmaple :
1+1
identity(30) -> Failure while 1+1 is slided on the right
2019-08-22 10:10:27 +02:00
Léa Saviot
4e8a7bbedc [apps/proba] Increase accuracy check in tests 2019-08-21 14:54:55 +02:00
Léa Saviot
cfc0a7d6cf [apps/proba] Fix Student computations 2019-08-21 14:52:47 +02:00
Léa Saviot
c248363b34 [apps/proba] Better handling of NAN values
For instance, chi squared law woth 1E8 degrees of freedom, comppute
P(X<?) = 0.4 will give P(X<undef) = undef
2019-08-21 14:47:17 +02:00
Léa Saviot
83fda9a587 [apps/proba] Fix Chi Square computations
Because the values can be very small or very big, computations should
not be made sequentially, to prevent rounding errors.
For instace, for degrees of freedom = 70, coefficient() would return 0
event though the cumulativeDistributiveFunctionAtAbscissa was not 0.
2019-08-21 14:45:27 +02:00
Léa Saviot
04b0df9a72 [apps/proba] Fix Student precision for computation 2019-08-21 12:18:32 +02:00
Léa Saviot
06b3b2c892 [apps/proba] Student parameter maximum is 200 2019-08-21 12:18:08 +02:00
Léa Saviot
bbf506ddb7 [apps/proba] Refactor law -> distribution 2019-08-20 17:16:19 +02:00
Léa Saviot
a982849f74 [apps/proba] Fix tests precision for regularized gamma 2019-08-20 17:01:53 +02:00
Léa Saviot
63ecdebe2f [apps/proba] Find inverse probability using increasing function
This fixes the test
Student law with 5.4 degrees of freedom
assert_cumulative_distributive_function_direct_and_inverse_is(&law, 1.3, 0.876837383157582639370275501278229057788848876953125);
2019-08-20 17:00:23 +02:00
Léa Saviot
0556d10e7b [apps/calculation] Test about integral with symbols 2019-08-20 16:14:27 +02:00
Émilie Feral
42bb1440e3 [apps/calculation] Inputs involving 'frac' display only the approximate
output
2019-08-20 11:51:37 +02:00
Léa Saviot
eccdd2fb6f [apps/proba] Fix Student distribution root search bracket 2019-08-20 11:27:38 +02:00
Léa Saviot
fb6af6321f [apps/proba] Fix chi squared root search bracket for parameter < 2 2019-08-20 11:20:49 +02:00
Léa Saviot
be3b414cbc [apps/proba] Comment about geometric_distribution definition 2019-08-20 10:08:57 +02:00
Léa Saviot
6bc317df32 [app/proba] Comment about computation error 2019-08-20 10:08:57 +02:00
Léa Saviot
7ec6bea991 [apps/proba] More seamless computation
If the user computes P(x<a) which gives b, then presses OK on b, return
a.
This prevents some comutation errors such as for student distribution
with 0.05 degrees of freedom, P(x<9900000) then press ok on the result
2019-08-20 10:08:57 +02:00
Léa Saviot
56543e8886 [apps/proba] Fix Student cumulativeDistributiveInverseForProbability 2019-08-20 10:08:57 +02:00
Léa Saviot
b26cd6a4fd [apps/proba] Fix Chi2 inverse DCF interval computation 2019-08-20 10:08:57 +02:00
Léa Saviot
07e639aa80 [apps/proba] Fix cumulative inverse probability for Chi Squared 2019-08-20 10:08:57 +02:00
Émilie Feral
af31ba6137 [apps/shared] CurveView::computeLabels: fix confusion between size and
length
2019-08-19 17:13:50 +02:00
Émilie Feral
1cc09de9ae [apps/calculation] Invalid calculation height memoization when leaving
the app.

Fix wrong memoization: in calculation app input '[[1+i, 2][3,4]]', change
the complex format to Polar, go back to the calculation app --> the
calculation height was no recomputed despite the fact that the approximation
output changed.
2019-08-19 09:59:01 +02:00
Émilie Feral
05972099fe [apps/shared] Fix char array initialization 2019-08-16 17:24:04 +02:00
Léa Saviot
ef1e15e492 [apps/proba] Fix Chi Square law window 2019-08-14 17:57:00 +02:00
Léa Saviot
d48c6561cd [apps/proba] Geometric distribution 2019-08-14 17:57:00 +02:00
Léa Saviot
99f5861080 [apps/proba] Fix cumulDistInvForProbaUsingBrentRoots 2019-08-14 17:57:00 +02:00
Léa Saviot
d8f94ad61d [apps/proba] ChiSquared parameter is in N+ 2019-08-14 17:57:00 +02:00
Léa Saviot
53dfb5630e [apps/proba] Test the laws 2019-08-14 17:57:00 +02:00
Léa Saviot
52087515e6 [apps/proba] Test about hypergeometric function 2019-08-14 17:57:00 +02:00
Léa Saviot
a280207449 [apps/proba] Student cumulativeDistributiveInverseForProbability 2019-08-14 17:57:00 +02:00
Léa Saviot
ee8f2bc2df [apps/proba] Fix typo 2019-08-14 17:57:00 +02:00
Léa Saviot
4c342cd933 [apps/probability] Helper for contonued fractions and infinite series 2019-08-13 18:00:15 +02:00
Léa Saviot
ff347b955e [apps/proba] Share chiSquared cumDistInvForProb with Student 2019-08-13 18:00:15 +02:00