Skip to main content

Multivariate fractional Brownian motion

Project description

Multivariate fractional Brownian motion (mfBm)

This package provides implementation for the multivariate fractional Brownian motion and simple fractional brownian motion with the method described in [1].

Installation

The mfbm package is available on PyPI and can be install via pip with the following command:

pip install mfbm

Example usage

import numpy as np
from mfbm import MFBM

p = 5
H = np.linspace(0.6, 0.9, 5)
n = 100
T = 100

rho = 0.7 * np.ones((p, p))
np.fill_diagonal(rho, 1)

eta = np.ones_like(rho)
sigma = np.ones(len(H))

mfbm = MFBM(H, n, rho, eta, sigma)
ts = mfbm.sample(T)

mfbm

[1] Andrew T. A. Wood & Grace Chan (1994): Simulation of Stationary Gaussian Processes in [0, 1]^d , Journal of Computational and Graphical Statistics, 3:4, 409-432

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mfbm-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mfbm-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file mfbm-0.1.1.tar.gz.

File metadata

  • Download URL: mfbm-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for mfbm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0570909839e3262bc695423095d0ed950f3922f8f732da10a16b27cf7abea545
MD5 423dcf0cfeae3a8d2c8f913714a8b1d8
BLAKE2b-256 c177673551ec5d0e4a4c07777bfc973b9463e3a24cb028cfc72496eb09af854d

See more details on using hashes here.

File details

Details for the file mfbm-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mfbm-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for mfbm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f03cda6e606b2e00a4f51a916e9f4ea4825ed98084fbe94f0dc57105a942c2
MD5 5c91896233d448e7c33f2e0feec0c44c
BLAKE2b-256 bd18af4c73ae071c980618e75d94de999b880542d894839a2356f1fd98b52b29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page