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

Basic statistics for Julia

Results 191 StatsBase.jl issues
Sort by recently updated
recently updated
newest added

It seems that `StatsAPI.fit` method can accept number of bins and calculate the edges internally according to the data. Yet it doesn't specify the algorithms used for that. I may...

In `statmodels.jl`, [L169](https://github.com/JuliaStats/StatsBase.jl/blob/master/src/statmodels.jl#L169), we have a variable `totwidth`, but this is unused in the function `show`.

https://github.com/JuliaStats/StatsBase.jl/blob/08d4b77a4b42ef8cadb67b98da65e7fbd9959e0b/src/moments.jl#L168-L177 Hey everyone! I am new to Julia, and was trying to use the function mean_and_std(). The documentation says that it can take a tuple as input but did not...

bug

https://github.com/JuliaStats/StatsBase.jl/blob/08d4b77a4b42ef8cadb67b98da65e7fbd9959e0b/src/sampling.jl#L499-L500 Perhaps add something like ```julia swv = sum(wv) isfinite(swv) || throw(DomainError(swv, "weights sum to $swv")) ```

Hey team, I'm getting a broken build for the latest release of 0.33.18 - can someone confirm if this is a general issue, or just me? ![image](https://user-images.githubusercontent.com/8016236/178261210-7587d591-df3c-4852-b8cf-7be4f330f93e.png) Reverting to an...

```julia t = [0., -0.] ct = countmap(t, [1 for e in t]) ``` will output: ```julia Dict{Float64, Int64} with 2 entries: 0.0 => 1 -0.0 => 1 ``` Changing...

This PR aims to fix the issue #459. It mostly replaces functions' input type signatures by the less restrictive ones. To produce test vectors for autocovariance and autocorrelation, I added...

Large tables tend to mess output by wrapping lines. See https://github.com/JuliaStats/MultivariateStats.jl/issues/186. This PR make `CoefTable` width adjustable by omitting columns that are not fit into the screen. ```julia julia> displaysize(stdout)...

Some inconsistency in zscore when all values are the same: ``` julia @show zscore(zeros(5) + log(1e-5))[1] # NaN @show zscore(zeros(8) + log(1e-5))[1] # -0.9354143466934853 @show zscore(zeros(10) + log(1e-5))[1] # -0.9486832980505138...

bug