Skip to content

Commit 74bc092

Browse files
authored
Fix typos in code comments (#852)
1 parent 0b64a9c commit 74bc092

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/StatsBase.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export
9191
variation, # ratio of standard deviation to mean
9292
sem, # standard error of the mean, i.e. sqrt(var / n)
9393
mad, # median absolute deviation
94-
iqr, # interquatile range
94+
iqr, # interquartile range
9595

9696
genvar, # generalized variance
9797
totalvar, # total variation

src/rankcorr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function corkendall(X::AbstractMatrix{<:Real}, Y::AbstractMatrix{<:Real})
212212
return C
213213
end
214214

215-
# Auxilliary functions for Kendall's rank correlation
215+
# Auxiliary functions for Kendall's rank correlation
216216

217217
"""
218218
countties(x::AbstractVector{<:Real}, lo::Integer, hi::Integer)

test/empirical.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ end
2424
fnecdfalt = ecdf(x, weights=w2)
2525
@test fnecdf.sorted_values == fnecdfalt.sorted_values
2626
@test fnecdf.weights == fnecdfalt.weights
27-
@test fnecdf.weights != w1 # check that w wasn't accidently modified in place
27+
@test fnecdf.weights != w1 # check that w wasn't accidentally modified in place
2828
@test fnecdfalt.weights != w2
2929
y = [-1.96, -1.644854, -1.281552, -0.6744898, 0, 0.6744898, 1.281552, 1.644854, 1.96]
3030
@test isapprox(fnecdf(y), [0.025, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.975], atol=1e-3)

0 commit comments

Comments
 (0)