add files via upload
This commit is contained in:
37
avg-and-stdev.py
Normal file
37
avg-and-stdev.py
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from statistics import stdev
|
||||
|
||||
e5m = -19.567076092915567 -20.05316841156921 -18.774664683716043 -20.252929968934183 -19.01518926375179
|
||||
e5m /= 5
|
||||
|
||||
e10m = -22.17792627372312 -26.5983685883656 -22.797848894157955-23.014822745152888-21.45208671888342
|
||||
e10m /= 5
|
||||
|
||||
e15m = -25.20854283824081-25.196382621588043-27.146880284259304-23.50194049443653-26.735523841588087
|
||||
e15m /= 5
|
||||
|
||||
e185m = -26.391715760893703-28.1335104958795-29.153177713518723-29.847186387317596-30.558908425543827
|
||||
e185m /= 5
|
||||
|
||||
e235m = -31.755831065931034-31.883960187854985-32.063876077498804-31.643081143951544-32.45807181713604
|
||||
e235m /= 5
|
||||
|
||||
for i in [e5m, e10m, e15m, e185m, e235m]:
|
||||
print(f"avg: {i:.4f}")
|
||||
|
||||
# standard deviation
|
||||
|
||||
e5m = [-19.567076092915567, -20.05316841156921, -18.774664683716043, -20.252929968934183, -19.01518926375179]
|
||||
|
||||
e10m = [-22.17792627372312, -26.5983685883656, -22.797848894157955, -23.014822745152888, -21.45208671888342]
|
||||
|
||||
e15m = [-25.20854283824081, -25.196382621588043, -27.146880284259304, -23.50194049443653, -26.735523841588087]
|
||||
|
||||
e185m = [-26.391715760893703, -28.1335104958795, -29.153177713518723, -29.847186387317596, -30.558908425543827]
|
||||
|
||||
e235m = [-31.755831065931034, -31.883960187854985, -32.063876077498804, -31.643081143951544, -32.45807181713604]
|
||||
|
||||
|
||||
for i in [e5m, e10m, e15m, e185m, e235m]:
|
||||
print(f"stdev: {stdev(i):.4f}")
|
||||
Reference in New Issue
Block a user