Tags: JuliaStats/Statistics.jl
Tags
[Diff since v1.11.0](v1.11.0...v1.11.1) **Merged pull requests:** - Make SparseArrays a weak dependency (#134) (@IanButterworth) - Recommend `mean((x, y))` rather than `middle((x, y))` (#147) (@nalimilan) - Revert "Prepare standalone package, step 2 (#128)" (#148) (@nalimilan) - Prevent overflow in `mean(::AbstractRange)` and relax type constraint. (#150) (@chunjiw) - Document MATLAB behavior in `quantile` docstring (#152) (@nalimilan) - Fix `quantile` with `Date` and `DateTime` (#153) (@nalimilan) - relax test for mapreduce_empty (#156) (@vtjnash) - Drop support for v1.9 in CI (#157) (@vtjnash) - CI: restore v1.9.4 to build matrix (#159) (@vtjnash) **Closed issues:** - The `quantile` function can return incorrect results for integer arrays (Int8, Int16, Int32) (#119)
Fix `cov` and `cor` in the presence of missing values (#94) `dot` currently throws when the input contains `missing`, which is breaking as they were previously accepted. Use `adjoint(y) * x` instead of `dot(y, x)`, as the former falls back to the latter for arrays of `Number`s but to `sum(uu*vv for (uu, vv) in zip(u, v))` for other types.
Add missing shape checks for the means argument to var[m] and std[m] (#… …32) We use `@inbounds`, but the shape of the `means` argument was never checked for the general `AbstractArray` method. With an incorrect shape, invalid results or crashes would happen. To avoid breaking existing code which was working, allow trailing singleton dimensions. Sync the `SparseMatrixCSV` method, which makes it less strict.