Skip to content

Simulation of Stochastic processes

2 messages · Ravi Varadhan, Achim Zeileis

#
Hi:

I was wondering whether I can find some help for computer simulation of 
stochastic processes (e.g. Brownian motion), for 
pedagogicl/instructional purposes. Any help would be appreciated.

thanks,
Ravi.
#
On Tue, 15 Apr 2003, Ravi Varadhan wrote:

            
You could have a look at the function rwiener and rbridge in the package
e1071. To simulate a Brownian motion you could do

R> x <- rwiener()
R> plot(x)

hth,
Z