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

Reintroduce pmf or equivalent #1483

Open
mschauer opened this issue Jan 17, 2022 · 1 comment
Open

Reintroduce pmf or equivalent #1483

mschauer opened this issue Jan 17, 2022 · 1 comment

Comments

@mschauer
Copy link
Member

With #1470 we introduce distributions D with type parameter Continuous which can have atoms, points a with P(X = a) > 0. There we settled for pdf(D, a) = P(X = a) giving the density with respect to a mixture measure with Dirac components at such points.

That creates the need to answer the question: what is P(X = a)? pdf doesn't tell, and cdf either and we need to know, not at last to compute P(X ≥ a) = 1 - P(X ≤ a) + P(X = a) One first step is to (re-) introduce pmf(D, a) defined to always giving P(X = a) both for Discrete and Continuous distributions.

@ParadaCarleton
Copy link
Contributor

I think we definitely need this; I'm trying to write up a package for queuing models and this is messing me up right now 😅

(Customers often have a wait time in line of exactly 0 if they arrive with nobody ahead of them.)

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

2 participants