From 76e25d22ca216d8f30c74b8df79edd1d8ffdd242 Mon Sep 17 00:00:00 2001 From: rgommers Date: Wed, 2 Jun 2010 13:07:10 +0000 Subject: DOC: merge wiki edits for module core. --- numpy/core/fromnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/fromnumeric.py') diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index b255e89af..c142cd1ed 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -2371,7 +2371,7 @@ def std(a, axis=None, dtype=None, out=None, ddof=0): The standard deviation is the square root of the average of the squared deviations from the mean, i.e., ``std = sqrt(mean(abs(x - x.mean())**2))``. - The mean is normally calculated as ``x.sum() / N``, where + The average squared deviation is normally calculated as ``x.sum() / N``, where ``N = len(x)``. If, however, `ddof` is specified, the divisor ``N - ddof`` is used instead. In standard statistical practice, ``ddof=1`` provides an unbiased estimator of the variance of the infinite population. ``ddof=0`` -- cgit v1.2.1