Random Walk Simulation
random-walk.fly.dev
random-walk.fly.dev
https://en.wikipedia.org/wiki/Random_walk#Applications
Well... I made one... https://unli.xyz/walk/
Doc: And in the future, we don't need horses. We have motorized carriages called automobiles.
Jeb: If everybody's got one of these auto-whatsits, does anybody walk or run anymore?
Doc: Of course we run. But for recreation. For fun.
Jeb: Run for fun? What the hell kind of fun is that?
To be fair this isn't really a _random walk_ but it is a random walkI've heard a hypothesis that an advantage of dubious fortune-telling techniques (entrails, tea leaves, etc.) for hunter-gatherer societies is that random choice of prey and direction each day keeps them from over-exploiting any given resource to extinction.
A weird flex Indian Rajas were said to have done is to release a horse and then follow it, offering to fight anyone they met upon the resulting (not so random) walk. https://en.wikipedia.org/wiki/Ashvamedha
I have read both ancient sword fighters and modern fencers advise to consciously plan an attack, but unconsciously trigger it: by letting noise from the environment decide the moment T=0, you're less likely to give your opponent any tells.
One might imagine that divination before battle would provide what the modern world calls a "mixed strategy" and could indeed by superior to pure strategies. (compare the SSBN; see also https://www.atlanticcouncil.org/in-depth-research-reports/is... )
On a more peaceful note, if you wish to choose between popular dinner spots, it may be best to make the selection at hazard: http://www.eecs.harvard.edu/~michaelm/postscripts/handbook20...
Can you remember from where you got that impression?
Edit: Plot of steps Timestamp: 34:49
https://ocw.mit.edu/courses/6-0002-introduction-to-computati...
Got a timestamp in that video that says differently?
* in the absence of (restoring) forces, it's unwise to rely on things staying where you left them, as that'd be betting against entropy. Lagniappe: https://www.youtube.com/watch?v=i6rVHr6OwjI
EDIT: even more apropos: https://www.youtube.com/watch?v=ObvxPSQNMGc
(if they do balance, your walk is not very random. https://en.wikipedia.org/wiki/Cyril_Burt#Scientific_miscondu... was caught faking data because his residuals were improbably small)
Exercise: how many strings of length N with the alphabet {R,L} are there where #R = #L?
Exercise: as above, but for #R = #L + k
See also Haldane, "The Faking of Genetical Results" pp8-10 in https://archim.org.uk/eureka/archive/Eureka-6.pdf
What you probably mean is that they are no longer independent.
I guess what I want to get at: a Galton board is easily understood by elementary school students (and probably constructible by those in the upper grades), and it doesn't take much time playing with one to notice that all the balls don't wind up with their paths balanced out, in the middle column.
(even the normal distribution is misleading, because centrality is a 1D phenomenon; given enough dimensions observing the exact average becomes exceedingly unlikely)
It does, in other words, not require a demon, only a restricted viewing angle.
> Page unintentionally left blank. —CS
Skämtar du med mig?
- The average distance from the origin increases as time goes on.
- But the average coordinate any given step ends up on is and remains the origin for the duration of the walk.
More weirdly, though I don't know if this is true in two dimensions (ah, a sibling comment states it only holds in one dimension -- thanks!)
- As time goes on, a single random walk will take longer and longer to return to the origin.
- But a single random walk still returns to the origin infinitely often!
Just mentioning in case you find it interesting. PDF copies are probably out there.
[1] https://www.amazon.co.uk/Random-Walks-Biology-Howard-Berg/dp...
reminds me of the pipes animation in old microsoft screensavers!