RandomFunction
One seeded sample path of a random process over a time grid.
RandomFunction(proc, [List, tmin, tmax])samples WienerProcess or PoissonProcess over equal steps from to (the fixed default step count, since this engine has no adaptive-resolution mechanism to match Wolfram's own).RandomFunction(proc, [List, tmin, tmax, dt])samples over steps of size from to (the final step may be short, landing exactly on ).Typed signatures
| Type | Package | Applies |
|---|---|---|
(any, list<real>) random -> any | statistics | always |
Details
- Returns a PLAIN LIST of
{t, x}pairs —List(List(t0, x0), List(t1, x1), ...)— NOT Wolfram'sTemporalDataobject (an opaque, richer carrier with its own interpolation/display machinery this engine does not have). A documented divergence, not an oversight. - Draws through the same seeded PRNG stream RandomVariate uses (
SeedRandomreseeds both together): Euler–Maruyama increments for a WienerProcess, and an independent draw per step for a PoissonProcess — both exact in distribution for their process, not merely approximate. - Reproducible for a fixed seed and grid, but NOT bit-identical to Wolfram's own generator — only the sampled distribution's shape is guaranteed to match, never the exact sequence of numbers (the same divergence RandomVariate documents).
Examples
Basic #
A seeded Poisson-process path — counts are nondecreasing nonnegative integers. Resets the shared PRNG stream back to the default seed afterward, same as this file's other examples.
live ↗InOut
Scope #
Same seed, same grid — the same path every time (not Wolfram's own generator, only the same shape guaranteed — see RandomVariate).
InOut
About
| Examples | 4 |
|---|
See also: WienerProcess, PoissonProcess, SliceDistribution, RandomVariate