# ANN: StatsKit, new meta-package for statistics

**URL:** <https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663>\
**Category:** Package Announcements\
**Tags:** announcement, statistics\
**Created:** [February 11, 2019, 2:34pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663 "2019-02-11T14:34:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [February 11, 2019, 2:34pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/1 "2019-02-11T14:34:35Z")

</div>

We hadn’t made an announcement until now, but a new meta-package called **[StatsKit](https://github.com/JuliaStats/StatsKit.jl/)** has been registered some time ago. This is just a convenience package which automatically installs and loads all the most common packages needed to work with statistics.

`using StatsKit` currently loads the [Statistics](https://docs.julialang.org/en/stable/stdlib/Statistics/) standard library module, and the following packages:

- [Bootstrap](https://github.com/juliangehring/Bootstrap.jl)
- [CategoricalArrays](https://github.com/JuliaData/CategoricalArrays.jl)
- [Clustering](https://github.com/JuliaStats/Clustering.jl)
- [CSV](https://github.com/JuliaData/CSV.jl)
- [DataFrames](https://github.com/JuliaData/DataFrames.jl)
- [Distances](https://github.com/JuliaStats/Distances.jl)
- [Distributions](https://github.com/JuliaStats/Distributions.jl)
- [GLM](https://github.com/JuliaStats/GLM.jl)
- [HypothesisTests](https://github.com/JuliaStats/HypothesisTests.jl)
- [KernelDensity](https://github.com/JuliaStats/KernelDensity.jl)
- [Loess](https://github.com/JuliaStats/Loess.jl)
- [MultivariateStats](https://github.com/JuliaStats/MultivariateStats.jl)
- [StatsBase](https://github.com/JuliaStats/StatsBase.jl)
- [TimeSeries](https://github.com/JuliaStats/TimeSeries.jl)

This package is intended for users of statistics packages. Packages themselves should continue to list individual packages in they dependencies rather than `StatsKit` as a whole.

---

<div class="post-metadata">

**Author:** ![juius](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@juius](https://discourse.julialang.org/u/juius)\
**Post date:** [February 11, 2019, 5:40pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/2 "2019-02-11T17:40:15Z")

</div>

Nice! Thank you.

Just one question that came to my mind after reading the package list: Is there any specific reason, why there’s [CSV.jl](https://github.com/JuliaData/CSV.jl) included instead of [CSVFiles.jl](https://github.com/queryverse/CSVFiles.jl)?

---

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [February 11, 2019, 6:09pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/3 "2019-02-11T18:09:48Z")

</div>

Can the name be changed to just `Statistics`? Might be easier for people just starting Julia.

---

<div class="post-metadata">

**Author:** ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Post date:** [February 11, 2019, 6:11pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/4 "2019-02-11T18:11:12Z")

</div>

> [@affans](#):
>
> Can the name be changed to just `Statistics` ?

This name is already taken by a module in stdlib.

---

<div class="post-metadata">

**Author:** ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Post date:** [February 11, 2019, 6:14pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/5 "2019-02-11T18:14:15Z")

</div>

Great work on StatsKit. Actually it would be very nice to have a blog for newcomers describing how to combine it with PackageCompiler to build them in into a system image - hopefully I will have some time in the future to write it up unless someone else does 😄 (@sdanisch made some great efforts with this recently). This would be a real killer, as it would start instantly - all past-R users would love it.

---

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [February 11, 2019, 6:26pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/6 "2019-02-11T18:26:35Z")

</div>

Since this package is so small, is it possible to just have this code in stdlib?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [February 11, 2019, 6:32pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/7 "2019-02-11T18:32:51Z")

</div>

I am not sure if you are joking — code used by this package rivals `Base` in complexity, or all of the standard libraries put together.

---

<div class="post-metadata">

**Author:** ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Post date:** [February 11, 2019, 7:50pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/8 "2019-02-11T19:50:41Z")

</div>

> [@Tamas\_Papp](#):
>
> code used by this package rivals `Base` in complexity

🙂 The timing of loading of StatsKit.jl in a clean session is:

```julia
julia> @time using StatsKit
 10.360681 seconds (22.37 M allocations: 1.157 GiB, 4.46% gc time)

```

vs. eg. StatsPlots.jl (which is known to be slow to load) on a clean session:

```julia
julia> @time using StatsPlots
  7.833295 seconds (16.74 M allocations: 910.977 MiB, 5.22% gc time)

```

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [February 11, 2019, 9:03pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/9 "2019-02-11T21:03:24Z")

</div>

> [@juius](#):
>
> Just one question that came to my mind after reading the package list: Is there any specific reason, why there’s [CSV.jl](https://github.com/JuliaData/CSV.jl) included instead of [CSVFiles.jl](https://github.com/queryverse/CSVFiles.jl)?

Yes, that’s because the design of CSV.jl is more powerful for the long term since it supports loading data on the fly via the Tables.jl streaming API. On the contrary, CSVFiles/TextParse loads the full dataset as vectors (even if it supports streaming from that).

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [February 12, 2019, 1:27pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/10 "2019-02-12T13:27:44Z")

</div>

I don’t see a unified documentation or examples of using these all together.

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [February 12, 2019, 4:23pm UTC](https://discourse.julialang.org/t/ann-statskit-new-meta-package-for-statistics/20663/11 "2019-02-12T16:23:08Z")

</div>

There’s no common documentation at this point. Unfortunately I’m not sure it’s possible to automatically merge all Documenter manuals from separate packages into a single reference. Of course we can still write general tutorials, but they won’t be specific to StatsKit.
