Here we provide links to free software which can be used in concert with ANISE.
Normally Distributed Random Numbers
A good free program called 'drnor.f' can be downloaded from the GAMS website at gams.nist.gov/serve.cgi/Module/NMS/DRNOR/11308/. Alternatively, 'gasdev.f' and 'ran2.f' are good programs available commercially from Numerical Recipes (www.nr.com).
Generating Colored Noise
Colored noise can be generated using ANISE as described in the documentation. For
many complex noises
with correlation functions
![]()
it is possible to represent the correlation function as a sum of exponentials

with positive coefficients
and decay rates
. It is then relatively
simple to generate the colored noise
from
where
obey
![]()
where
is a complex Wiener process satisfying
![\begin{eqnarray}\html{eqn0}
M[dW_t^{j*} dW_s^j]&=&\delta_{t,s}dt\nonumber \\
M[dW_t^j dW_s^j]&=&0.\nonumber
\end{eqnarray}](OP_img9.png)
Note that one must integrate from some large negative time until the first time of interest since
![]()
Usually the only difficulty is finding the parameters of the decomposition.
Here we provide a free least squares fortran program corrfit.f which generates a set of optimal parameters
when provided with the number m, data for
, and some bounds on the parameters.
If corrfit.f should fail to give converged parameters, another program 'harminv' may work better and it is also freely available at ab-initio.mit.edu/harminv/.
Fortran Code for Test Examples
Click above for codes for math and finance test examples. You will need the programs gasdev.f and ran2.f from Numerical Recipes (www.nr.com).
Click above for codes for math and finance test examples. You will need the programs gasdev.c and ran2.c from Numerical Recipes (www.nr.com).
Click above for a set of free stochastic differential equation integrators. We do not recommend that they be used for situations in which high accuracy solutions are required.
* Innovative Stochastic Algorithms *