Re: [R] Simulation of Stochastic processes

About this list Date view Thread view Subject view Author view Attachment view

From: Achim Zeileis (zeileis@ci.tuwien.ac.at)
Date: Wed 16 Apr 2003 - 01:32:10 EST


Message-id: <Pine.LNX.3.96.1030415173035.28784B-100000@thorin.ci.tuwien.ac.at>

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@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:42 EST