Monte Carlo Simulation

Total Page:16

File Type:pdf, Size:1020Kb

Monte Carlo Simulation Lecture 4 Monte Carlo Simulation Lecture Notes by Jan Palczewski with additions by Andrzej Palczewski Computational Finance – p. 1 We know from Discrete Time Finance that one can compute a fair price for an option by taking an expectation rT EQ e− X Therefore, it is important to have algorithms to compute the expectation of a random variable with a given distribution. In general, we cannot do it precisely – there is only an ap- proximation on our disposal. In previous lectures we studied methods to generate inde- pendent realizations of a random variable. We can use this knowledge to generate a sample from a distribution of X. Main theoretical ingredients that allow to compute approxi- mations of expectation from a sample of a given distribution are provided by the Law of Large Numbers and the Central Limit Theorem. Computational Finance – p. 2 Let X1,X2,... be a sequence of independent identically dis- tributed random variables with expected value µ and vari- ance σ2. Define the sequence of averages X + X + + X Y = 1 2 · · · n , n = 1, 2,.... n n (Law of Large Numbers) Yn converges to µ almost surely as n . →∞ Let (X µ)+(X µ) + +(X µ) Z = 1 − 2 − · · · n − . n √n (Central Limit Theorem) The distribution of Zn converges to N(0,σ2). Computational Finance – p. 3 Assume we have a random variable X with unknown expec- tation and variance a = EX, b2 = VarX. We are interested in computing an approximation to a and possibly b. Suppose we are able to take independent samples of X using a pseudo-random number generator. We know from the strong law of large number, that the aver- age of a large number of samples can give a good approxi- mation to the expected value. Computational Finance – p. 4 Therefore, if we let X1,X2,...,XM denote a sample from a distribution of X, one might expect that M 1 a = X M M i Xi=1 is a good approximation to a. To estimate variance we use the following formula (notice that we divide by M 1 and not by M) − M (X a )2 b2 = i=1 i − M . M M 1 P − Computational Finance – p. 5 Assessment of the precision of estimation of a and b2 M By the central limit theorem we know that i=1 Xi behaves approximately like a (Ma,Mb2) distributed random vari- able. N P Therefore b2 a a is approximately (0, ). M − N M In other words b aM a Z, − ∼ √M where Z (0, 1). ∼N b Therefore aM converges to a with speed . O √M Computational Finance – p. 6 More quantitative 1.96b 1.96b P a aM a + = 0.95. − √M ≤ ≤ √M This is equivalent to 1.96b 1.96b P aM a aM + = 0.95. − √M ≤ ≤ √M Replacing the unknown b by the approximation bM we see that the unknown expected value a lies in the interval 1.96 bM 1.96 bM aM , aM + − √M √M approximately with probability 0.95. The interval above is called a 95 percent confidence inter- val. Computational Finance – p. 7 Confidence intervals explained If Z N(µ,σ2) then ∼ P(µ 1.96σ<Z<µ + 1.96σ) = 0.95 − because Φ(1.96) = 0.975 To construct a confidence interval with a confidence level α different from 0.95, we have to find a number A such that 1 α φ(A) = 1 − . − 2 Then the α-confidence interval P(µ Aσ<Z<µ + Aσ) = α. − Computational Finance – p. 8 The width of the confidence interval is a measure of the accuracy of our estimate. In 95% of cases the true value lies in the confidence interval. Beware! In 5% of cases it is outside the interval! The width of the confidence interval depends on two factors: Number of simulations M Variance of the variable X Computational Finance – p. 9 1.96 bM 1.96 bM aM , aM + − √M √M 1. The size of the confidence interval shrinks like the in- verse square root of the number of samples. This is one of the main disadvantages of Monte Carlo method. 2. The size of the confidence interval is directly propor- tional to the standard deviation of X. This indicates that Monte Carlo method works the better, the smaller the variance of X is. This leads to the idea of variance reduction, which we shall discuss later. Computational Finance – p. 10 Monte Carlo in a nutshell To compute a = EX we generate M independent samples for X and compute aM . In order to monitor the error we also approximate the vari- 2 ance by bM . 1.96 bM 1.96 bM aM , aM + − √M √M Important! People often use confidence intervals with other confidence levels, e.g. 99% or even 99.9%. Then instead of 1.96 we have a different number. Computational Finance – p. 11 Monte Carlo put into action We can now apply Monte Carlo simulation for the computa- tion of option prices. We consider a European-style option ψ(ST ) with the payoff function ψ depending on the terminal stock price. We assume that under a risk-neutral measure the stock price S at t 0 is given by t ≥ 1 S = S exp r σ2 t + σW . t 0 − 2 t Here Wt is a Brownian motion. Computational Finance – p. 12 We know that W √tZ with Z (0, 1). t ∼ ∼N We can therefore write the stock price at expiry T as 1 S = S exp r σ2 T + σ√T Z . T 0 − 2 We can compute a fair price for ψ(ST ) taking the discounted expectation rT (r 1 σ2)T +σ√T Z E e− ψ S0e − 2 h i This expectation can be computed via Monte Carlo method with the following algorithm Computational Finance – p. 13 ✬for i = 1 to M ✩ compute an (0, 1) sample ξ N i set S = S exp r 1σ2 T + σ√T ξ i 0 − 2 i set rT Vi = e− ψ(Si) end 1 M set aM = M i=1 Vi P ✫ ✪ The output aM provides an approximation of the option price. To assess the quality of our computation, we com- pute an approximation to the variance 1 b2 = (V a )2 M M 1 i − M − Xi to construct a confidence interval. Computational Finance – p. 14 Confidence intervals v. sample size Computational Finance – p. 15 Variance Reduction Techniques Antithetic Variates Control Variate Importance Sampling (not discussed here) Stratified Sampling (not discussed here) Computational Finance – p. 16 We have seen before that the size of the confidence interval is determined by the value of Var(X) , p √M where M is the sample size. We would like to find a method to decrease the width of the confidence interval by other means than increasing the sample size M. A simple idea is to replace X with a random variable Y which has the same expectation, but a lower variance. In this case we can compute the expectation of X via Monte Carlo method using Y instead of X. Since the variance of Y is lower than the variance of X the results are better. Computational Finance – p. 17 The question is how we can find such a random variable Y with a smaller variance that X and the same expectation. There are two main methods to find Y : a method of antithetic variates a method of control variates Computational Finance – p. 18 Antithetic Variates The idea is as follows. Next to X consider a random variable Z which has the same expectation and variance as X but is negative correlated with X, i.e. cov(X,Z) 0. ≤ Now take as Y the random variable X + Z Y = . 2 Obviously E(Y )= E(X). On the other hand X + Z X + Z Var(Y )= cov , 2 2 1 1 = Var(X) + 2 cov(X,Z) + Var(Z) Var(X). 4 ≤ 2 ≤0 =Var(X) | {z } | {z } With this we can reduce the variance by a factor of 2. Computational Finance – p. 19 On the way to find Z... In the extreme case, if we would know that E(X) = 0, we could just take Z = X. Then Y = 0 would give the right result, even deterministically.− The equality above would then trivially hold cov(X, X) = Var(X). − − But in general we don’t know the expectation. The expectation is what we want to compute, so this naive idea is not applicable. But it puts us on the right track! Computational Finance – p. 20 The following Lemma is a step further to identify a suitable candidate for Z and hence for Y . Lemma. Let X be an arbitrary random variable and f a monotonically increasing or monotonically decreasing func- tion, then cov(f(X),f( X)) 0. − ≤ Let us now consider the case of a random variable which is of the form f(U), where U is a standard normal distributed random variable, i.e. U (0, 1). ∼N The standard normal distribution is symmetric, and hence also U (0, 1). − ∼N It then follows obviously that f(U) f( U). ∼ − In particular they have the same expectation ! Computational Finance – p. 21 Therefore, in order to compute the expectation of X = f(U), we can take Z = f( U) and define − f(U) + f( U) Y = − . 2 If we now assume that the map f is monotonically increas- ing, then we conclude from the previous Lemma that cov f(U),f( U) 0 − ≤ and we finally obtain f(U) + f( U) E − = E(f(U)), 2 f(U) + f( U) 1 Var − < Var(f(U)).
Recommended publications
  • Kalman and Particle Filtering
    Abstract: The Kalman and Particle filters are algorithms that recursively update an estimate of the state and find the innovations driving a stochastic process given a sequence of observations. The Kalman filter accomplishes this goal by linear projections, while the Particle filter does so by a sequential Monte Carlo method. With the state estimates, we can forecast and smooth the stochastic process. With the innovations, we can estimate the parameters of the model. The article discusses how to set a dynamic model in a state-space form, derives the Kalman and Particle filters, and explains how to use them for estimation. Kalman and Particle Filtering The Kalman and Particle filters are algorithms that recursively update an estimate of the state and find the innovations driving a stochastic process given a sequence of observations. The Kalman filter accomplishes this goal by linear projections, while the Particle filter does so by a sequential Monte Carlo method. Since both filters start with a state-space representation of the stochastic processes of interest, section 1 presents the state-space form of a dynamic model. Then, section 2 intro- duces the Kalman filter and section 3 develops the Particle filter. For extended expositions of this material, see Doucet, de Freitas, and Gordon (2001), Durbin and Koopman (2001), and Ljungqvist and Sargent (2004). 1. The state-space representation of a dynamic model A large class of dynamic models can be represented by a state-space form: Xt+1 = ϕ (Xt,Wt+1; γ) (1) Yt = g (Xt,Vt; γ) . (2) This representation handles a stochastic process by finding three objects: a vector that l describes the position of the system (a state, Xt X R ) and two functions, one mapping ∈ ⊂ 1 the state today into the state tomorrow (the transition equation, (1)) and one mapping the state into observables, Yt (the measurement equation, (2)).
    [Show full text]
  • A Fourier-Wavelet Monte Carlo Method for Fractal Random Fields
    JOURNAL OF COMPUTATIONAL PHYSICS 132, 384±408 (1997) ARTICLE NO. CP965647 A Fourier±Wavelet Monte Carlo Method for Fractal Random Fields Frank W. Elliott Jr., David J. Horntrop, and Andrew J. Majda Courant Institute of Mathematical Sciences, 251 Mercer Street, New York, New York 10012 Received August 2, 1996; revised December 23, 1996 2 2H k[v(x) 2 v(y)] l 5 CHux 2 yu , (1.1) A new hierarchical method for the Monte Carlo simulation of random ®elds called the Fourier±wavelet method is developed and where 0 , H , 1 is the Hurst exponent and k?l denotes applied to isotropic Gaussian random ®elds with power law spectral the expected value. density functions. This technique is based upon the orthogonal Here we develop a new Monte Carlo method based upon decomposition of the Fourier stochastic integral representation of the ®eld using wavelets. The Meyer wavelet is used here because a wavelet expansion of the Fourier space representation of its rapid decay properties allow for a very compact representation the fractal random ®elds in (1.1). This method is capable of the ®eld. The Fourier±wavelet method is shown to be straightfor- of generating a velocity ®eld with the Kolmogoroff spec- ward to implement, given the nature of the necessary precomputa- trum (H 5 Ad in (1.1)) over many (10 to 15) decades of tions and the run-time calculations, and yields comparable results scaling behavior comparable to the physical space multi- with scaling behavior over as many decades as the physical space multiwavelet methods developed recently by two of the authors.
    [Show full text]
  • Approaching Mean-Variance Efficiency for Large Portfolios
    Approaching Mean-Variance Efficiency for Large Portfolios ∗ Mengmeng Ao† Yingying Li‡ Xinghua Zheng§ First Draft: October 6, 2014 This Draft: November 11, 2017 Abstract This paper studies the large dimensional Markowitz optimization problem. Given any risk constraint level, we introduce a new approach for estimating the optimal portfolio, which is developed through a novel unconstrained regression representation of the mean-variance optimization problem, combined with high-dimensional sparse regression methods. Our estimated portfolio, under a mild sparsity assumption, asymptotically achieves mean-variance efficiency and meanwhile effectively controls the risk. To the best of our knowledge, this is the first time that these two goals can be simultaneously achieved for large portfolios. The superior properties of our approach are demonstrated via comprehensive simulation and empirical studies. Keywords: Markowitz optimization; Large portfolio selection; Unconstrained regression, LASSO; Sharpe ratio ∗Research partially supported by the RGC grants GRF16305315, GRF 16502014 and GRF 16518716 of the HKSAR, and The Fundamental Research Funds for the Central Universities 20720171073. †Wang Yanan Institute for Studies in Economics & Department of Finance, School of Economics, Xiamen University, China. [email protected] ‡Hong Kong University of Science and Technology, HKSAR. [email protected] §Hong Kong University of Science and Technology, HKSAR. [email protected] 1 1 INTRODUCTION 1.1 Markowitz Optimization Enigma The groundbreaking mean-variance portfolio theory proposed by Markowitz (1952) contin- ues to play significant roles in research and practice. The optimal mean-variance portfolio has a simple explicit expression1 that only depends on two population characteristics, the mean and the covariance matrix of asset returns. Under the ideal situation when the underlying mean and covariance matrix are known, mean-variance investors can easily compute the optimal portfolio weights based on their preferred level of risk.
    [Show full text]
  • A Family of Skew-Normal Distributions for Modeling Proportions and Rates with Zeros/Ones Excess
    S S symmetry Article A Family of Skew-Normal Distributions for Modeling Proportions and Rates with Zeros/Ones Excess Guillermo Martínez-Flórez 1, Víctor Leiva 2,* , Emilio Gómez-Déniz 3 and Carolina Marchant 4 1 Departamento de Matemáticas y Estadística, Facultad de Ciencias Básicas, Universidad de Córdoba, Montería 14014, Colombia; [email protected] 2 Escuela de Ingeniería Industrial, Pontificia Universidad Católica de Valparaíso, 2362807 Valparaíso, Chile 3 Facultad de Economía, Empresa y Turismo, Universidad de Las Palmas de Gran Canaria and TIDES Institute, 35001 Canarias, Spain; [email protected] 4 Facultad de Ciencias Básicas, Universidad Católica del Maule, 3466706 Talca, Chile; [email protected] * Correspondence: [email protected] or [email protected] Received: 30 June 2020; Accepted: 19 August 2020; Published: 1 September 2020 Abstract: In this paper, we consider skew-normal distributions for constructing new a distribution which allows us to model proportions and rates with zero/one inflation as an alternative to the inflated beta distributions. The new distribution is a mixture between a Bernoulli distribution for explaining the zero/one excess and a censored skew-normal distribution for the continuous variable. The maximum likelihood method is used for parameter estimation. Observed and expected Fisher information matrices are derived to conduct likelihood-based inference in this new type skew-normal distribution. Given the flexibility of the new distributions, we are able to show, in real data scenarios, the good performance of our proposal. Keywords: beta distribution; centered skew-normal distribution; maximum-likelihood methods; Monte Carlo simulations; proportions; R software; rates; zero/one inflated data 1.
    [Show full text]
  • Random Processes
    Chapter 6 Random Processes Random Process • A random process is a time-varying function that assigns the outcome of a random experiment to each time instant: X(t). • For a fixed (sample path): a random process is a time varying function, e.g., a signal. – For fixed t: a random process is a random variable. • If one scans all possible outcomes of the underlying random experiment, we shall get an ensemble of signals. • Random Process can be continuous or discrete • Real random process also called stochastic process – Example: Noise source (Noise can often be modeled as a Gaussian random process. An Ensemble of Signals Remember: RV maps Events à Constants RP maps Events à f(t) RP: Discrete and Continuous The set of all possible sample functions {v(t, E i)} is called the ensemble and defines the random process v(t) that describes the noise source. Sample functions of a binary random process. RP Characterization • Random variables x 1 , x 2 , . , x n represent amplitudes of sample functions at t 5 t 1 , t 2 , . , t n . – A random process can, therefore, be viewed as a collection of an infinite number of random variables: RP Characterization – First Order • CDF • PDF • Mean • Mean-Square Statistics of a Random Process RP Characterization – Second Order • The first order does not provide sufficient information as to how rapidly the RP is changing as a function of timeà We use second order estimation RP Characterization – Second Order • The first order does not provide sufficient information as to how rapidly the RP is changing as a function
    [Show full text]
  • Fourier, Wavelet and Monte Carlo Methods in Computational Finance
    Fourier, Wavelet and Monte Carlo Methods in Computational Finance Kees Oosterlee1;2 1CWI, Amsterdam 2Delft University of Technology, the Netherlands AANMPDE-9-16, 7/7/2016 Kees Oosterlee (CWI, TU Delft) Comp. Finance AANMPDE-9-16 1 / 51 Joint work with Fang Fang, Marjon Ruijter, Luis Ortiz, Shashi Jain, Alvaro Leitao, Fei Cong, Qian Feng Agenda Derivatives pricing, Feynman-Kac Theorem Fourier methods Basics of COS method; Basics of SWIFT method; Options with early-exercise features COS method for Bermudan options Monte Carlo method BSDEs, BCOS method (very briefly) Kees Oosterlee (CWI, TU Delft) Comp. Finance AANMPDE-9-16 1 / 51 Agenda Derivatives pricing, Feynman-Kac Theorem Fourier methods Basics of COS method; Basics of SWIFT method; Options with early-exercise features COS method for Bermudan options Monte Carlo method BSDEs, BCOS method (very briefly) Joint work with Fang Fang, Marjon Ruijter, Luis Ortiz, Shashi Jain, Alvaro Leitao, Fei Cong, Qian Feng Kees Oosterlee (CWI, TU Delft) Comp. Finance AANMPDE-9-16 1 / 51 Feynman-Kac theorem: Z T v(t; x) = E g(s; Xs )ds + h(XT ) ; t where Xs is the solution to the FSDE dXs = µ(Xs )ds + σ(Xs )d!s ; Xt = x: Feynman-Kac Theorem The linear partial differential equation: @v(t; x) + Lv(t; x) + g(t; x) = 0; v(T ; x) = h(x); @t with operator 1 Lv(t; x) = µ(x)Dv(t; x) + σ2(x)D2v(t; x): 2 Kees Oosterlee (CWI, TU Delft) Comp. Finance AANMPDE-9-16 2 / 51 Feynman-Kac Theorem The linear partial differential equation: @v(t; x) + Lv(t; x) + g(t; x) = 0; v(T ; x) = h(x); @t with operator 1 Lv(t; x) = µ(x)Dv(t; x) + σ2(x)D2v(t; x): 2 Feynman-Kac theorem: Z T v(t; x) = E g(s; Xs )ds + h(XT ) ; t where Xs is the solution to the FSDE dXs = µ(Xs )ds + σ(Xs )d!s ; Xt = x: Kees Oosterlee (CWI, TU Delft) Comp.
    [Show full text]
  • Efficient Monte Carlo Methods for Estimating Failure Probabilities
    Reliability Engineering and System Safety 165 (2017) 376–394 Contents lists available at ScienceDirect Reliability Engineering and System Safety journal homepage: www.elsevier.com/locate/ress ffi E cient Monte Carlo methods for estimating failure probabilities MARK ⁎ Andres Albana, Hardik A. Darjia,b, Atsuki Imamurac, Marvin K. Nakayamac, a Mathematical Sciences Dept., New Jersey Institute of Technology, Newark, NJ 07102, USA b Mechanical Engineering Dept., New Jersey Institute of Technology, Newark, NJ 07102, USA c Computer Science Dept., New Jersey Institute of Technology, Newark, NJ 07102, USA ARTICLE INFO ABSTRACT Keywords: We develop efficient Monte Carlo methods for estimating the failure probability of a system. An example of the Probabilistic safety assessment problem comes from an approach for probabilistic safety assessment of nuclear power plants known as risk- Risk analysis informed safety-margin characterization, but it also arises in other contexts, e.g., structural reliability, Structural reliability catastrophe modeling, and finance. We estimate the failure probability using different combinations of Uncertainty simulation methodologies, including stratified sampling (SS), (replicated) Latin hypercube sampling (LHS), Monte Carlo and conditional Monte Carlo (CMC). We prove theorems establishing that the combination SS+LHS (resp., SS Variance reduction Confidence intervals +CMC+LHS) has smaller asymptotic variance than SS (resp., SS+LHS). We also devise asymptotically valid (as Nuclear regulation the overall sample size grows large) upper confidence bounds for the failure probability for the methods Risk-informed safety-margin characterization considered. The confidence bounds may be employed to perform an asymptotically valid probabilistic safety assessment. We present numerical results demonstrating that the combination SS+CMC+LHS can result in substantial variance reductions compared to stratified sampling alone.
    [Show full text]
  • “Mean”? a Review of Interpreting and Calculating Different Types of Means and Standard Deviations
    pharmaceutics Review What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations Marilyn N. Martinez 1,* and Mary J. Bartholomew 2 1 Office of New Animal Drug Evaluation, Center for Veterinary Medicine, US FDA, Rockville, MD 20855, USA 2 Office of Surveillance and Compliance, Center for Veterinary Medicine, US FDA, Rockville, MD 20855, USA; [email protected] * Correspondence: [email protected]; Tel.: +1-240-3-402-0635 Academic Editors: Arlene McDowell and Neal Davies Received: 17 January 2017; Accepted: 5 April 2017; Published: 13 April 2017 Abstract: Typically, investigations are conducted with the goal of generating inferences about a population (humans or animal). Since it is not feasible to evaluate the entire population, the study is conducted using a randomly selected subset of that population. With the goal of using the results generated from that sample to provide inferences about the true population, it is important to consider the properties of the population distribution and how well they are represented by the sample (the subset of values). Consistent with that study objective, it is necessary to identify and use the most appropriate set of summary statistics to describe the study results. Inherent in that choice is the need to identify the specific question being asked and the assumptions associated with the data analysis. The estimate of a “mean” value is an example of a summary statistic that is sometimes reported without adequate consideration as to its implications or the underlying assumptions associated with the data being evaluated. When ignoring these critical considerations, the method of calculating the variance may be inconsistent with the type of mean being reported.
    [Show full text]
  • Basic Statistics and Monte-Carlo Method -2
    Applied Statistical Mechanics Lecture Note - 10 Basic Statistics and Monte-Carlo Method -2 고려대학교 화공생명공학과 강정원 Table of Contents 1. General Monte Carlo Method 2. Variance Reduction Techniques 3. Metropolis Monte Carlo Simulation 1.1 Introduction Monte Carlo Method Any method that uses random numbers Random sampling the population Application • Science and engineering • Management and finance For given subject, various techniques and error analysis will be presented Subject : evaluation of definite integral b I = ρ(x)dx a 1.1 Introduction Monte Carlo method can be used to compute integral of any dimension d (d-fold integrals) Error comparison of d-fold integrals Simpson’s rule,… E ∝ N −1/ d − Monte Carlo method E ∝ N 1/ 2 purely statistical, not rely on the dimension ! Monte Carlo method WINS, when d >> 3 1.2 Hit-or-Miss Method Evaluation of a definite integral b I = ρ(x)dx a h X X X ≥ ρ X h (x) for any x X Probability that a random point reside inside X O the area O O I N' O O r = ≈ O O (b − a)h N a b N : Total number of points N’ : points that reside inside the region N' I ≈ (b − a)h N 1.2 Hit-or-Miss Method Start Set N : large integer N’ = 0 h X X X X X Choose a point x in [a,b] = − + X Loop x (b a)u1 a O N times O O y = hu O O Choose a point y in [0,h] 2 O O a b if [x,y] reside inside then N’ = N’+1 I = (b-a) h (N’/N) End 1.2 Hit-or-Miss Method Error Analysis of the Hit-or-Miss Method It is important to know how accurate the result of simulations are The rule of 3σ’s Identifying Random Variable N = 1 X X n N n=1 From
    [Show full text]
  • Monte Carlo Simulation by Marco Liu, Cqf
    OPTIMAL NUMBER OF TRIALS FOR MONTE CARLO SIMULATION BY MARCO LIU, CQF This article presents a way to estimate the number of trials required several hours. It would be beneficial to know what level of precision, for a desired confidence interval in the context of a Monte Carlo or confidence interval, we could achieve for a certain number of simulation. iterations in advance of running the program. Without the confidence interval, the time commitment for a trial-and-error process would Traditional valuation approaches such as Option Pricing Method be significant. In this article, we will present a simple method to (“OPM”) or Probability-Weighted Expected Return Method estimate the number of simulations needed for a desired level of (“PWERM”) may not be adequate in providing fair value estimation precision when running a Monte Carlo simulation. for financial instruments that require distribution assumptions on multiple input parameters. In such cases, a numerical method, Monte Carlo simulation for instance, is often used. The Monte Carlo 95% of simulation is a computerized algorithmic procedure that outputs a area wide range of values – typically unknown probability distribution – by simulating one or multiple input parameters via known probability distributions. Statistically, 95% of the area under a normal distribution curve is described as being plus or minus 1.96 standard This technique is often used to find fair value for financial deviations from the mean. For 90%, the z-statistic is 1.64. instruments for which probabilistic distributions are unknown. The simulation procedure is typically repeated multiple times and the average of the results is taken.
    [Show full text]
  • A Tutorial on Quantile Estimation Via Monte Carlo
    A Tutorial on Quantile Estimation via Monte Carlo Hui Dong and Marvin K. Nakayama Abstract Quantiles are frequently used to assess risk in a wide spectrum of applica- tion areas, such as finance, nuclear engineering, and service industries. This tutorial discusses Monte Carlo simulation methods for estimating a quantile, also known as a percentile or value-at-risk, where p of a distribution’s mass lies below its p-quantile. We describe a general approach that is often followed to construct quantile estimators, and show how it applies when employing naive Monte Carlo or variance-reduction techniques. We review some large-sample properties of quantile estimators. We also describe procedures for building a confidence interval for a quantile, which provides a measure of the sampling error. 1 Introduction Numerous application settings have adopted quantiles as a way of measuring risk. For a fixed constant 0 < p < 1, the p-quantile of a continuous random variable is a constant x such that p of the distribution’s mass lies below x. For example, the median is the 0:5-quantile. In finance, a quantile is called a value-at-risk, and risk managers commonly employ p-quantiles for p ≈ 1 (e.g., p = 0:99 or p = 0:999) to help determine capital levels needed to be able to cover future large losses with high probability; e.g., see [33]. Nuclear engineers use 0:95-quantiles in probabilistic safety assessments (PSAs) of nuclear power plants. PSAs are often performed with Monte Carlo, and the U.S. Nuclear Regulatory Commission (NRC) further requires that a PSA accounts for the Hui Dong Amazon.com Corporate LLC∗, Seattle, WA 98109, USA e-mail: [email protected] ∗This work is not related to Amazon, regardless of the affiliation.
    [Show full text]
  • Two-Dimensional Monte Carlo Filter for a Non-Gaussian Environment
    electronics Article Two-Dimensional Monte Carlo Filter for a Non-Gaussian Environment Xingzi Qiang 1 , Rui Xue 1,* and Yanbo Zhu 2 1 School of Electrical and Information Engineering, Beihang University, Beijing 100191, China; [email protected] 2 Aviation Data Communication Corporation, Beijing 100191, China; [email protected] * Correspondence: [email protected] Abstract: In a non-Gaussian environment, the accuracy of a Kalman filter might be reduced. In this paper, a two- dimensional Monte Carlo Filter is proposed to overcome the challenge of the non-Gaussian environment for filtering. The two-dimensional Monte Carlo (TMC) method is first proposed to improve the efficacy of the sampling. Then, the TMC filter (TMCF) algorithm is proposed to solve the non-Gaussian filter problem based on the TMC. In the TMCF, particles are deployed in the confidence interval uniformly in terms of the sampling interval, and their weights are calculated based on Bayesian inference. Then, the posterior distribution is described more accurately with less particles and their weights. Different from the PF, the TMCF completes the transfer of the distribution using a series of calculations of weights and uses particles to occupy the state space in the confidence interval. Numerical simulations demonstrated that, the accuracy of the TMCF approximates the Kalman filter (KF) (the error is about 10−6) in a two-dimensional linear/ Gaussian environment. In a two-dimensional linear/non-Gaussian system, the accuracy of the TMCF is improved by 0.01, and the computation time reduced to 0.067 s from 0.20 s, compared with the particle filter.
    [Show full text]