You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: doc/stdlib/base.rst
+2-2
Original file line number
Diff line number
Diff line change
@@ -3762,7 +3762,7 @@ Statistics
3762
3762
3763
3763
.. function:: std(v[, region])
3764
3764
3765
-
Compute the sample standard deviation of a vector or array ``v``, optionally along dimensions in ``region``. The algorithm returns an estimator of the generative distribution's standard deviation under the assumption that each entry of ``v`` is an IID draw from that generative distribution. This computation is equivalent to calculating ``sqrt(sum((v - mean(v)).^2) / (length(v) - 1))``.
3765
+
Compute the sample standard deviation of a vector or array ``v``, optionally along dimensions in ``region``. The algorithm returns an estimator of the generative distribution's standard deviation under the assumption that each entry of ``v`` is an IID drawn from that generative distribution. This computation is equivalent to calculating ``sqrt(sum((v - mean(v)).^2) / (length(v) - 1))``.
3766
3766
Note: Julia does not ignore ``NaN`` values in the computation.
3767
3767
For applications requiring the handling of missing data, the ``DataArray``
3768
3768
package is recommended.
@@ -3774,7 +3774,7 @@ Statistics
3774
3774
3775
3775
.. function:: var(v[, region])
3776
3776
3777
-
Compute the sample variance of a vector or array ``v``, optionally along dimensions in ``region``. The algorithm will return an estimator of the generative distribution's variance under the assumption that each entry of ``v`` is an IID draw from that generative distribution. This computation is equivalent to calculating ``sum((v - mean(v)).^2) / (length(v) - 1)``.
3777
+
Compute the sample variance of a vector or array ``v``, optionally along dimensions in ``region``. The algorithm will return an estimator of the generative distribution's variance under the assumption that each entry of ``v`` is an IID drawn from that generative distribution. This computation is equivalent to calculating ``sum((v - mean(v)).^2) / (length(v) - 1)``.
3778
3778
Note: Julia does not ignore ``NaN`` values in the computation.
3779
3779
For applications requiring the handling of missing data, the ``DataArray``
0 commit comments