Skip to content

Instantly share code, notes, and snippets.

@avibryant
Last active June 26, 2020 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avibryant/1508861cb21920d27acd4463e6beb852 to your computer and use it in GitHub Desktop.
Save avibryant/1508861cb21920d27acd4463e6beb852 to your computer and use it in GitHub Desktop.
Positive.median(x)
#Exponential
Positive.mean(x)
Positive.countAndRate(n, x)
#LogNormal
Positive.meanAndStdDevOfLog(x,y)
#Normal
Unbounded.meanAndStdDev(x, y)
#Laplace
Unbounded.meanAndAbsErr(x, y)
#Cauchy
Unbounded.medianAndIQR(x, y)
#Uniform
Bounded(min, max)
#Beta
Bounded(min, max).meanAndStdDev(p, sd)
#Poisson
Count.rate(x)
#Geometric
Count.failures(p)
#Binomial
Count.successes(n, p)
#BetaBinomial
Count.successes(n, p, sd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment