Here’s a good example to understand quantiles in python:
import numpy as np
d = [1, 1.2, 1.5, 2, 6, 7, 22, 3]
q = 0.99
qr = np.quantile(d, q)
print(f"{q*100}% less than {qr}")
Here’s a good example to understand quantiles in python:
import numpy as np
d = [1, 1.2, 1.5, 2, 6, 7, 22, 3]
q = 0.99
qr = np.quantile(d, q)
print(f"{q*100}% less than {qr}")