Statistics
Index
Types
UncertaintyQuantification.BinnedData Type
julia
BinnedData(grid::AbstractVector{<:Real}, weights::AbstractVector{<:Real})Container for one dimensional binned data constructed from grid points and associated weights.
sourceFunctions
UncertaintyQuantification.linear_binning Function
julia
linear_binning(x::AbstractVector, nbins::Integer)Bin the data in x into nbins regular bins between minimum(x) and maximum(x) using linear binning.
In difference to regular binning, if a data point lies between two grid points, linear binning assigns weight to both points. The closer the grid point is to the data the more weight it is assigned. Note, that points with a weight of zero are discarded.
Returns a BinnedData object.
References
[11]
source