Message Boards Message Boards

0
|
4074 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

[Solved] Generate monotonic stochastic process

Hello all,

I am interested in generating a monotonic stochastic process in Mathematica, both decreasing or increasing, starting from a given initial value. It should be discrete in time and continuous in space.

I want to generate something similar to this:

Example

Any idea how can this be done using Mathematica?

Thank you in advance for any help!

2 Replies
Posted 3 years ago

Like this?

monoStochProc[init_, window_, n_] := NestList[RandomReal[{# window, #}] &, init, n]

ListLogPlot[monoStochProc[10^11, 0.7, 59], Joined -> True, Mesh -> All, Filling -> Axis, Frame -> True]

enter image description here

POSTED BY: Hans Milton

Thank you for your answer!

Yes, that is what I wanted. It didn't come to mind

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract