pdf vs. pmf #361
OAGr
started this conversation in
Squiggle Improvement Proposal
pdf vs. pmf
#361
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now we support pdf() on distributions. One problem is that discrete distributions instead use/require pmf; probability mass functions.
We could support two different functions, pdf() and pmf(). We might also want to support some third function, which returns both; like,
My guess is that this will be a bit confusing to users.
Beta Was this translation helpful? Give feedback.
All reactions