Skip to content

Commit a88ae4f

Browse files
authored
Document MATLAB behavior in quantile docstring (#152)
1 parent 46290a0 commit a88ae4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Statistics.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ The keyword arguments `alpha` and `beta` correspond to the same parameters in Hy
902902
setting them to different values allows to calculate quantiles with any of the methods 4-9
903903
defined in this paper:
904904
- Def. 4: `alpha=0`, `beta=1`
905-
- Def. 5: `alpha=0.5`, `beta=0.5`
905+
- Def. 5: `alpha=0.5`, `beta=0.5` (MATLAB default)
906906
- Def. 6: `alpha=0`, `beta=0` (Excel `PERCENTILE.EXC`, Python default, Stata `altdef`)
907907
- Def. 7: `alpha=1`, `beta=1` (Julia, R and NumPy default, Excel `PERCENTILE` and `PERCENTILE.INC`, Python `'inclusive'`)
908908
- Def. 8: `alpha=1/3`, `beta=1/3`
@@ -1053,7 +1053,7 @@ The keyword arguments `alpha` and `beta` correspond to the same parameters in Hy
10531053
setting them to different values allows to calculate quantiles with any of the methods 4-9
10541054
defined in this paper:
10551055
- Def. 4: `alpha=0`, `beta=1`
1056-
- Def. 5: `alpha=0.5`, `beta=0.5`
1056+
- Def. 5: `alpha=0.5`, `beta=0.5` (MATLAB default)
10571057
- Def. 6: `alpha=0`, `beta=0` (Excel `PERCENTILE.EXC`, Python default, Stata `altdef`)
10581058
- Def. 7: `alpha=1`, `beta=1` (Julia, R and NumPy default, Excel `PERCENTILE` and `PERCENTILE.INC`, Python `'inclusive'`)
10591059
- Def. 8: `alpha=1/3`, `beta=1/3`

0 commit comments

Comments
 (0)