We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87c385 commit 5811fbaCopy full SHA for 5811fba
src/Statistics.jl
@@ -344,7 +344,7 @@ Compute the sample variance of collection `itr`.
344
The algorithm returns an estimator of the generative distribution's variance
345
under the assumption that each entry of `itr` is an IID drawn from that generative
346
distribution. For arrays, this computation is equivalent to calculating
347
-`sum((itr .- mean(itr)).^2) / (length(itr) - 1)).
+`sum((itr .- mean(itr)).^2) / (length(itr) - 1))`.
348
If `corrected` is `true`, then the sum is scaled with `n-1`,
349
whereas the sum is scaled with `n` if `corrected` is
350
`false` with `n` the number of elements in `itr`.
0 commit comments