[R] 2d rndom walk
David Winsemius
dwinsemius at comcast.net
Wed Jun 29 15:32:11 CEST 2011
On Jun 29, 2011, at 6:01 AM, Komal wrote:
> Hi all,
>
> Can anyone please tell me how to calculate the expected distance
> covered in
> a 2d random walk. Please!
If the "2d random walk" is the binomial version you were looking at
in Jim Holtmans' function from Dec 2010 on a 2D lattice, would it be
trivially (and with zero variance) either t*2 or t*sqrt(2) depending
on whether you define the term "distance travelled" by the edges of
successive squares or by their diagonals?
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list