piecewise_fractional_brownian_trajectory: Generate piecewise fractional Brownian motion with a random...

Description Usage Arguments Value

View source: R/generate_data.R

Description

This function generates a realization of a piecewise fractional Brownian motion with random noise. A piecewise fractional Brownian motion is defined by a non constant Hurst parameter along the sampling points. We observe the process at regularly spaced time t_i = \frac{i}{M_n}, where i = 0, …, M_n. We define a segmentation τ = (τ_k)_{k=0, …, K+1}, with 0 = τ_0 < τ_1 < … < τ_{K} < τ_{K+1} = 1. So, on the interval [τ_k, τ_{k+1}], for k = 0, …, K, the process is a fractional Brownian motion with Hurst parameter H_k.

Usage

1

Arguments

M

An integer, expected number of points in the trajectory. The number of points follows a Poisson distribution with mean M.

H

A vector of numeric, Hurst coefficients. 0 < H_k < 1

sigma

A vector of numeric, standard deviation of the noise to add to the piecewise fractional Brownian motion. Should have the length of H. It adds heteroscedastic noise to the data.

pdf

A function for the generation of the sampling points.

Value

A tibble containing the following elements:


StevenGolovkine/SmoothCurves documentation built on Nov. 14, 2021, 1:12 p.m.