Conversation

A RNG problem. I'm trying to uniformly sample paths on an SW --> NE grid, of size NS > EW, via random walk. So I generate a random number between 0 and 1 and go east if r < EW/(NS+EW)... but this seems to create a bias towards denser sampling of latter half of path
Image
3
8
Replying to
The walk is not truly random because as you progress, the area where you have degrees of freedom decreases. So there will always be more paths in the NE corner as the walk progresses unless you allow motions that can go W and S.
1
Show replies