Skip to main content
binder

MultiCopula

What is MultiCopula?

It is a multivariate probabilistic modelling package, which uses copula theory.

How to install

The package can be installed via pip using:

pip install multicopula

Example:

Run the load base case as:

from multicopula import EllipticalCopula
import numpy as np

#%%
n_samples_ = 5000
covariance_ = np.array([[   1, -0.6,  0.7],
                        [-0.6,    1, -0.4],
                        [ 0.7,  -0.4,   1]])
mean_ = np.array([1, 3, 4])
data = np.random.multivariate_normal(mean_, covariance_, 5000).T

#%%
copula_model = EllipticalCopula(data)
copula_model.fit()

#%%
samples_ = copula_model.sample(10000)
covariance_samples = np.corrcoef(samples_)

More examples can be found in the examples folder (under development).

Reading and citations:

The mathematical formulation of the power flow can be found at:

“Conditional Multivariate Elliptical Copulas to Model Residential Load Profiles From Smart Meter Data,” E.M. (Mauricio) Salazar Duque, P.P. Vergara, P.H. Nguyen, A. van der Molen and J. G. Slootweg, in IEEE Transactions on Smart Grid, vol. 12, no. 5, pp. 4280-4294, Sept. 2021, doi: 10.1109/TSG.2021.3078394. link

How to contact us

Any questions, suggestions or collaborations contact Mauricio Salazar at <e.m.salazar.duque@tue.nl>

Release files for multicopula 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multicopula 0.0.2
File Size Uploaded
multicopula-0.0.2.tar.gz 30.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for multicopula 0.0.2
File Interpreter ABI Platform
multicopula-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 60.7 kB

Release files / multicopula-0.0.2.tar.gz

Download URL multicopula-0.0.2.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
546bd1de0be0b69250eed042a198e75b2e1e647a96f910804877872d0eda8882
BLAKE2b-256 checksum
How to use checksums
1400f81fec6f77a95929118dd787ea36df0e2999cc2a3b9f9069f801771c0b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / multicopula-0.0.2-py3-none-any.whl

Download URL multicopula-0.0.2-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ab7188307483f90b960df23876121240c8bef7e0cfa91d9ae3511ada87dc88d
BLAKE2b-256 checksum
How to use checksums
523240d67fed3f48da3fc80b620b6eea591271d98980ba4dfdecfffdfb3e84dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page