Say, I have an array:
import numpy as np
x = np.array([0, 1, 2, 5, 6, 7, 8, 8, 8, 10, 29, 32, 45])
How can I calculate the 3rd standard deviation for it, so I could get the value of +3sigma
as shown on the picture below?
Typically, I use std = np.std(x)
, but to be honest, I don't know if it returns the 1sigma
value or maybe 2sigma
, or whatever. I'll very grateful for you help. Thank you in advance.