Exponential tilting

From Wikipedia, the free encyclopedia

Template:Short description Exponential tilting (ET), exponential twisting, or exponential change of measure (ECM) is a distribution-shifting technique used in many parts of mathematics. The different exponential tiltings of a random variable X is known as the natural exponential family of X.

Exponential tilting is used in Monte Carlo estimation for rare-event simulation, and rejection and importance sampling in particular. In mathematical finance [1] Exponential tilting is also known as Esscher tilting (or the Esscher transform), and often combined with indirect Edgeworth approximation and is used in such contexts as insurance futures pricing.[2]

The earliest formalization of exponential tilting is often attributed to Frederik Esscher[3] with its use in importance sampling being attributed to David Siegmund.[4]

Definition

Let X be a real-valued random variable on a probability space (Ω,,P). Suppose that the moment-generating function

MX(θ)=E[eθX]

is finite for a given real parameter θ. Let

κ(θ)=logMX(θ)

be the cumulant-generating function (CGF). The exponentially tilted measure Pθ, restricted to events determined by X, is defined by

Pθ(XB)=Beθxκ(θ)PX(dx),

where PX is the law of X. Equivalently,

dPθdP=eθXκ(θ)

on the sigma algebra generated by X.

If X has density f, then the tilted density is

fθ(x)=eθxκ(θ)f(x).

Thus fθ(x) is proportional to eθxf(x), with the normalizing constant supplied by MX(θ).

For a random vector Xd and a vector parameter θd, the analogous definition is

Pθ(XB)=BeθTxκ(θ)PX(dx),

where

κ(θ)=logE[eθTX].

Example

The exponentially tilted measure in many cases has the same parametric form as that of X. One-dimensional examples include the normal distribution, the exponential distribution, the binomial distribution and the Poisson distribution.

For example, in the case of the normal distribution, N(μ,σ2) the tilted density fθ(x) is the N(μ+θσ2,σ2) density. The table below provides more examples of tilted densities.

Original distribution[5][6] θ-tilted distribution
Gamma(α,β) Gamma(α,βθ)
Binomial(n,p) Binomial(n,peθ1p+peθ)
Poisson(λ) Poisson(λeθ)
Exponential(λ) Exponential(λθ)
𝒩(μ,σ2) 𝒩(μ+θσ2,σ2)
𝒩(μ,Σ) 𝒩(μ+Σθ,Σ)
χ2(κ) Gamma(κ2,212θ)

Not every tilted law remains in the same familiar parametric family.[7] For example, if X has the Lomax (or Pareto type II) density

f(x)=α(1+x)α1,x>0,

then the tilted density is proportional to eθx(1+x)α1. It is normalizable for θ<0, but it is not generally another Lomax distribution.

In statistical mechanics, the energy of a system in equilibrium with a heat bath has the Boltzmann distribution: (EdE)eβEdE, where β is the inverse temperature. Exponential tilting then corresponds to changing the temperature: θ(EdE)e(βθ)EdE.

Similarly, the energy and particle number of a system in equilibrium with a heat and particle bath has the grand canonical distribution: ((N,E)(dN,dE))eβμNβEdNdE, where μ is the chemical potential. Exponential tilting then corresponds to changing both the temperature and the chemical potential.

Advantages

In many cases, the tilted distribution belongs to the same parametric family as the original. This is particularly true when the original density belongs to the exponential family of distributions. This simplifies random variable generation during Monte-Carlo simulations. Exponential tilting may still be useful if this is not the case, though normalization must be possible and additional sampling algorithms may be needed.

In addition, there exists a simple relationship between the original and tilted CGF,

κθ(η)=log(𝔼θ[eηX])=κ(θ+η)κ(θ).

We can see this by observing that

Fθ(x)=xexp{θyκ(θ)}f(y)dy.

Thus,

κθ(η)=logeηxdFθ(x)=logeηxeθxκ(θ)dF(x)=log𝔼[e(η+θ)Xκ(θ)]=log(eκ(η+θ)κ(θ))=κ(η+θ)κ(θ).

Clearly, this relationship allows for easy calculation of the CGF of the tilted distribution and thus the distributions moments. Moreover, it results in a simple form of the likelihood ratio. Specifically,

=ddθ=f(x)fθ(x)=eθx+κ(θ).

Properties

  • If κ(η)=logE[exp(ηX)] is the CGF of X, then the CGF of the θ-tilted X is
κθ(η)=κ(θ+η)κ(θ).
This means that the i-th cumulant of the tilted X is κ(i)(θ). In particular, the expectation of the tilted distribution is
Eθ[X]=ddηκθ(η)|η=0=κ(θ).
The variance of the tilted distribution is
Varθ[X]=d2dη2κθ(η)|η=0=κ(θ).
  • Repeated tilting is additive. That is, tilting first by θ1 and then θ2 is the same as tilting once by θ1+θ2.
  • If X is the sum of independent, but not necessarily identical random variables X1,X2,, then the θ-tilted distribution of X is the sum of X1,X2, each θ-tilted individually.
