Skip to content
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

Add validator for strict non negative distribution definition #115

Open
bruno-f-cruz opened this issue Oct 22, 2024 · 0 comments
Open

Add validator for strict non negative distribution definition #115

bruno-f-cruz opened this issue Oct 22, 2024 · 0 comments

Comments

@bruno-f-cruz
Copy link
Collaborator

This could be implemented at the level of the distributions module by adding a functional validator that takes a distributions.Distribution generic interface and check if the truncation parameters are consistent with a strictly positive distribution. This would add the annoyance of users having to define the truncation even if the distribution does not allow for negative values to be theoretically drawn, but it would at least protect against undefined domains (e.g. negative timespans)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant