Monte Carlo simulation methods uses repeated random experiments to determine results.

learn more… | top users | synonyms

2
votes
1answer
16 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 ...
5
votes
1answer
125 views

How to do a Brownian Bridge with quasi-random numbers in the Heston model?

I'm required to use the Euler Monte Carlo method to compute the option price under Heston model settings. I know from some paper that the convergence is volatile for the Heston model with a plain ...
3
votes
1answer
35 views

How do you deal with Inflation lag in a MC simulation?

Consider the UK RPI index. This index is published every month around the 15th (give or take a few days). The publication refers to the RPI index of the month before, so there is a lag of a few weeks ...
4
votes
2answers
60 views

Importance Sampling - where to center the sampling distribution?

Consider a Monte Carlo (MC) approximation to a European call with BS parameters $r = 0.05, \sigma = 0.4, T = 10, S_0 = 50$ and $K = 95$. Consider the following results, each using 1M points: plain ...
2
votes
1answer
90 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
0answers
21 views

Initial values for Heston Model calibration

I'm doing a Heston model in Matlab using simple Monte Carlo simulations (5.000 paths and 2 steps per day, simulating 360 days). When I try to calibrate the Heston parameters using fminsearch it takes ...
3
votes
1answer
63 views

Simulate (imaginary) asset prices using random numbers that follow a Frank Copula

My goal is to make up some imaginary asset prices. I generated random numbers that follow a two-dimensional Frank Copula with student-t and normal margin, respectively. I do not understand how to ...
5
votes
3answers
196 views

Greeks: Why does my Monte Carlo give correct delta but incorrect gamma?

For a vanilla European call, my Monte Carlo method gives the right option price and delta but the wrong gamma. In particular, the value of gamma varies wildly each time I run the method. I estimate ...
0
votes
1answer
26 views

Compute cross-gamma

I am trying to use delta-gamma method with montecarlo simulations to calculate the VAR of a portfolio consisting in options and equities. To use the method I need to compute a gamma matrix, that has ...
1
vote
1answer
46 views

Best way to do multithread Monte-Carlo in QuantLib

QuantLib has great facilities for Monte-Carlo pricing engines, classes McSimulation and MonteCarloModel do a lot of work. But they do it in a single thread. What is best way to introduce parallel run ...
7
votes
1answer
162 views

Speeding up computations: when to use Quasi and standard Monte-Carlo in pricing

I am familiar with the theory of Monte-Carlo techniques in the numerical integration, and recently I have started my experiments with these methods applied to derivatives pricing. I am using ...
2
votes
1answer
88 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? ...
3
votes
0answers
36 views

How to price lookback american option when its payment is distributed during its life

I would like to price a floating strike american lookback with a particular feature: I don't want to charge upfront the client, rather I would like to insert a "running fee", some sort of a dividend. ...
4
votes
1answer
81 views

(Re) normalisation of random variable in Monte-Carlo simulations

I have a very simple model (CIR) with a very simple discretisation scheme (Euler) and I use it to do Monte-Carlo Simulations. It is working. Someone insisted that renormalization of my random ...
1
vote
1answer
88 views

Calculate CVaR for a portfolio

I would like to calculate the Conditional Value at Risk for a portfolio. To be honest, I'm trying for a few days to find an example to calculate for an entire portfolio, not just for one security and ...
1
vote
0answers
72 views

Monte Carlo simulation returns not normal distributed

I am generating 100,000 paths of SPX out to 1 year using Euler discretization. I look at how S is distributed for 100,000 paths at the 1 year point and I find it is lognormally distributed. I look at ...
1
vote
2answers
157 views

What does “convergence” in Monte Carlo simulation mean?

I have read about convergence in terms of MC simulation for derivative pricing, but I am not clear on what it exactly means. Let us suppose I price an option 100,000 paths twice and both result in the ...
3
votes
2answers
172 views

How to simulate a CIR process using GPU and Matlab

I am trying to simulate a CIR process using Matlab and my GPU for effeciency. At the moment i run into some implementation problems due to the recursive nature of the discretization. The sheme I ...
0
votes
1answer
62 views

Getting Parameter of Translated Gamma Distribution from Monte Carlo

Spin-off from here. (Edit) Main question: What do I do about a parameter whose suggested values range quite vastly? (Edit) Backstory: I am given data of loss values and the dates that correspond to ...
0
votes
1answer
32 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 ...
0
votes
1answer
128 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 ...
0
votes
2answers
206 views

How to price exotic options using Monte-Carlo?

I am actually trying to solve some exercise problem using Monte-Carlo and C++ for exotic options. Namely, the exotic options are geometric Asian options and discrete barrier option. It is claimed ...
3
votes
2answers
237 views

Practical implementation of Libor Market Model

I am trying to implement a project about the BGM model, suggested in the book "The Concepts and Practice of mathematical finance" by Mark Joshi. My question is related to the forward volatility ...
3
votes
1answer
171 views

Do you have a validation set for Libor Market Model implementation?

I'm trying to calibrate a Libor Market Model (LMM) in Matlab with my user-defined function, not their package. I already fitted the market volatilities using SABR but failed to simulate the ...
3
votes
0answers
261 views

Portfolio Optimization with Monte Carlo Simulation - How to do it with Excel?

If I have three asset classes and their historical weekly returns for five years, how can I construct a minimum variance portfolio and an efficient frontier plot with Excel? To do that do I have to ...
1
vote
1answer
76 views

Median value for geometric brownian motion simulation

I'm trying to simulate stock prices using GBM. I am using the following formula, and MATLAB function, to determine the stock prices: $\nu = \mu - \frac{\sigma^{2}}{2}$; $S = S0*\text{[ones(1,nsims); ...
0
votes
0answers
43 views

