dgp.ou | R Documentation |
It generates iid functional curve data following the Ornstein–Uhlenbeck process.
dgp.ou(J, N)
J |
The number of grid points in each curve observation. |
N |
The sample size. |
The Ornstein–Uhlenbeck process is given by:
x_i(t)=e^{-t/2}W_i(e^t)
, t \in [0,1]
,
where W_i(t)
is a standard Brownian Motion.
A (grid points) x (number of observations) matrix for iid sequences, where the finite realization of curves are stored in columns.
# Generate discrete evaluations of 100 iid curves
# that each curve is realized on 50 grid points.
yd_ou = dgp.ou(J = 50, N = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.