Can any one help me with some R code to run Ornstein-Uhlenbeck process?
Tell me more
×
Quantitative Finance Stack Exchange is a question and answer site for
finance professionals and academics. It's 100% free, no registration required.
|
|
The code of Euler Maruyama simulation method is pretty simple (
|
||||
|
|
|
Take a look at the sde package; specifically the |
|||
|
|
|
You can also use the Sim.DiffProc package. Have a look at this document: See esp. chapter 2.1.2 There is even a Graphical User Interface (GUI) available for some functions: See chapter 4 in the above document for details. |
||||
|