MonteCarloMeasurements.jl: Nonlinear Propagation of Arbitrary Multivariate Distributions by means of Method Overloading

Fredrik Bagge Carlson
1/21/2020
cs.MSstat.COstat.OT

Official code: baggepinnen/MonteCarloMeasurements.jl (297 stars, Julia, MIT, last commit 2026-04-06).

Abstract

This manuscript outlines a software package that facilitates working with probability distributions by means of Monte-Carlo methods, in a way that allows for propagation of multivariate probability distributions through arbitrary functions. We provide a \emph{type} that represents probability distributions by an internal vector of unweighted samples, \texttt{Particles}, which is a subtype of a \texttt{Real} number and behaves just like a regular real number in calculations by means of method overloading.

Show full abstract

This makes the software easy to work with and presents minimal friction for the user. We highlight how this design facilitates optimal usage of SIMD instructions and showcase the package for uncertainty propagation through an off-the-shelf ODE solver, as well as for robust probabilistic optimization with automatic differentiation.

View on arXivView PDF

Code Implementations(1)

MIT

Propagation of distributions by Monte-Carlo sampling: Real number types with uncertainty represented by samples.

29718JuliaApr 9, 20197 months agoMIT
error-analysiserror-propagationgpu-accelerationgpu-computingmonte-carlo+10 more

Similar Papers

Cite this paper

@article{carlson2020montecarlomeasurementsjl,
  title  = {MonteCarloMeasurements.jl: Nonlinear Propagation of Arbitrary Multivariate Distributions by means of Method Overloading},
  author = {Fredrik Bagge Carlson},
  year   = {2020},
  eprint = {2001.07625},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.07625}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.07625.svg)](https://codeofpaper.com/paper/2001.07625)

Discussion