Bayesian Joint Probability (BJP)
Table of Contents
Overview
BJP is a high-performance Python package (with Cython/C++ backend) for fitting multivariate normal distributions using Gibbs sampling, with support for left and right censoring. Typically, BJP is used for modelling with transformed variables using the norm-transform package. Therefore, it is designed for statistical modeling and forecasting in scenarios where data may be treated as partially observed (e.g. rainfall).
Features
- Fast Gibbs sampling for multivariate normal distributions
- Handles left and right censoring (if required)
- Generates ensemble predictions with posterior predictive sampling
- Cython/C++ backend for performance
Interactive Demonstration of BJP
You can explore an interactive demonstration of the normtransform tool here. This link opens a Jupyter Notebook hosted on the MyBinder platform. Once it loads, click Run-->Run All Cells to execute the code and see the demonstration in action.
Installation
A Python virtual environment is a self-contained directory that includes a specific Python version and any additional packages you install. It helps you isolate dependencies for different projects, ensuring that changes in one environment don’t affect others. This makes it easier to manage project-specific requirements and maintain a clean development setup.
Use the package manager pip to install bjpmodel.
python -m venv venv # Create a virtual environment
source venv/bin/activate # Activate the virtual enviroment, on Windows use `venv\Scripts\activate`
pip install bjpmodel #install bjpmodel
Once installed users can start with mimicking the demonstration found above within their own environment.
Contributing
Requests are welcome. Please contact the authors below.
License
Contact
- Andrew Schepen - andrew.schepen@csiro.au
- David Robertson - david.robertson@csiro.au
Metadata
Release files for bjpmodel 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 16.4 MB
Release files / bjpmodel-0.2.3-cp313-cp313-win_amd64.whl
| Download URL | bjpmodel-0.2.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 332.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
47cb5cfad55086ddef4b0ac7d2c00c6c30cf7feb3cd200b5a0b907ad5a7977a2
|
|
BLAKE2b-256 checksum How to use checksums |
27c0e0c796f3a433c23d31b2c1b0ceaca4b772194f475f6e166201b2e0692c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bjpmodel-0.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e4adfcec99c5e29dd739d3e2ee823d277b453994aa64f4d5900d891c4c87fca8
|
|
BLAKE2b-256 checksum How to use checksums |
b3854a3974d851e89ddf5cb963525ee0dc8352c8032000c675a55e8e0f4460d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp313-cp313-macosx_26_0_arm64.whl
| Download URL | bjpmodel-0.2.3-cp313-cp313-macosx_26_0_arm64.whl |
|---|---|
| Size | 357.2 kB |
| Tags | CPython 3.13 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
941d9754ff7c003485ba7e5033d7394bab69cf094a0ff7f03af695061bcaa4c0
|
|
BLAKE2b-256 checksum How to use checksums |
a49e9c9ac1ccf40065028bc6d5ba4f1a09487e9142248d46b2e3ae79fed04413
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp312-cp312-win_amd64.whl
| Download URL | bjpmodel-0.2.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 333.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ee594aec6970a8b17275a48824cd946a93e04038aea6a7b7928f89d6c801744b
|
|
BLAKE2b-256 checksum How to use checksums |
b322d2fd9e12c51b72b5b4d0e212a9a7ef6c8a8d5bdfb310cb0c6a688852c851
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bjpmodel-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c9557659c0ab4b39fb548e473f97e96f43d617e350ed6e2b50101786660ee477
|
|
BLAKE2b-256 checksum How to use checksums |
421e74c418544e9328286f3f6260e53609b6610cffa1bbe07364f1ac9dafb95a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp312-cp312-macosx_26_0_arm64.whl
| Download URL | bjpmodel-0.2.3-cp312-cp312-macosx_26_0_arm64.whl |
|---|---|
| Size | 357.9 kB |
| Tags | CPython 3.12 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e2609e9177c4cb9ea8147db10a485a52c38fb5ada07bb71a91851c37237e43b5
|
|
BLAKE2b-256 checksum How to use checksums |
3ca4170873482cc67697589ce9458564d81d1f3443b57c0a298136d372780c92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp311-cp311-win_amd64.whl
| Download URL | bjpmodel-0.2.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 333.0 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
92a8e329e50a78ab4ed5a4be79e74654b8d52d95a0eaef3148744576dd557bba
|
|
BLAKE2b-256 checksum How to use checksums |
3751f786ed019cd5bcd404bf91d2421ee9d87a8c952887ab34b5e14cd939da7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | bjpmodel-0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0e55424f71362d314b6e8d2af8c12e281c854cf3e26e7b98f3aea077b5e96dc2
|
|
BLAKE2b-256 checksum How to use checksums |
bff458ecba3b13d094fdbca8663fc7e2b5caea8a70e0568d3bf13ecf6d864f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / bjpmodel-0.2.3-cp311-cp311-macosx_26_0_arm64.whl
| Download URL | bjpmodel-0.2.3-cp311-cp311-macosx_26_0_arm64.whl |
|---|---|
| Size | 357.3 kB |
| Tags | CPython 3.11 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f1765c29c720cd7487dd4ce1991ccbe2f6ace46a33c22b8d6bceac12dbd7d29a
|
|
BLAKE2b-256 checksum How to use checksums |
ad42e789d41e9a64396b84e2aa6186c5589eecb1b560e25228fd15f7e293d99c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|