DKL(PPθ)=E[logPPθ]
between the tilted distribution Pθ and the original distribution P of X.
  • Similarly, since Eθ[X]=κ(θ), we have the Kullback-Leibler divergence as
DKL(PθP)=Eθ[logPθP]=θκ(θ)κ(θ).

Applications

Rare-event simulation

The exponential tilting of X, assuming it exists, supplies a family of distributions that can be used as proposal distributions for acceptance-rejection sampling or importance distributions for importance sampling. One common application is sampling from a distribution conditional on a sub-region of the domain, i.e. XXA. With an appropriate choice of θ, sampling from θ can meaningfully reduce the required amount of sampling or the variance of an estimator.

Saddlepoint approximation

The saddlepoint approximation method is a density approximation methodology often used for the distribution of sums and averages of independent, identically distributed random variables that employs Edgeworth series, but which generally performs better at extreme values. From the definition of the natural exponential family, it follows that

fθ(x¯)=f(x¯)exp{n(θx¯κ(θ))}.

Applying the Edgeworth expansion for fθ(x¯), we have

fθ(x¯)=ψ(z)(Var[X¯])1/2{1+ρ3(θ)h3(z)6+ρ4(θ)h4(z)24+},

where ψ(z) is the standard normal density of

z=x¯κx¯(θ)κx¯(θ),ρn(θ)=κ(n)(θ){κ(θ)n/2},

and hn are the Hermite polynomials.

When considering values of x¯ progressively farther from the center of the distribution, |z| and the hn(z) terms become unbounded. However, for each value of x¯, we can choose θ such that

κ(θ)=x¯.

This value of θ is referred to as the saddle-point, and the above expansion is always evaluated at the expectation of the tilted distribution. This choice of θ leads to the final representation of the approximation given by

f(x¯)(n2πκ(θ))1/2exp{n(κ(θ)θx¯)}.[8][9]

Rejection sampling

Using the tilted distribution θ as the proposal, the rejection sampling algorithm prescribes sampling from fθ(x) and accepting with probability

1cexp(θx+κ(θ)),

where

c=supxXddθ(x).

That is, a uniformly distributed random variable pUnif(0,1) is generated, and the sample from fθ(x) is accepted if

p1cexp(θx+κ(θ)).

Importance sampling

Applying the exponentially tilted distribution as the importance distribution yields the equation

𝔼(h(X))=𝔼θ[(X)h(X)],

where

(X)=ddθ

is the likelihood function. So, one samples from fθ to estimate the probability under the importance distribution (dX) and then multiplies it by the likelihood ratio. Moreover, we have the variance given by

