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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.