Quantitative finance collector
C++ Matlab VBA/Excel Java Mathematica R/Splus Net Code Site Other
Aug 29

brownian bridge simulation

Posted by abiao at 11:17 | Code » Matlab | Comments(4) | Reads(44344)
Similar to the spectral path construction method, the Brownian bridge is a way to construct a discretised Wiener process path by using the first Gaussian variates in a vector draw z to shape the overall features of the path, and then add more and more of the fine structure. The very first variate z1 is used to determine the realisation of theWiener path at the final time tn of our n-point discretisation of the path by setting Wtn = sqrt(tn)z1. The next variate is then used to determine the value of the Wiener process as it was realised at an intermediate timestep tj conditional on the realisation at tn (and at t0 = 0 which is, of course, zero). The procedure is then repeated to gradually fill in all of the realisations of the Wiener process at all intermediate points, in an ever refining algorithm.

here is a simulation of Brownian paths, brownian-bridge type simulation.

hi, I am trying to obtain the matlab code for the brownian-bridge however I can not access to the relevant page. could you possibly provide it? thank you.
Guillermo, thanks for letting me know, I have uploaded a sample M file to generate brownian bridge path for reference, cheers.
Abiao, May I know whats the input rn in ur m file?
OR maybe u can add more detailed comments on ur codes so that it can be more helpful? Thanks so much.
rn is a [Npaths,Nsteps] matrix of normal random variables, the code was written 6 years ago, I cannot remember the very detail, sorry.
Pages: 1/1 First page 1 Final page
Add a comment
Enable HTML
Enable UBB
Enable Emots
Nickname   Password   Optional
Site URI   Email   [Register]