Skip to content

algebraic.dist

Algebra over Probability Distributions

v1.0.0 · Mar 17, 2026 · GPL (>= 3)

Description

Provides an algebra over probability distributions enabling composition, sampling, and automatic simplification to closed forms. Supports normal, exponential, gamma, Weibull, chi-squared, uniform, beta, log-normal, Poisson, multivariate normal, empirical, and mixture distributions with algebraic operators (addition, subtraction, multiplication, division, power, exp, log, min, max) that automatically simplify when mathematical identities apply. Includes closed-form MVN conditioning (Schur complement), affine transformations, mixture marginals/conditionals (Bayes rule), and limiting distribution builders (CLT, LLN, delta method). Uses S3 classes for distributions and R6 for support objects.

Downloads

756

Last 30 days

4774th

1.5K

Last 90 days

1.7K

Last year

Trend: +132.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (4)

suggests

Dependency Network

Dependencies Reverse dependencies mvtnorm R6 algebraic.mle flexhaz likelihood.model maskedcauses algebraic.dist

Version History

updated 1.0.0 ← 0.9.1 diff Mar 18, 2026
new 0.9.1 Mar 10, 2026
updated 0.9.1 ← 0.1.0 diff Feb 26, 2026
new 0.1.0 Dec 16, 2025