Brownian meander factor for the spatial axis must be square root of the scaling factor for the time axis. The process resulting from this snip-and-scale procedure is a Brownian meander. As the name suggests, it is a piece of Brownian motion that spends all its time away from its starting point formula_5. The transition density formula_12 of Brownian meander is described as follows: For formula_13 and formula_14, and writing we have and In particular, i.e. formula_19 has the Rayleigh distribution with parameter 1, the same distribution as formula_20, where formula_21 is an exponential random variable with parameter 1. Brownian meander In the
Geometric Brownian motion above: formula_27. import numpy as np import pandas as pd import matplotlib.pyplot as plt mu=1 n=50 dt=0.1 x0=100 x=pd.DataFrame() np.random.seed(1) for sigma in np.arange(0.8,2,0.2): x.columns=np.arange(0.8,2,0.2) plt.plot(x) plt.legend(x.columns) plt.xlabel('t') plt.ylabel('X') plt.title('Realizations of Geometric Brownian Motion with different variances\n mu=1') plt.show() GBM can be extended to the case where there are multiple correlated price paths. Each price path follows the underlying process where the Wiener processes are correlated such that formula_31 where formula_32. For the multivariate case, this implies that Geometric Brownian motion is used to model stock prices in the Black–Scholes model and is the most widely used model of stock