How to generate jump times in in Multilevel path simulation for jump-diffusion SDEs?

I am trying to generate jump times in in Multilevel path simulation for jump-diffusion SDEs using the following MATLAB code: I used following Algorithm in Yuan Xia paper: But I have not reached ...
6
votes
2answers
210 views

How to estimate the greeks with a Monte Carlo simulation?

I am simulating the path of three indices to price a 1 year basket option. All the indices are domestic, so there is no currency component. At each time step I am using the local volatility ...
1
vote
0answers
50 views

Price 3m libor autocap with LMM calibrated on 1y swaption data

I need to calculate a price of an autocap contract which is An autocap is similar to a cap, but at most γ ≤ β caplets can be exercised, and they have to be automatically exercised when in the ...
1
vote
2answers
123 views

Importance sampling for barrier option like pricing by Monte carlo

I would like to know some references regarding importance sampling algorithms for variance reduction of Monte Carlo barrier options pricing. Please could someone help me leaving some references? If ...
2
votes
1answer
110 views

Which quantitative tools are actually used for hedging energy price and volume risk?

I'm a finance professor and I am looking for someone with actual trading and risk management knowledge within the energy sector who can tell me about pricing and hedging energy (especially electricity ...
2
votes
0answers
174 views

Law of a geometric brownian motion first hitting time (formula dont match Monte Carlo Simulation)

I posted this question before on MSE I need to use it in a small step in the middle of a simulation and I think I'm not getting correct results to this probabilities and so for my all ...
3
votes
3answers
161 views

Convergence of GBM mean after simulation?

As a follow up of my previous question, I am now simulating the GBM step by step for $n$ steps. I am using the following implementation for the simulation: $$S_{t+1} = S_t \exp \left[ ...
3
votes
1answer
143 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: ...
0
votes
2answers
104 views

What would be a concise method to learn Monte Carlo methods?

Is there a concise way of learning the core Monte Carlo Methods from resources available online? This leads to my next question which is what are the core ideas to learn in Monte Carlo methods?
2
votes
0answers
76 views

Practitioner's criterion for MC pricing convergence

Let's say I have some Interest Rates (IR) pricing model which relies on Monte Carlo pricing and I'd like to benchmark its quality and find out optimal settings (time steps & iterations) per asset ...
2
votes
2answers
233 views

Valuation of barrier options in Jump diffusion model

I am trying to evaluate the value of a Barrier option using Monte carlo method. The stock follows a jump diffusion model. I am using the method described in Metwally and Atiya. The authors describe ...
3
votes
1answer
144 views

Fitting stochastic variance distributions to index return data

I want to calculate option prices based on a realistic distribution of the underlying. The underlying is a liquid index such as Eurostoxx50. I think of two aproaches, both of them incorporate ...
4
votes
4answers
364 views

How to deal with extreme cases in normal random numbers generation?

In order to generate normal random numbers, one usually generates random numbers following a uniform distribution $Z \sim \mathcal{U}(0,1)$ and then applies the reverse CDF function on them ...
0
votes
0answers
76 views

Correlating random numbers seems to skew the data

First off, apologies for the cross-post from mathematics, but I found this site later and think it would be a better fit for the question (besides, there has been no comments/answers on mathematics ...
0
votes
3answers
151 views

Divergence between binomial pricing and monte carlo simulation for vanilla european call?

I notice a divergence in my own code, but it's evident even in public code: http://www.thalesians.com/finance/index.php/Knowledge_Base/Finance/Option_Pricing_in_Python_and_Simple_English Pricing a ...
3
votes
2answers
2k 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 ...
3
votes
1answer
242 views

Monte Carlo for MultiFactor Ornstein Uhlenbeck

I'm following loosely the exposition given in "Monte Carlo Methods in Financial Engineering by Glasserman. For a multifactor OU process: $dX(t)=C(b-X(t))dt+DdW(t)$ Where C and D are d*d matrices ...
3
votes
2answers
451 views

When to use the real world drift and when the risk neutral one for a Monte-Carlo simulation?

Under what conditions should the drift be real world and when risk neutral when simulating Delta Hedging option pricing trading strategy any other? For 2. it should be risk neutral. For 1., it ...
2
votes
1answer
114 views

Is there an easily implementable alternative to lognormal growth (something with fatter tails)?

I have a toy model in Excel for the growth of a investment portfolio. I assume iid lognormal annual growth factors: =EXP(mu+sigma*NORM.S.INV(RAND())) where mu and ...
2
votes
0answers
144 views

How to price zero coupon bonds with the Monte Carlo method?

Im trying to calculate monthly ZCB bond prices with a fixed maturity T, over a period of months via Monte Carlo methods. Here is my attempt: For the first month, the price is $P_{t_0}(0,T) = ...
5
votes
3answers
496 views

Usage of Brownian Bridge?

I was recommended to read something about Brownian Bridge. Could someone familiar with BB give some recommendation? It was mentioned that BB benefits in 2 places BB could reduce the simulation ...
2
votes
1answer
346 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 ...
1
vote
2answers
92 views

Efficient numerical approaches for pricing American Options with multiple sources of noise

I am looking for efficient numerical approaches for pricing American options when two or more sources of noise are involved (the simplest case coming to mind would be the Heston Model) Eventhough I ...
7
votes
3answers
641 views

What are the merits of pseudo random numbers over quasi random numbers in monte-carlo simulation?

I understand that quasi-random numbers have much better convergence, but are there any reasons for me to use pseudo-random numbers instead?