Two-State Random Walk Distribution

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
In this one-dimensional walk, the walker either moves forward or backward (up or down, or through any two-state abstraction), but never stays still. For any possible walk of steps there are
possible paths. Each of these paths corresponds to a probability distribution on the states where the probability assigned to a state is the fraction of time that the path spends in that state. The left plot shows the path and the right plot shows the corresponding probability distribution.
Contributed by: John Cicilio (June 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
detailSectionParagraphPermanent Citation
"Two-State Random Walk Distribution"
http://demonstrations.wolfram.com/TwoStateRandomWalkDistribution/
Wolfram Demonstrations Project
Published: June 13 2011