July 8th, 2003, 11:45 pm
I'm looking for an efficient and/or advanced price path generator for Matlab for Monte Carlo simulations. Please share if you have something on the subject.What I am looking for isa) Variance reduction, increased efficiencyb) inputing a vol matrix (smile+vol term structure)c) ..... anything else which helps in Exotic modelingStarting the subject I'm sharing my three lines Monte Carlo for comment (and possible public embarrassment):A=randn([no_points,no_simulations]);B=(((rd - rf) - sigma^2 / 2) * dt + sigma * sqrt(dt) *A);C=exp(log(s0)+cumsum(B));% no_points = number of individual periods% no_simulations = Total number of simulations done% rd = domestic interest rate% rf = divident yield / foreign interest rate% Sigma = the volatility% dt = The duration between individual points, measured in years (e.g. month = 1/12)% s0 = initial spot price