RobustMeans.EmpiricalMeanType
mean(A::AbstractArray, Estimator::EmpiricalMean)

The usual empirical mean estimator. Nothing fancy.

RobustMeans.LeeValMethod
LeeVal(x, δ; α₀ = 0.0)

Reference: Optimal Sub-Gaussian Mean Estimation in R by Lee et Valiant

RobustMeans.MinNdaMethod
MinskerNdaoud(x, k, p)

Reference: Robust and efficient mean estimation: an approach based on the properties of self-normalized sums

RobustMeans.MoMMethod

MedianOfMean(x::AbstractArray, k::Integer)

Compute the Median of Mean with k groups (it does not permute the samples)

RobustMeans.TrimMeanMethod
TrimmedMean(x::AbstractArray, k::Integer)

Compute the Trimmed Mean thresolding data smaller α or larger than β

RobustMeans.Z_estimatorMethod
Z_estimator(x::AbstractArray, α, ψ::Function; ini = median(x))

Implement Z estimators given a

RobustMeans.boundMethod

bound(estimator, δ, n::Int) Give the theoritical bound B such that for the estimator #TODO! correction math formula

\[\mathbb{P}( |X- \mathbb{E}(X)|/\sigma \leq B) \leq \delta\]

RobustMeans.boundMethod

" sqrt(2log(1 / δ) / n) # Multiply by a factor (1 + o(1)) where o(1) = (1+O(sqrt(log(1/δ)/n)))*(1+log(log(1/δ))/log(1/δ)) goes to zeros with (log(1/δ)/n, δ)→ (0, 0) see https://www.youtube.com/watch?v=Kr0Kl_sXsJM Q&A

Statistics.meanMethod

mean(A::AbstractArray, Estimator::MoM)

The Median of Mean estimator.

Statistics.meanMethod

mean(A::AbstractArray, Estimator::Catoni, kwargs...)

Reference: Catoni

Statistics.meanMethod
mean(A::AbstractArray, δ::Real, Estimator::EmpiricalMean)

The usual empirical mean estimator, for convenience, we authorize the extra dummy argument δ.

Statistics.meanMethod

mean(A::AbstractArray, Estimator::Huber, kwargs...)

Reference: Huber

Statistics.meanMethod
mean(A::AbstractArray, Estimator::δLeeValiant; kwargs...)

Reference: Optimal Sub-Gaussian Mean Estimation in R by Lee et Valiant

Statistics.meanMethod
mean(A::AbstractArray, Estimator::δMinskerNdaoud; kwargs...)

Reference: Robust and efficient mean estimation: an approach based on the properties of self-normalized sums

Statistics.meanMethod

mean(A::AbstractArray, Estimator::TrimmedMean)

The Trimmed Mean estimator. (p)

Statistics.meanMethod

mean(A::AbstractArray, Estimator::Z_Estimator)

A Z estimator given an influence function x->ψ(x) and a scaling parameter α.