aleatory.processes.BrownianExcursion#

class aleatory.processes.BrownianExcursion(T=1.0, rng=None)[source]#

Brownian Excursion#

../_images/brownian_excursion_drawn.png

Notes#

A Brownian excursion process, is a Wiener process (or Brownian motion) conditioned to be positive and to take the value 0 at time 1. Alternatively, it can be defined as a Brownian Bridge process conditioned to be positive.

Constructor, Methods, and Attributes#

__init__(T=1.0, rng=None)[source]#
Parameters:
  • T (float) – the right hand endpoint of the time interval \([0,T]\) for the process

  • rng (numpy.random.Generator) – a custom random number generator

Methods

__init__([T, rng])

param float T:

the right hand endpoint of the time interval \([0,T]\) for the process

draw(n, N[, envelope, title, suptitle])

Simulates and plots paths/trajectories from the instanced stochastic process.

estimate_covariances([times])

estimate_expectations()

estimate_quantiles(q)

estimate_stds()

estimate_variances()

get_marginal(t)

marginal_expectation([times])

marginal_stds([times])

marginal_variance(times)

plot(n, N[, T, title, suptitle])

Simulates and plots paths/trajectories from the instanced stochastic process.

plot_covariance([times, title])

plot_kernel([times, colormap, matrix_shape, ...])

plot_kernel3d([times, title])

plot_mean_variance(times, **fig_kw)

plot_paths_and_kernel(n, N[, T, title, ...])

Plots the paths of the process and the covariance kernel.

process_covariance([times])

process_expectation()

process_stds()

process_variance()

sample(n)

Generates a discrete time sample from a Brownian Motion instance.

sample_at(times)

Generates a sample from a Brownian motion at the specified times.

simulate(n, N[, T])

Simulate paths/trajectories from the instanced stochastic process.

Attributes

T

End time of the process.

drift

end

initial

rng

scale