-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
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
Interface of KernelDensity.pdf is not consistent with Distributions.pdf #120
Comments
Yes, it is unfortunate that the package defines a As for |
I will look at this. Leaving it as it is would be asking for problems later, e.g. when more dimensional kde would be implemented. I'd strictly comply with the |
This is actually simpler than I thought. The
the same for I'd like to stress now I see no reasonable reason as why Adding matrix argument was done in pull request #102. Together this would make |
I've noticed
KernelDensity.pdf
cannot be used in the same way asDistributions.pdf
. I think this is very confusing for users and is a potential source of errors. In particular,pdf.(kde::UnivariateKDE, x::Vector)
andpdf(kde::BivariateKDE, M::Matrix)
do not work.I could try adding them if there is agreement it should be done.
The text was updated successfully, but these errors were encountered: