Egwald Statistics: Probability and Stochastic Processes
Elmer G. Wiens
Egwald's popular web pages are provided without cost to users.
Please show your support by joining Egwald Web Services as a Facebook Fan:
Follow Elmer Wiens on Twitter:
Distributions | Sampling Distributions | Sample Mean | Hypotheses Testing | Random Walk
A. Random Walk.
Let Xi, i = 1, 2, ...be independent random variables with:
P(Xi = +1) = p
P(Xi = -1) = 1 - p
representing the direction a particle moves at each step, i.
The position, Sn, of the particle after n steps is
Sn = a + X1 + .... + Xn,
where a is the starting position.
The program generates a new set of random walks each time this page is loaded.
Random Walks for varying values of p.
Click the refresh button on your browser to get a different set of random walks.