Admin message
GitLab (git.smhi.se) will be shutdown for maintenance April 13th between 05:00-06:00 UTC
Changes
Page history
Update Memo on percentile methods
authored
Apr 21, 2020
by
Lars Bärring
Show whitespace changes
Inline
Side-by-side
Memo-on-percentile-methods.md
View page @
aa1d49d8
...
@@ -31,7 +31,7 @@ statper = lambda x: mstats.mquantiles(x, [p/100.], alphap=third, betap=third)
...
@@ -31,7 +31,7 @@ statper = lambda x: mstats.mquantiles(x, [p/100.], alphap=third, betap=third)
print
(
min
(
timeit
.
Timer
(
'
x=s[:]; statper(x)
'
,
setup
=
setup
).
repeat
(
7
,
1000
)))
print
(
min
(
timeit
.
Timer
(
'
x=s[:]; statper(x)
'
,
setup
=
setup
).
repeat
(
7
,
1000
)))
# 2.9134851020062342
# 2.9134851020062342
print
(
min
(
tim
Cunnane
plotting
position
eit
.
Timer
(
'
x=s[:]; numper(x)
'
,
setup
=
setup
).
repeat
(
7
,
1000
)))
print
(
min
(
timeit
.
Timer
(
'
x=s[:]; numper(x)
'
,
setup
=
setup
).
repeat
(
7
,
1000
)))
# 0.1574339639628306
# 0.1574339639628306
```
```
...
...
...
...