PaCAL : A Python Package for Arithmetic Computations with Random Variables
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 stati...
Saved in:
| Published in: | Journal of statistical software Vol. 57; no. 10; pp. 1 - 34 |
|---|---|
| Main Authors: | , |
| Format: | Journal Article |
| Language: | English |
| Published: |
Foundation for Open Access Statistics
2014
|
| ISSN: | 1548-7660, 1548-7660 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Abstract | 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 ?tting 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 scienti?c computations. |
|---|---|
| AbstractList | 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 ?tting 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 scienti?c computations. |
| Author | Jaroszewicz, Szymon n, Marcin Korzen |
| Author_xml | – sequence: 1 givenname: Marcin Korzen surname: n fullname: n, Marcin Korzen – sequence: 2 givenname: Szymon surname: Jaroszewicz fullname: Jaroszewicz, Szymon |
| BookMark | eNpNkEtPAjEUhRuDiYAu3fcPDN5Op1PqjhAfGBKJUbfNnT5gEKakHTX8ewcwxtW5OYvvnnwD0mtC4wi5ZjBi45LLm3VKoy8QclQzOCN9JopxJssSev_uCzJIaQ2QQ6FEnzwtcDqZ01s6oYt9uwoNXaD5wKWjPkQ6iXW72rq2NnQatrvPFts6NIl-dzV9wcaGLX3HWGO1cemSnHvcJHf1m0Pydn_3On3M5s8Ps-5JZnKh2owrZFh4XrGxlZ4BZwKFc5UvKm5zVzpwprJgrHSFkxakBINGoGJWFZUQfEhmJ64NuNa7WG8x7nXAWh-LEJcaYzd54zQoA7z0OVSeFypHVEpYIX2eWyWlO7CyE8vEkFJ0_o_HQB-l6k6qPkjVnVT-A0cvbNc |
| ContentType | Journal Article |
| DBID | AAYXX CITATION DOA |
| DOI | 10.18637/jss.v057.i10 |
| DatabaseName | CrossRef DOAJ Directory of Open Access Journals |
| DatabaseTitle | CrossRef |
| DatabaseTitleList | |
| Database_xml | – sequence: 1 dbid: DOA name: DOAJ Open Access Full Text url: https://www.doaj.org/ sourceTypes: Open Website |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Mathematics |
| EISSN | 1548-7660 |
| EndPage | 34 |
| ExternalDocumentID | oai_doaj_org_article_09c036f20bf3492aa995d57f22d977e5 10_18637_jss_v057_i10 |
| GroupedDBID | 29L 2WC 5GY 5VS AAFWJ AAKPC AAYXX ACGFO ACIPV ADBBV AENEX AFPKN ALMA_UNASSIGNED_HOLDINGS BCNDV C1A CITATION E3Z EBS EJD F5P GROUPED_DOAJ GX1 IPNFZ KQ8 M~E OK1 OVT P2P RIG RNS TR2 XSB |
| ID | FETCH-LOGICAL-c259t-39a1a4f3b18d7f10315a5eebf4b3d2e6e0ecbd0cd7e4e7d0770cac5a91d94b553 |
| IEDL.DBID | DOA |
| ISICitedReferencesCount | 10 |
| ISICitedReferencesURI | http://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=Summon&SrcAuth=ProQuest&DestLinkType=CitingArticles&DestApp=WOS_CPL&KeyUT=000341020300001&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D |
| ISSN | 1548-7660 |
| IngestDate | Fri Oct 03 12:51:37 EDT 2025 Sat Nov 29 04:37:59 EST 2025 |
| IsDoiOpenAccess | true |
| IsOpenAccess | true |
| IsPeerReviewed | true |
| IsScholarly | true |
| Issue | 10 |
| Language | English |
| LinkModel | DirectLink |
| MergedId | FETCHMERGED-LOGICAL-c259t-39a1a4f3b18d7f10315a5eebf4b3d2e6e0ecbd0cd7e4e7d0770cac5a91d94b553 |
| OpenAccessLink | https://doaj.org/article/09c036f20bf3492aa995d57f22d977e5 |
| PageCount | 34 |
| ParticipantIDs | doaj_primary_oai_doaj_org_article_09c036f20bf3492aa995d57f22d977e5 crossref_primary_10_18637_jss_v057_i10 |
| PublicationCentury | 2000 |
| PublicationDate | 2014-00-00 |
| PublicationDateYYYYMMDD | 2014-01-01 |
| PublicationDate_xml | – year: 2014 text: 2014-00-00 |
| PublicationDecade | 2010 |
| PublicationTitle | Journal of statistical software |
| PublicationYear | 2014 |
| Publisher | Foundation for Open Access Statistics |
| Publisher_xml | – name: Foundation for Open Access Statistics |
| SSID | ssj0020495 |
| Score | 2.1082282 |
| Snippet | In this paper we present PaCAL, a Python package for arithmetical computations on random variables. The package is capable of performing the four arithmetic... |
| SourceID | doaj crossref |
| SourceType | Open Website Index Database |
| StartPage | 1 |
| Title | PaCAL : A Python Package for Arithmetic Computations with Random Variables |
| URI | https://doaj.org/article/09c036f20bf3492aa995d57f22d977e5 |
| Volume | 57 |
| WOSCitedRecordID | wos000341020300001&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| journalDatabaseRights | – providerCode: PRVAON databaseName: DOAJ Open Access Full Text customDbUrl: eissn: 1548-7660 dateEnd: 99991231 omitProxy: false ssIdentifier: ssj0020495 issn: 1548-7660 databaseCode: DOA dateStart: 19960101 isFulltext: true titleUrlDefault: https://www.doaj.org/ providerName: Directory of Open Access Journals – providerCode: PRVHPJ databaseName: ROAD: Directory of Open Access Scholarly Resources customDbUrl: eissn: 1548-7660 dateEnd: 99991231 omitProxy: false ssIdentifier: ssj0020495 issn: 1548-7660 databaseCode: M~E dateStart: 19960101 isFulltext: true titleUrlDefault: https://road.issn.org providerName: ISSN International Centre |
| link | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV1LS8NAEF6keNCD-MQ3exBvaTfJbjbrrZYWhbYEUektbPaBVZpKEwte_O3OJmnpzYuXHEKyhG-yM99MMt8gdBNGWpKMas-3Wns0tMoTijIPghVXUkSxVZXO7JCPx_FkIpKNUV_un7BaHrgGrkOEAidrA5JZJ6QnpRBMM26DQAN1MZV6KeFilUw1qRbwXtYoasZRyDvvRdFeAjVpT12r7EYE2hDqryLKYB_tNVQQd-tHOEBbJj9Eu6O1jmpxhB4T2esO73AXJ9-uyR8nUn2AB8BANeHGafk2c02IuJ7NUBffsCut4ieZ6_kMv0Iq7JqjimP0Mug_9x68ZviBpyAjKb1QSF9SG2Z-rLmthjFIZkxmaRbqwESGGJVpojQ31HBNOCdKKiaFrwXNGAtPUCuf5-YUYdjGVkehdtUeGvngnYFGmYBIZt1XTnmGbleApJ-1xkXqcgOHXArIpQ65FJA7Q_cOrvVFTpq6OgEGSxuDpX8Z7Pw_FrlAO8BcaF0LuUStcvFlrtC2WpbTYnFdvQtwHP30fwHdx7rv |
| linkProvider | Directory of Open Access Journals |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=PaCAL+%3A+A+Python+Package+for+Arithmetic+Computations+with+Random+Variables&rft.jtitle=Journal+of+statistical+software&rft.au=n%2C+Marcin+Korzen&rft.au=Jaroszewicz%2C+Szymon&rft.date=2014&rft.issn=1548-7660&rft.eissn=1548-7660&rft.volume=57&rft.issue=10&rft_id=info:doi/10.18637%2Fjss.v057.i10&rft.externalDBID=n%2Fa&rft.externalDocID=10_18637_jss_v057_i10 |
| thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=1548-7660&client=summon |
| thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=1548-7660&client=summon |
| thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=1548-7660&client=summon |