Monte Carlo simulation methods are a broad class of computational algorithms that rely on repeated random sampling to obtain numerical results.

learn more… | top users | synonyms

7
votes
2answers
5k views

Is there a step-by-step guide for calculating portfolio VaR using monte carlo simulations

I am trying to determine a step-by-step algorithm for calculating a portfolio's VaR using monte carlo simulations. It seems to me that the literature for this is extraordinarily opaque for something ...
7
votes
5answers
4k views

How to get greeks using Monte-Carlo for arbitrary option?

Let's assume I have an arbitrary option that I can price using Monte-Carlo simulation. What is the general approach (i.e. without relying on specific option type) to calculating the greeks in this ...
4
votes
2answers
469 views

Black-Scholes under stochastic interest rates

I'm trying to implement the Black-Scholes formula to price a call option under stochastic interest rates. Following the book of McLeish (2005), the formula is given by (assuming interest rates are ...
1
vote
1answer
294 views

Get distribution for aggregate loss using Monte Carlo

I am given two data sets containing dates and losses (in some currency). Given a distribution for the amount of losses and an (a,b,0) distribution for frequency of losses, how can I use Monte Carlo ...
18
votes
1answer
1k views

Portfolio optimization with monte carlo sampling from predictive distribution

Let's say we have a predictive distribution of expected returns for N assets. The distribution is not normal. We can interpret the dispersion in the distribution as reflection of our uncertainty (or ...
7
votes
4answers
427 views

Calculating VaR with Monte Carlo simulation

I would like some help here :) I have a problem calculating VaR with the Monte Carlo Simulation. I have followed then next steps, is this a right way to calculate VaR or I need something more? 1....
7
votes
1answer
388 views

How to reduce variance in a Cox-Ingersoll-Ross Monte Carlo simulation?

I am working out a numerical integral for option pricing in which I'm simulating an interest rate process using a Cox-Ingersoll-Ross process. Each step in my Monte Carlo generated path is a ...
10
votes
5answers
1k views

Monte carlo methods for vanilla european options and Ito's lemma.

I understand that by applying Ito's lemma to the following SDE $$dX=\mu\,X\,dt+\sigma\,X\,dW$$ one obtains a solution to the above SDE which is as follows: $${X}\left( t\right) =\mathrm{X}\left( 0\...
10
votes
2answers
422 views

Distribution of Geometric Brownian Motion

Please let me know where I have been mistaken! Let the SDE satisfied by the GBM $S(t)$ be $$ \frac{dS(t)}{S(t)} = \mu dt + \sigma dW(t). $$ Then, the underlying BM $X(t)$ will satisfy $$ dX(t) = \...
7
votes
2answers
2k views

Simulation of GBM

I have a question regarding the simulation of a GBM. I have found similar questions here but nothing which takes reference to my specific problem: Given a GBM of the form $dS(t) = \mu S(t) dt + \...
5
votes
1answer
716 views

How to apply quasi-Monte Carlo to path-dependent options?

Following up on my recent question on variance reduction in a Cox-Ingersoll-Ross Monte Carlo simulation, I would like to learn more about using a quasi-random sequence, such as Sobol or Niederreiter, ...
4
votes
2answers
424 views

How to compute greeks using the adjoint Monte Carlo approach?

Assume I have a stochastic ODE $$dS = a(S)dt + b(S)dW,$$ with Euler approximation $$\hat{S}_{n+1}=F_n(\hat{S}_n)=\hat{S}_n+a(\hat{S}_n)h+b(\hat{S}_n)Z_n\sqrt{h}.$$ This allows me to create sample ...
3
votes
2answers
135 views

Stopping Monte Carlo simulation once certain convergence level is reached

I'm creating a Monte Carlo simulation model which I use to price an European option with various pay-off conditions, hence I can't use Black Scholes. I want to stop the simulation once I am 95% sure ...
2
votes
2answers
86 views

Importance Sampling for pricing options with longstaff and schwartz

I have been asking this similar question before. However, I really want to be concrete and get and concrete explanation. I have been reading the paper by Moreni and try to implement the same ...
2
votes
1answer
471 views

American Swaption Pricing with Monte-Carlo method

I want to price an American swaption but I am not sure about what I am doing. Tree methods and PDE discretization seem difficult to adapt to a swaption. I am trying a Monte-Carlo approach. (in ...
6
votes
2answers
574 views

Vanilla European options: Monte carlo vs BS formula

I have implemented a monte carlo simulation for a plain vanilla European Option and I am trying to compare it to the analytical result obtained from the BS formula. Assuming my monte carlo pricer is ...
4
votes
1answer
372 views

Divergence issue with my monte carlo pricer…

I am trying to implement a vanilla European option pricer with Monte Carlo and compare its result to the BS analytical formula's result. I noticed that as I increase (from 1 million to 10 millions) ...
3
votes
1answer
152 views

What is wrong in this GBM simulation?

I am trying to generate a few samples of GBM using the following very simple MATLAB code: ...
1
vote
1answer
56 views

Compute moments of aggregate loss using Monte Carlo

Spin-off from here. Richard referred to me an article that tells me how to get parameters of a translated gamma distribution to which I should consider fitting simulated aggregated loss values. The ...
1
vote
1answer
304 views

How to use Halton sequence in monte carlo simulation

Does anybody know how to use the Halton pseudo random technique in monte carlo simulation. I'm able to generate the sequences and I know they are correct. I checked a couple of numbers from different ...