Statistics.jl
Statistics.jl copied to clipboard
Proposal for moving StatsBase weights framework to stdlib/Statistics
The proposal is to migrate the weights framework from StatsBase.jl to Statistics since it goes very tightly with that code. It would also allow the StatsModels pipeline to drop StatsBase in favor of StatsModels (statistical abstraction is being moved there).
For those not familiar with this code:
- the weights types : http://juliastats.github.io/StatsBase.jl/latest/weights.html
- the weighted
mean
,var
andstd
using these: http://juliastats.github.io/StatsBase.jl/latest/scalarstats.html
Just an update of the documentation URLs:
- the weights types: https://juliastats.org/StatsBase.jl/stable/weights/
- the weighted
mean
,var
andstd
using these: https://juliastats.org/StatsBase.jl/stable/scalarstats/
https://github.com/JuliaLang/julia/pull/31395 does most of the work but it's been blocked on design issues regarding the weighted sum, and more generally about whether a weights
keyword argument should be used vs. a weighted
object.