Square-Root Process Path Simulation

This application simulates a single path of the square-root process $X_t$. This process is formulated as a stochastic differential equation of the form \[ dX_t = a(b - X_t)dt + \sigma\sqrt{X_t} dW_t\] where $X_t$ is the stochastic process at time $t$, parameters $a,b,\sigma$ are constants, and $dW_t$ is a Wiener process.

This application requires the following input data.

  1. starting $X_0$ and constants $a,b,\sigma$
  2. random seed, if left blank or the input is 0 the application assigns a positive integer to the random seed automatically.
  3. time length $T$ and number of time steps $n$ so that the step $\Delta t=T/n$ is used in the simulation.
  4. This simulation uses normally distributed random numbers which are generated using either inverse cumulative normal method or Box-Muller transformation method.

Square-Root Path Calculator