Description Usage Arguments Details Value Author(s) References Examples
Simulation and plotting of:
1. k-dim (k ≥ 1; k ≤ 3 for plotting) general Brownian motion (i.e. Brownian motion with drift) or
its running maximum process (when k = 1);
2. 1-dim geometric Brownian motion.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x_init |
The k-dim initial value of the process to be generated. |
t_init |
The initial time of the process to be generated. |
t_end |
The end time of the process to be generated. |
lag |
The consistent time lag of every two contiguous points to be generated. |
dim |
The dimension of the process to be generated. |
mu |
See details. |
sigma |
See details. |
run_max |
|
type |
|
plot |
|
seed |
The random seed. The default value is 19038. |
... |
The parameters passed to |
General Brownian motion: Ut = x0 + μ·t + σ·Bt;
Running maximum process: Mt = maxt∈T{Bt};
Geometric Brownian motion: Vt = x0·exp{(μ - σ2/2)·t + σ·Bt}.
A list containing:
val |
The values of the generated process. |
fig |
The plot of the generated process ( |
Dong-Liang Wang
Pacati, C. (2010-11). Brownian Motion and Geometric Brownian Motion.
http://www-users.math.umn.edu/~grayx004/pdf/FM5002/BMandGBMdoc.pdf.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.