arrow
Return

PaCAL: A Python Package for Arithmetic Computations with Random Variables

delete2014-04-01
delete9
PRE
AI
DOI:delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
In this paper we present PaCAL, a Python package for arithmetical computations on random variables. The package is capable of performing the four arithmetic operations: addition, subtraction, multiplication and division, as well as computing many standard functions of random variables. Summary statistics, random number generation, plots, and histograms of the resulting distributions can easily be obtained and distribution parameter fitting is also available. The operations are performed numerically and their results interpolated allowing for arbitrary arithmetic operations on random variables following practically any probability distribution encountered in practice. The package is easy to use, as operations on random variables are performed just as they are on standard Python variables. Independence of random variables is, by default, assumed on each step but some computations on dependent random variables are also possible. We demonstrate on several examples that the results are very accurate, often close to machine precision. Practical applications include statistics, physical measurements or estimation of error distributions in scientific computations.
Keywords:
arithmetic on random variables
algebra of random variables
probabilistic computation
Python
Joint measurability of mappings induced by a fuzzy random variable
err2021-11-01
err4
PREAI
errAlonso de la Fuente, Miriam; Teran, Pedro
errShare
errSave
SymPy: symbolic computing in Python
err2017-01-02
err1.1K
errOAAI
errMeurer, Aaron; Smith, Christopher P.; Paprocki, Mateusz; Certik, Ondrej; Kirpichev, Sergey B.; Rocklin, Matthew; Kumar, AMiT; Ivanov, Sergiu; Moore, Jason K.; Singh, Sartaj; Rathnayake, Thilina; Vig, Sean; Granger, Brian E.; Muller, Richard P.; Bonazzi, Francesco; Gupta, Harsh; Vats, Shivam; Johansson, Fredrik; Pedregosa, Fabian; Curry, Matthew J.; Terrel, Andy R.; Roucka, Stepan; Saboo, Ashutosh; Fernando, Isuru; Kulal, Sumith; Cimrman, Robert; Scopatz, Anthony
errShare
errSave
Overview on the development of fuzzy random variables
err2006-10-01
err169
PREAI
errAngeles Gil, Maria; Lopez-Diaz, Miguel; Ralescu, Dan A.
errShare
errSave

Journal

Journal of Statistical Software cover
Journal of Statistical Software
IF:
8.1
Papers:
622
Citations:
5.7W

Organization

No organization information available
Cited Papers

Cited Papers

No cited papers available