Skip to content

Commit 6768a16

Browse files
authored
Fix varcorrection docstring for UnitWeights again (#800)
Reapply d9cb8f8, which was accidentally reverted by 1815e1e.
1 parent f0cccd6 commit 6768a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/weights.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ uweights(::Type{T}, s::Int) where {T<:Real} = UnitWeights{T}(s)
351351
"""
352352
varcorrection(w::UnitWeights, corrected=false)
353353
354-
* `corrected=true`: ``\\frac{n}{n - 1}``, where ``n`` is the length of the weight vector
354+
* `corrected=true`: ``\\frac{1}{n - 1}``, where ``n`` is the length of the weight vector
355355
* `corrected=false`: ``\\frac{1}{n}``, where ``n`` is the length of the weight vector
356356
357357
This definition is equivalent to the correction applied to unweighted data.

0 commit comments

Comments
 (0)