Question! If the first standard deviation of a normal distribution is about 34% ...

@aarbrk@mstdn.mx

Question!

If the first standard deviation of a normal distribution is about 34% wide, why does this Python snippet consistently produce 0.29 instead of 0.34?

>>> statistics.pstdev([random.random() for _ in range(10**6)])

#python #statistics #stats