Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Monte Carlo methods in finance
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Monte Carlo methods== ===Mathematically=== The [[fundamental theorem of arbitrage-free pricing]] states that the value of a derivative is equal to the discounted expected value of the derivative payoff where the [[expected value|expectation]] is taken under the [[risk-neutral measure]] <sup>[1]</sup>. An expectation is, in the language of [[pure mathematics]], simply an integral with respect to the measure. Monte Carlo methods are ideally suited to evaluating difficult integrals (see also [[Monte Carlo method]]). Thus if we suppose that our risk-neutral probability space is <math>\mathbb{P}</math> and that we have a derivative H that depends on a set of [[underlying instruments]] <math>S_1,...,S_n</math>. Then given a sample <math>\omega</math> from the probability space the value of the derivative is <math>H( S_1(\omega),S_2(\omega),\dots, S_n(\omega)) =: H(\omega) </math>. Today's value of the derivative is found by taking the expectation over all possible samples and discounting at the risk-free rate. I.e. the derivative has value: :<math> H_0 = {DF}_T \int_\omega H(\omega)\, d\mathbb{P}(\omega) </math> where <math>{DF}_T</math> is the [[discount factor]] corresponding to the risk-free rate to the final maturity date ''T'' years into the future. Now suppose the integral is hard to compute. We can approximate the integral by generating sample paths and then taking an average. Suppose we generate N samples then :<math> H_0 \approx {DF}_T \frac{1}{N} \sum_{\omega\in \text{sample set}} H(\omega)</math> which is much easier to compute. === Sample paths for standard models === In finance, underlying random variables (such as an underlying stock price) are usually assumed to follow a path that is a function of a [[Brownian motion]] <sup>2</sup>. For example, in the standard [[Black–Scholes model]], the stock price evolves as :<math> dS = \mu S \,dt + \sigma S \,dW_t. </math> To sample a path following this distribution from time 0 to T, we chop the time interval into M units of length <math>\delta t</math>, and approximate the Brownian motion over the interval <math>dt</math> by a single normal variable of mean 0 and variance <math>\delta t</math>. This leads to a sample path of :<math> S( k\delta t) = S(0) \exp\left( \sum_{i=1}^{k} \left[\left(\mu - \frac{\sigma^2}{2}\right)\delta t + \sigma\varepsilon_i\sqrt{\delta t}\right] \right)</math> for each ''k'' between 1 and ''M''. Here each <math>\varepsilon_i</math> is a draw from a standard normal distribution. Let us suppose that a derivative H pays the average value of ''S'' between 0 and ''T'' then a sample path <math>\omega</math> corresponds to a set <math>\{\varepsilon_1,\dots,\varepsilon_M\}</math> and :<math> H(\omega) = \frac1{M} \sum_{k=1}^{M} S( k \delta t).</math> We obtain the Monte-Carlo value of this derivative by generating ''N'' lots of ''M'' normal variables, creating ''N'' sample paths and so ''N'' values of ''H'', and then taking the average. Commonly the derivative will depend on two or more (possibly correlated) underlyings. The method here can be extended to generate sample paths of several variables, where the normal variables building up the sample paths are appropriately correlated. It follows from the [[central limit theorem]] that quadrupling the number of sample paths approximately halves the error in the simulated price (i.e. the error has order <math>\epsilon=\mathcal{O}\left(N^{-1/2}\right)</math> convergence in the sense of standard deviation of the solution). In practice Monte Carlo methods are used for European-style derivatives involving at least three variables (more direct methods involving numerical integration can usually be used for those problems with only one or two underlyings. ''See'' [[Monte Carlo option model]]. === Greeks === Estimates for the "[[Greeks (finance)|Greeks]]" of an option i.e. the (mathematical) derivatives of option value with respect to input parameters, can be obtained by numerical differentiation. This can be a time-consuming process (an entire Monte Carlo run must be performed for each "bump" or small change in input parameters). Further, taking numerical derivatives tends to emphasize the error (or noise) in the Monte Carlo value – making it necessary to simulate with a large number of sample paths. Practitioners regard these points as a key problem with using Monte Carlo methods. === Variance reduction === Square root convergence is slow, and so using the naive approach described above requires using a very large number of sample paths (1 million, say, for a typical problem) in order to obtain an accurate result. Remember that an estimator for the price of a derivative is a random variable, and in the framework of a risk-management activity, uncertainty on the price of a portfolio of derivatives and/or on its risks can lead to suboptimal risk-management decisions. This state of affairs can be mitigated by [[variance reduction]] techniques. ==== [[Antithetic variates|Antithetic paths]] ==== A simple technique is, for every sample path obtained, to take its antithetic path — that is given a path <math>\{\varepsilon_1,\dots,\varepsilon_M\}</math> to also take <math>\{-\varepsilon_1,\dots,-\varepsilon_M\}</math>. Since the variables <math>\varepsilon_i</math> and <math>-\varepsilon_i</math> form an antithetic pair, a large value of one is accompanied by a small value of the other. This suggests that an unusually large or small output computed from the first path may be balanced by the value computed from the antithetic path, resulting in a reduction in variance.<ref>{{Cite book|title = Monte Carlo methods in financial engineering|url = https://archive.org/details/montecarlomethod53glas|url-access = limited|last = Glasserman|first = P.|publisher = Springer.|year = 2004|location = New York|pages = [https://archive.org/details/montecarlomethod53glas/page/n213 205]| isbn=9780387004518 }}</ref> Not only does this reduce the number of normal samples to be taken to generate ''N'' paths, but also, under same conditions, such as negative correlation between two estimates, reduces the variance of the sample paths, improving the accuracy. ==== [[Control variates|Control variate method]] ==== It is also natural to use a [[control variate]]. Let us suppose that we wish to obtain the Monte Carlo value of a derivative ''H'', but know the value analytically of a similar derivative I. Then ''H''* = (Value of ''H'' according to Monte Carlo) + B*[(Value of ''I'' analytically) − (Value of ''I'' according to same Monte Carlo paths)] is a better estimate, where B is covar(H,I)/var(H). The intuition behind that technique, when applied to derivatives, is the following: note that the source of the variance of a derivative will be directly dependent on the risks (e.g. delta, vega) of this derivative. This is because any error on, say, the estimator for the forward value of an underlier, will generate a corresponding error depending on the delta of the derivative with respect to this forward value. The simplest example to demonstrate this consists in comparing the error when pricing an at-the-money call and an at-the-money straddle (i.e. call+put), which has a much lower delta. Therefore, a standard way of choosing the derivative ''I'' consists in choosing a [[replicating portfolio]]s of options for ''H''. In practice, one will price ''H'' without variance reduction, calculate deltas and vegas, and then use a combination of calls and puts that have the same deltas and vegas as control variate. ==== Importance sampling ==== [[Importance sampling#Application to simulation|Importance sampling]] consists of simulating the Monte Carlo paths using a different probability distribution (also known as a change of measure) that will give more likelihood for the simulated underlier to be located in the area where the derivative's payoff has the most convexity (for example, close to the strike in the case of a simple option). The simulated payoffs are then not simply averaged as in the case of a simple Monte Carlo, but are first multiplied by the likelihood ratio between the modified probability distribution and the original one (which is obtained by analytical formulas specific for the probability distribution). This will ensure that paths whose probability have been arbitrarily enhanced by the change of probability distribution are weighted with a low weight (this is how the variance gets reduced). This technique can be particularly useful when calculating risks on a derivative. When calculating the delta using a Monte Carlo method, the most straightforward way is the ''black-box'' technique consisting in doing a Monte Carlo on the original market data and another one on the changed market data, and calculate the risk by doing the difference. Instead, the importance sampling method consists in doing a Monte Carlo in an arbitrary reference market data (ideally one in which the variance is as low as possible), and calculate the prices using the weight-changing technique described above. This results in a risk that will be much more stable than the one obtained through the ''black-box'' approach. === Quasi-random (low-discrepancy) methods === {{main|Quasi-Monte Carlo methods in finance}} Instead of generating sample paths randomly, it is possible to systematically (and in fact completely deterministically, despite the "quasi-random" in the name) select points in a probability spaces so as to optimally "fill up" the space. The selection of points is a [[low-discrepancy sequence]] such as a [[Sobol sequence]]. Taking averages of derivative payoffs at points in a low-discrepancy sequence is often more efficient than taking averages of payoffs at random points.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)