We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are examples of situations where the density at a bound is returned as zero when it shouldn't be.
An example:
using KernelEstimator, Distributions, StatsPlots dist = Exponential(1) x = rand(dist, 1000); histogram(x, normalize=:pdf, alpha=0.2, label=false) xs = LinRange(0, maximum(x)+1, 399); den = kerneldensity(x, xeval=xs, kernel=gammakernel, lb=0.0, ub=Inf); plot!(xs, den, lw=2, colour=:red, label="kerneldensity") plot!(xs, pdf(dist, xs), color=:black, lw=2, label="true")
and all(den .> 0) results in false
all(den .> 0)
false
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are examples of situations where the density at a bound is returned as zero when it shouldn't be.
An example:
and
all(den .> 0)
results infalse
The text was updated successfully, but these errors were encountered: