Deriving a probability density calculator (functional pearl)
Authors:
Open Access
- 4 September 2016
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 51 (9) , 47-59
Abstract
Given an expression that denotes a probability distribution, often we want a corresponding density function, to use in probabilistic inference. Fortunately, the task of finding a density has been automated. It turns out that we can derive a compositional procedure for finding a density, by equational reasoning about integrals, starting with the mathematical specification of what a density is. Moreover, the density found can be run as an estimation algorithm, as well as simplified as an exact formula to improve the estimate.Keywords
Funding Information
- National Science Foundation (CNS-0723054)
- Defense Advanced Research Projects Agency (FA8750-14-2-0007)
This publication has 19 references indexed in Scilit:
- Folding domain-specific languagesACM SIGPLAN Notices, 2014
- Deriving backtracking monad transformersACM SIGPLAN Notices, 2000
- A note on Metropolis-Hastings kernels for general state spacesThe Annals of Applied Probability, 1998
- Introduction to Monte Carlo Methods1998
- The design of a pretty-printing libraryLecture Notes in Computer Science, 1995
- Lambda-calculus schemataHigher-Order and Symbolic Computation, 1993
- BAYESIAN INFERENCE1988
- How to replace failure by a list of successes a method for exception handling, backtracking, and pattern matching in lazy functional languagesLecture Notes in Computer Science, 1985
- Tabulation Techniques for Recursive ProgramsACM Computing Surveys, 1980
- The Mechanical Evaluation of ExpressionsThe Computer Journal, 1964