Var(X)=𝔼[((X)h(X)2].

Example

Assume independent and identically distributed {Xi} such that κ(θ)<. In order to estimate (X1++Xn>c), we can employ importance sampling by taking

h(X)=𝕀(i=1nXi>c).

The constant c can be rewritten as na for some other constant a. Then,

(i=1nXi>na)=𝔼θa[exp{θai=1nXi+nκ(θa)}𝕀(i=1nXi>na)],

where θa denotes the θ defined by the saddle-point equation

κ(θa)=a.

Stochastic processes and Girsanov's theorem

For stochastic processes, the analogue of exponential tilting is a change of measure on path space. In the Brownian motion case, let (Wt)0tT be a standard Brownian motion. For constant θ,

ZT=exp{θWT12θ2T}

is an exponential martingale with expectation one. Defining a new measure Q by

dQdP=ZT

changes the stochastic drift of Brownian motion: under Q, the process

W~t=Wtθt

is a standard Brownian motion. Thus Wt has drift θt under the new measure.

More generally, Girsanov's theorem states that if λt is an adapted process satisfying suitable integrability conditions, then the stochastic exponential

ZT=exp{0TλtdWt120Tλt2dt}

can be used as a Radon–Nikodym derivative.[10][11] Under the measure Q defined by dQ/dP=ZT,

W~t=Wt0tλsds

is Brownian. If

dXt=btdt+σtdWt

under P, then under Q the same process may be written as

dXt=(bt+σtλt)dt+σtdW~t.

This is analogous to exponential tilting of a single random variable, but it acts on the distribution of an entire stochastic path rather than only on a fixed-time marginal.

Choice of tilting parameter

Siegmund's algorithm

Assume i.i.d. Xs with light tailed distribution and 𝔼[X]>0. In order to estimate ψ(c)=(τ(c)<) where τ(c)=inf{t:i=1tXi>c}, when c is large and hence ψ(c) small, the algorithm uses exponential tilting to derive the importance distribution. The algorithm is used in many aspects, such as sequential tests,[12] G/G/1 queue waiting times, and ψ is used as the probability of ultimate ruin in ruin theory. In this context, it is logical to ensure that θ(τ(c)<)=1. The criterion θ>θ0, where θ0 is s.t. κ(θ0)=0 achieves this. Siegmund's algorithm uses θ=θ, if it exists, where θ is defined in the following way: κ(θ)=0. It has been shown that θ is the only tilting parameter producing bounded relative error (limsupxVar𝕀A(x)A(x)2<).[13]

Black-box algorithms

We can only see the input and output of a black box, without knowing its structure. The algorithm is to use only minimal information on its structure. When we generate random numbers, the output may not be within the same common parametric class, such as normal or exponential distributions. An automated way may be used to perform ECM. Let X1,X2,be i.i.d. r.v.’s with distribution G; for simplicity we assume X0. Define 𝔉n=σ(X1,,Xn,U1,,Un), where U1,U2, are independent (0, 1) uniforms. A randomized stopping time for X1,X2, is then a stopping time w.r.t. the filtration {𝔉n}, Let further 𝔊 be a class of distributions G on [0,) with kG=0eθxG(dx)< and define Gθ by dGθdG(x)=eθxkG. We define a black-box algorithm for ECM for the given θ and the given class 𝔊of distributions as a pair of a randomized stopping time τ and an 𝔉τ measurable r.v. Z such that Z is distributed according to Gθ for any G𝔊. Formally, we write this as G(Z<x)=Gθ(x) for all x. In other words, the rules of the game are that the algorithm may use simulated values from G and additional uniforms to produce an r.v. from Gθ.[14]

See also

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content.H.U. Gerber & E.S.W. Shiu (1994). "Option pricing by Esscher transforms". Transactions of the Society of Actuaries. 46: 99–191.
  2. ^ Page Module:Citation/CS1/styles.css has no content.Cruz, Marcelo (2015). Fundamental Aspects of Operational Risk and Insurance Analytics. Wiley. pp. 784–796. ISBN 978-1-118-11839-9.
  3. ^ Page Module:Citation/CS1/styles.css has no content.Butler, Ronald (2007). Saddlepoint Approximations with Applications. Cambridge University Press. pp. 156. ISBN 9780521872508.
  4. ^ Page Module:Citation/CS1/styles.css has no content.Siegmund, D. (1976). "Importance Sampling in the Monte Carlo Study of Sequential Tests". The Annals of Statistics. 4 (4): 673–684. doi:10.1214/aos/1176343541.
  5. ^ Page Module:Citation/CS1/styles.css has no content.Asmussen Soren & Glynn Peter (2007). Stochastic Simulation. Springer. p. 130. ISBN 978-0-387-30679-7.
  6. ^ Page Module:Citation/CS1/styles.css has no content.Fuh, Cheng-Der; Teng, Huei-Wen; Wang, Ren-Her (2013). "Efficient Importance Sampling for Rare Event Simulation with Applications". arXiv:1302.0583. {{cite journal}}: Cite journal requires |journal= (help)
  7. ^ Asmussen, Soren & Glynn, Peter (2007). Stochastic Simulation. Springer. pp. 164–167. Template:ISBN
  8. ^ Page Module:Citation/CS1/styles.css has no content.Butler, Ronald (2007). Saddlepoint Approximations with Applications. Cambridge University Press. pp. 156–157. ISBN 9780521872508.
  9. ^ Page Module:Citation/CS1/styles.css has no content.Seeber, G.U.H. (1992). Advances in GLIM and Statistical Modelling. Springer. pp. 195–200. ISBN 978-0-387-97873-4.
  10. ^ Page Module:Citation/CS1/styles.css has no content.Asmussen Soren & Glynn Peter (2007). Stochastic Simulation. Springer. p. 407. ISBN 978-0-387-30679-7.
  11. ^ Page Module:Citation/CS1/styles.css has no content.Steele, J. Michael (2001). Stochastic Calculus and Financial Applications. Springer. pp. 213–229. ISBN 978-1-4419-2862-7.
  12. ^ Page Module:Citation/CS1/styles.css has no content.Siegmund, David (1985). Sequential Analysis. Springer-Verlag. ISBN 978-0387961347.
  13. ^ Page Module:Citation/CS1/styles.css has no content.Asmussen Soren & Glynn Peter, Peter (2007). Stochastic Simulation. Springer. pp. 164–167. ISBN 978-0-387-30679-7.
  14. ^ Asmussen, Soren & Glynn, Peter (2007). Stochastic Simulation. Springer. pp. 416–420. Template:ISBN