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

The Statistics stdlib that ships with Julia.

Results 80 Statistics.jl issues
Sort by recently updated
recently updated
newest added

Propagate a NaN value from the input array, instead of creating a NaN anew. Fixes this error, for example: ```julia julia> using Statistics, Unitful julia> median([NaN*u"m"]) ERROR: DimensionError: m and...

People could build a julia without `SparseArrays.jl` by setting the flag `USE_GPL_LIBS=0`. xref: https://github.com/JuliaLang/julia/issues/53211

When reviewing https://github.com/JuliaStats/StatsBase.jl/pull/923, [I noticed](https://github.com/JuliaStats/StatsBase.jl/pull/923/files#r1545849745) that StatsBase uses a [custom `_cov` function](https://github.com/JuliaStats/StatsBase.jl/blob/60fb5cd400c31d75efd5cdb7e4edd5088d4b1229/src/pairwise.jl#L318-L319) internally to improve performance of `cov` calls in `pairwise` invocations when both arguments of `cov` are identical. My...

There has already been some discussion about the implementation of `mean` (and functions relying on it) so far, and there are still related issues open. This issue concerns the behavior...

Here are some `cor` corner cases that would be good to fix by 2.0 release of Julia: ``` julia> cor(Union{Float64, Missing}[missing]) # this is the expected result 1.0 julia> cor([missing])...

2.0

I am working on a PR to Missings.jl where I construct a subarray manually. See the PR [here](https://github.com/JuliaData/Missings.jl/pull/122) I've been trying to debug inference issues using the `mean` function. I...

Hello, It is a minor thing, but since it already exists, I thought it makes sense that `cquantile` would be defined for this case as well. To be specific, at...

The concept is to take a random sample to quickly find values that almost certainly (99% chance) bracket target value(s), then efficiently pass over the whole input, counting values that...

This is an alternative implementation to #86. Here following https://github.com/JuliaStats/Statistics.jl/pull/86#discussion_r704274221 I perform partial sorting incrementally. I make this a separate PR to allow an easy comparison of both. Either one...