Statistics.jl icon indicating copy to clipboard operation
Statistics.jl copied to clipboard

Proposal for moving StatsBase weights framework to stdlib/Statistics

Open Nosferican opened this issue 6 years ago • 3 comments

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).

Nosferican avatar Nov 09 '18 09:11 Nosferican

For those not familiar with this code:

  • the weights types : http://juliastats.github.io/StatsBase.jl/latest/weights.html
  • the weighted mean, var and std using these: http://juliastats.github.io/StatsBase.jl/latest/scalarstats.html

nalimilan avatar Nov 09 '18 11:11 nalimilan

Just an update of the documentation URLs:

  • the weights types: https://juliastats.org/StatsBase.jl/stable/weights/
  • the weighted mean, var and std using these: https://juliastats.org/StatsBase.jl/stable/scalarstats/

tamasgal avatar Dec 12 '20 09:12 tamasgal

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.

nalimilan avatar Dec 19 '20 22:12 nalimilan