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:> 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.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> thanks, > Ravi. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.math.ethz.ch/mailman/listinfo/r-help >