Quantile Mechanics II: Changes of Variables in Monte Carlo methods and a GPU-Optimized Normal Quantile

William T. Shaw, Nick Brickman
Department of Mathematics King’s College, The Strand, London, WC2R 2LS, England
arXiv:0901.0638v4 [q-fin.CP] (26 Aug 2010)


   title={Quantile Mechanics II: Changes of Variables in Monte Carlo methods and a GPU-Optimized Normal Quantile},

   author={Shaw, W.T. and Brickman, N.},

   journal={Arxiv preprint arXiv:0901.0638},



Download Download (PDF)   View View   Source Source   



This article presents differential equations and solution methods for the functions of the form $A(z) = F^-1(G(z))$, where $F$ and $G$ are cumulative distribution functions. Such functions allow the direct recycling of Monte Carlo samples from one distribution into samples from another. The method may be developed analytically for certain special cases, and illuminate the idea that it is a more precise form of the traditional Cornish-Fisher expansion. In this manner the model risk of distributional risk may be assessed free of the Monte Carlo noise associated with resampling. The method may also be regarded as providing both analytical and numerical bases for doing more precise Cornish-Fisher transformations. Examples are given of equations for converting normal samples to Student t, and converting exponential to hyperbolic, variance gamma and normal. In the case of the normal distribution, the change of variables employed allows the sampling to take place to good accuracy based on a single rational approximation over a very wide range of the sample space. The avoidance of any branching statement is of use in optimal GPU computations, and we give example of branch-free normal quantiles that offer performance improvements in a GPU environment, while retaining the precision characteristics of well-known methods. Comparisons are made on Nvidia Quadro and GTX 285 and 480 GPU cards.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: